/* YOU-DRIVE Design System */

:root {
    --primary: #F5A623;
    --primary-dark: #E09000;
    --primary-light: #FFF8EC;
    --accent: #F5A623;
    --accent-dark: #D4890A;
    --accent-glow: rgba(245, 166, 35, 0.25);
    --dark: #1A1A1A;
    --dark-soft: #2D2D2D;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --success: #27CA40;
    --success-light: rgba(39, 202, 64, 0.15);
    --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #F0F2F5 100%);
    --gradient-accent: linear-gradient(135deg, #F5A623 0%, #FFB84D 100%);
    --gradient-accent-hover: linear-gradient(135deg, #E09000 0%, #F5A623 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 60px rgba(245, 166, 35, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--gray-600);
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-100);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 2rem;
    z-index: 999;
}

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

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-menu-links .submenu {
    padding-left: 1rem;
}

.mobile-menu-links .submenu a {
    font-size: 1rem;
    color: var(--gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
    background: var(--gradient-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-dark {
    background: var(--gray-900);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--primary-light);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--gray-900);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: var(--gray-400);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--gray-300) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(245, 166, 35, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-description + .hero-features {
    margin-top: -1.75rem;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-features li {
    position: relative;
    padding-left: 1.85rem;
    font-size: 1.15rem;
    color: var(--gray-700);
    font-weight: 500;
}

.hero-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary, #FF8A00);
    transform: translateY(-50%);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.hero-stat-value span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Apple-style Studio Display, slightly rotated in 3D */
.hero-visual {
    perspective: 1800px;
}

.studio-display {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotateY(-14deg) rotateX(4deg) rotate(-1deg);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.studio-display:hover {
    transform: rotateY(-6deg) rotateX(2deg) rotate(0deg);
}

/* aluminium outer frame */
.sd-frame {
    width: 100%;
    background: linear-gradient(160deg, #e8e8ea 0%, #c9c9cd 38%, #dadade 60%, #b4b4b9 100%);
    border-radius: 20px;
    padding: 12px;
    box-shadow:
        0 40px 80px -28px rgba(0, 0, 0, 0.5),
        0 10px 24px -12px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

/* black screen inset */
.sd-screen {
    position: relative;
    background: #050506;
    border-radius: 10px;
    padding: 9px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.sd-screen picture,
.sd-screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* subtle diagonal screen glare */
.sd-glare {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(115deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.05) 18%,
        transparent 42%);
    pointer-events: none;
}

/* slim aluminium stand */
.sd-stand {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateZ(-30px);
}

.sd-neck {
    width: 34%;
    height: 26px;
    background: linear-gradient(90deg, #a7a7ad 0%, #e2e2e6 45%, #cfcfd4 55%, #9a9aa0 100%);
    clip-path: polygon(34% 0, 66% 0, 78% 100%, 22% 100%);
}

.sd-foot {
    width: 46%;
    height: 11px;
    background: linear-gradient(180deg, #dadade 0%, #a9a9af 100%);
    border-radius: 4px 4px 7px 7px;
    box-shadow: 0 16px 26px -12px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .studio-display { transition: none; }
}

/* Video Player */
.video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--gray-900);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper.hero-video {
    aspect-ratio: 16/9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    border-radius: var(--radius-xl);
}

.video-wrapper .video-placeholder {
    position: absolute;
    inset: 0;
    min-height: auto;
    border-radius: 0;
}

.video-placeholder-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
}

.video-placeholder-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--accent-glow);
}

.video-placeholder-icon svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.video-placeholder-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Image Placeholder */
.image-placeholder {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 2rem;
    min-height: 200px;
}

/* Ecosystem Puzzle */
.ecosystem-puzzle {
    position: relative;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 3rem 0;
}

.puzzle-center {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

/* Connector: stem from Manager down to a distribution rail */
.puzzle-stem {
    width: 2px;
    height: 30px;
    margin: 0 auto;
    background: var(--primary);
    opacity: 0.55;
}

.puzzle-rail {
    height: 2px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(245, 166, 35, 0.55) 18%,
        rgba(245, 166, 35, 0.55) 82%,
        transparent 100%);
}

.puzzle-piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 140px;
}

.puzzle-piece:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}

.puzzle-piece-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.puzzle-piece h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.puzzle-piece p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.puzzle-manager {
    padding: 2rem 2.5rem;
    background: var(--gradient-hero);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.puzzle-manager .puzzle-piece-icon {
    font-size: 3rem;
}

.puzzle-manager h3 {
    font-size: 1.25rem;
}

.puzzle-manager p {
    color: var(--primary-dark);
    font-weight: 500;
}

.puzzle-orbit {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
    margin-top: 26px;
}

/* Each product branches up to the rail with a short tick */
.puzzle-orbit .puzzle-piece {
    position: relative;
}

.puzzle-orbit .puzzle-piece::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -26px;
    transform: translateX(-50%);
    width: 2px;
    height: 26px;
    background: var(--primary);
    opacity: 0.55;
}

.puzzle-orbit .puzzle-piece::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--white);
}

/* Ecosystem Addon */
.ecosystem-addon {
    max-width: 600px;
    margin: 0 auto;
}

.addon-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.addon-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.addon-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.addon-content {
    flex: 1;
}

.addon-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.addon-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.addon-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.addon-arrow {
    font-size: 1.5rem;
    color: var(--gray-400);
    transition: transform 0.3s ease, color 0.3s ease;
}

.addon-card:hover .addon-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card-hover);
}

.product-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
}

.product-card p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.product-card .btn {
    width: 100%;
}

/* Feature Showcase */
.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-showcase:last-child {
    margin-bottom: 0;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse > * {
    direction: ltr;
}

.feature-showcase-content {
    padding: 1rem 0;
}

.feature-showcase-label {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-showcase-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-showcase-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.feature-showcase-list {
    list-style: none;
}

.feature-showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.feature-showcase-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-showcase-media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-showcase-media img,
.feature-showcase-media video {
    width: 100%;
    height: auto;
    display: block;
}

.feature-showcase-media .image-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
    gap: 0.5rem;
}

.feature-showcase-media .video-placeholder {
    aspect-ratio: 16/9;
}

/* Feature Table */
.feature-table-section {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.feature-table-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-table-header h3 {
    margin-bottom: 0.5rem;
}

.feature-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-table-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.feature-table-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-dark);
    font-size: 0.75rem;
}

.feature-table-item span {
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* Video Section */
.video-section {
    text-align: center;
}

.video-section .video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Pricing */
.pricing-highlight {
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1), transparent 70%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.pricing-value {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.pricing-value span {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.pricing-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-feature span {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
}

.testimonial-quote {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.testimonial-name {
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.trust-badge-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 120px;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* App rating badge (value injected at build time from Google Play) */
.app-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto 2rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    text-decoration: none;
    transition: border-color var(--yd-duration-fast, 150ms) ease, background var(--yd-duration-fast, 150ms) ease;
}

.app-rating:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.app-rating-stars {
    color: var(--primary, #FF8A00);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    line-height: 1;
}

.app-rating-score {
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    line-height: 1;
}

.app-rating-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    background: var(--gray-900);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand .nav-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--gray-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-title {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--gray-300);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gray-900);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-900);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Page Hero (for subpages) */
.page-hero {
    padding: 10rem 2rem 4rem;
    background: var(--gradient-hero);
    position: relative;
}

.page-hero .hero-pattern {
    opacity: 0.3;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.page-hero-video {
    max-width: 900px;
    margin: 3rem auto 0;
}

.page-hero-video .video-wrapper {
    box-shadow: var(--shadow-xl);
}

.page-hero-video .video-placeholder {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border: 2px dashed var(--gray-300);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 500;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .hero-features {
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
        text-align: left;
    }

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

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

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

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

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

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

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .page-hero-video {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stat {
        text-align: center;
    }

    .section {
        padding: 4rem 1.5rem;
    }

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

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

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

    .trust-badges {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-highlight {
        padding: 2rem;
    }

    .feature-table-section {
        padding: 2rem 1.5rem;
    }

    /* Ecosystem Puzzle Mobile */
    .puzzle-orbit {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .puzzle-piece {
        padding: 1rem;
        min-width: auto;
    }

    .puzzle-piece-icon {
        font-size: 2rem;
    }

    .puzzle-piece h3 {
        font-size: 0.9rem;
    }

    .puzzle-connections {
        display: none;
    }

    .puzzle-stem,
    .puzzle-rail {
        display: none;
    }

    .puzzle-orbit {
        margin-top: 1.5rem;
    }

    .puzzle-orbit .puzzle-piece::before,
    .puzzle-orbit .puzzle-piece::after {
        display: none;
    }

    .addon-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .addon-arrow {
        display: none;
    }
}

/* Product Notice Tooltip (product pages temporarily disabled) */
.product-notice-tip {
    position: absolute;
    background: #1a1a18;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    max-width: 280px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
    font-size: 0.88rem;
    line-height: 1.4;
}
.product-notice-tip.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.product-notice-tip-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-notice-tip-body strong {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}
.product-notice-tip-body span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
}
.product-notice-tip-arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #1a1a18;
    transform: rotate(45deg);
}
.product-notice-tip[data-arrow="top"] .product-notice-tip-arrow {
    top: -5px;
    border-radius: 2px 0 0 0;
}
.product-notice-tip[data-arrow="bottom"] .product-notice-tip-arrow {
    bottom: -5px;
    border-radius: 0 0 2px 0;
}
