/* ===================================
   PanoraMA - Professional Website Styles
   Based on MaPAD template
   =================================== */

/* CSS Variables */
:root {
    /* Colors - PanoraMA purple/indigo theme */
    --color-primary: #6366F1;
    --color-primary-dark: #4F46E5;
    --color-primary-light: #818CF8;
    --color-secondary: #22D3EE;
    --color-accent: #F59E0B;

    --color-bg-dark: #0A0A0F;
    --color-bg-card: #12121A;
    --color-bg-elevated: #1A1A25;
    --color-bg-hover: #222230;

    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A0A0B0;
    --color-text-muted: #6B6B80;

    --color-border: #2A2A3A;
    --color-border-light: #3A3A4A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
    --gradient-hero: linear-gradient(180deg, #12121A 0%, #0A0A0F 100%);
    --gradient-card: linear-gradient(180deg, #1A1A25 0%, #12121A 100%);
    --gradient-text: linear-gradient(135deg, #6366F1 0%, #22D3EE 50%, #818CF8 100%);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-dark);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ===================================
   Header / Navigation
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.logo-text-white {
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-weight: 500;
    font-size: 18px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 4px;
    background: var(--color-bg-elevated);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}

.lang-switch button {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-switch button:hover {
    color: var(--color-text-primary);
}

.lang-switch button.active {
    background: var(--gradient-primary);
    color: white;
}

.lang-switch button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Ensure lang-switch is always clickable */
.nav-links .lang-switch {
    pointer-events: auto;
}

.nav-links .lang-switch button {
    pointer-events: auto;
}

/* Store Logo in Hero */
.hero-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 100px;
    margin-bottom: -80px;
}

.store-logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.store-logo-link:hover {
    transform: scale(1.02);
}

.store-logo {
    height: 765px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.footer-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

header .header-container > nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header .header-container > nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

header .header-container > nav a:hover {
    color: #FFFFFF;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: fixed;
    top: 55px;
    right: 1rem;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 220px;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

.mobile-menu .menu-section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu .menu-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
}

.mobile-menu .mobile-lang {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-border-light);
}

.btn-nav {
    padding: var(--space-sm) var(--space-md);
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
}

.btn-full {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at 20% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 320px;
    padding: 12px;
    background: linear-gradient(145deg, #2A2A3A 0%, #1A1A25 100%);
    border-radius: 40px;
    box-shadow: var(--shadow-xl), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1A1A25;
    border-radius: 0 0 20px 20px;
}

.phone-mockup img {
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

/* ===================================
   Features Section
   =================================== */
.features {
    background: var(--color-bg-card);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.feature-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.feature-large .feature-icon {
    grid-row: span 3;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.feature-list {
    margin-top: var(--space-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
    background: var(--color-bg-dark);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.screenshot-item {
    display: flex;
    flex-direction: column;
}

.screenshot-item.featured {
    grid-row: span 2;
}

.phone-mockup-small {
    position: relative;
    width: 100%;
    padding: 10px;
    background: linear-gradient(145deg, #2A2A3A 0%, #1A1A25 100%);
    border-radius: 32px;
    box-shadow: var(--shadow-xl), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.phone-mockup-small:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.phone-mockup-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #1A1A25;
    border-radius: 0 0 12px 12px;
}

.phone-mockup-small img {
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.screenshot-caption {
    padding: var(--space-lg) var(--space-sm);
}

.screenshot-caption h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.screenshot-caption p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ===================================
   Integration Section
   =================================== */
.integration {
    background: var(--color-bg-card);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.integration-text h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.integration-text > p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.integration-features {
    display: grid;
    gap: var(--space-md);
}

.int-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.int-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.int-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.int-feature h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.int-feature p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.console-mockup {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.console-mockup img {
    width: 100%;
}

.console-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    text-align: center;
}

.console-overlay span {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.osc-config {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-2xl);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

.osc-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.osc-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.osc-text > p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.osc-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.osc-steps li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.osc-steps li span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-sm);
    border-radius: 50%;
    flex-shrink: 0;
}

.osc-steps li span:last-child {
    flex: 1;
}

/* ===================================
   Gamepad Section
   =================================== */
.gamepad-section {
    background: var(--color-bg-dark);
}

.gamepad-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
    align-items: center;
}

.gamepad-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controller-mockup {
    max-width: 400px;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
}

.controller-mockup svg {
    width: 100%;
    height: auto;
}

.gamepad-features {
    display: grid;
    gap: var(--space-lg);
}

.gamepad-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.gamepad-feature:hover {
    border-color: var(--color-border-light);
    transform: translateX(8px);
}

.gamepad-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    font-size: 1.5rem;
}

.gamepad-feature-text h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.gamepad-feature-text p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===================================
   Use Cases Section
   =================================== */
.use-cases {
    background: var(--color-bg-dark);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.case-card {
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.case-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.case-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.case-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.case-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.case-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ===================================
   Specifications Section
   =================================== */
.specifications {
    background: var(--color-bg-card);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.spec-category {
    padding: var(--space-xl);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.spec-category h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.spec-category ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.spec-category li {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
}

.spec-category li span:first-child {
    color: var(--color-text-secondary);
}

.spec-category li span:last-child {
    font-weight: 500;
    color: var(--color-text-primary);
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    background: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing-header {
    margin-bottom: var(--space-2xl);
}

.pricing-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.price .currency {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-sm);
}

.price .amount {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
}

.price .period {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-sm);
}

.pricing-header > p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.pricing-features {
    margin-bottom: var(--space-2xl);
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-base);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    flex-shrink: 0;
}

.pricing .btn-primary {
    font-size: var(--font-size-lg);
    padding: var(--space-lg) var(--space-2xl);
}

.pricing .btn-primary svg {
    margin-right: var(--space-sm);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg-card);
    padding: var(--space-4xl) 0 var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-column h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-content {
        grid-template-columns: 1fr;
    }

    .osc-config {
        grid-template-columns: 1fr;
    }

    .gamepad-content {
        grid-template-columns: 1fr;
    }

    .gamepad-visual {
        order: -1;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .header-container {
        padding: 0 20px;
    }

    /* Hide desktop nav, show mobile menu button */
    header .header-container > nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    /* Mobile menu - hidden by default, shown when active */
    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: flex !important;
    }

    .store-logo {
        height: 510px;
    }

    .hero-logo-container {
        padding-top: 80px;
        margin-bottom: -60px;
    }

    .hero {
        padding-top: calc(60px + var(--space-2xl));
    }

    /* Screenshots centering */
    .screenshots-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .screenshot-item {
        max-width: 300px;
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .feature-large .feature-icon {
        grid-row: auto;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .screenshots-gallery {
        grid-template-columns: 1fr;
    }

    .gamepad-feature {
        padding: var(--space-md);
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 600px) {
    .store-logo {
        height: 425px;
    }

    .hero-logo-container {
        padding-top: 70px;
        margin-bottom: -50px;
    }
}

@media (max-width: 480px) {
    .store-logo {
        height: 340px;
    }

    .hero-logo-container {
        padding-top: 60px;
        margin-bottom: -40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .phone-mockup {
        width: 100%;
        max-width: 280px;
    }

    .pricing-card {
        padding: var(--space-xl);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .screenshot-item {
        max-width: 260px;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image {
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

/* Scroll animations */
.feature-card,
.screenshot-item,
.case-card,
.spec-category,
.gamepad-feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.visible,
.screenshot-item.visible,
.case-card.visible,
.spec-category.visible,
.gamepad-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.gamepad-feature.visible:hover {
    transform: translateX(8px);
}

