/* ==========================================================================
   Telugu Direct - Google AI (ai.google) Design System
   Minimalist Deep Dark Palette • Google-Tier Typography • Pill Aesthetics • Ultra-Smooth
   ========================================================================== */

:root {
    --bg-page: #08090C;
    --bg-surface: #0E1017;
    --bg-card: #131722;
    --bg-card-hover: #1A1F2E;
    --bg-pill: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.22);
    
    /* Google & Gemini Brand Palette */
    --google-blue: #1A73E8;
    --google-blue-bright: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    
    --gemini-gradient: linear-gradient(135deg, #4285F4 0%, #9B72CB 50%, #D96570 100%);
    --gemini-sparkle: linear-gradient(135deg, #1A73E8, #8AB4F8);
    
    --text-primary: #FFFFFF;
    --text-secondary: #9AA0A6;
    --text-tertiary: #5F6368;
    
    --radius-full: 9999px;
    --radius-card: 28px;
    --radius-sm: 12px;
    --radius-md: 18px;
    
    --easing-google: cubic-bezier(0.2, 0, 0, 1);
    --font-sans: "Google Sans Flex", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
    color: var(--text-primary);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ==========================================================================
   1. Google AI-Style Header Navigation
   ========================================================================== */
header.ai-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s var(--easing-google);
}

.ai-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.ai-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.ai-brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.ai-brand-img {
    display: inline-block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(66, 133, 244, 0.4));
    transition: transform 0.25s var(--easing-google);
}

.ai-brand:hover .ai-brand-img {
    transform: scale(1.08) translateY(-1px);
}

.btn-icon-emblem {
    display: inline-block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
}

.ai-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ai-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s var(--easing-google);
}

.ai-nav-link:hover {
    color: var(--text-primary);
}

/* White Pill Button (ai.google hallmark) */
.btn-pill-white {
    background: #FFFFFF;
    color: #08090C;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--easing-google);
}

.btn-pill-white:hover {
    background: #E8EAED;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.btn-pill-outlined {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all 0.25s var(--easing-google);
}

.btn-pill-outlined:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   2. Google AI Hero Section: "Explore ✦ Telugu Direct"
   ========================================================================== */
.ai-hero-section {
    position: relative;
    padding: 95px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-canvas-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 740px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, black 45%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, black 45%, transparent 100%);
}

#heroNebulaCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ai-hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-super-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 0 60px rgba(8, 9, 12, 0.9);
}

.hero-logo-emblem {
    width: clamp(44px, 6.5vw, 72px);
    height: clamp(44px, 6.5vw, 72px);
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    filter: drop-shadow(0 0 25px rgba(66, 133, 244, 0.7));
    animation: gentlePulse 4s infinite alternate ease-in-out;
}

@keyframes gentlePulse {
    0% { transform: scale(0.96) rotate(-2deg); opacity: 0.92; }
    100% { transform: scale(1.05) rotate(2deg); opacity: 1; filter: drop-shadow(0 0 30px rgba(66, 133, 244, 0.85)); }
}

.hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--text-secondary);
    max-width: 820px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.5;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}

.hero-cta-group .btn-pill-white {
    padding: 14px 32px;
    font-size: 16px;
}

.hero-cta-group .btn-pill-outlined {
    padding: 14px 30px;
    font-size: 16px;
}

/* ==========================================================================
   3. Top Horizontal Capability Showcase (Google AI Infinite Motion Marquee)
   ========================================================================== */
.capability-carousel-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 15px 0 35px;
    margin-bottom: 95px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    cursor: grab;
    user-select: none;
}

.capability-carousel-wrap:active {
    cursor: grabbing;
}

.capability-cards-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    user-select: none;
}

.capability-pill-card {
    background: radial-gradient(circle at top right, rgba(66, 133, 244, 0.12), #11141D 70%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    width: 290px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--easing-google);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.capability-pill-card:hover {
    background: radial-gradient(circle at top right, rgba(66, 133, 244, 0.22), #171C2B 70%);
    border-color: rgba(66, 133, 244, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(66, 133, 244, 0.18);
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.card-tag-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.tag-blue { background: rgba(66, 133, 244, 0.15); color: var(--google-blue-bright); }
.tag-green { background: rgba(52, 168, 83, 0.15); color: var(--google-green); }
.tag-purple { background: rgba(155, 114, 203, 0.15); color: #C084FC; }
.tag-orange { background: rgba(242, 153, 0, 0.15); color: var(--google-yellow); }

.capability-card-title {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 8px 0;
}

/* Micro Motion Graphics inside Capability Cards */
.card-motion-micro {
    display: flex;
    align-items: center;
    gap: 4px;
}

.micro-type-cursor {
    width: 2px;
    height: 14px;
    background: var(--google-blue-bright);
    box-shadow: 0 0 8px var(--google-blue-bright);
    animation: blinkCursor 0.9s infinite;
}

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

.micro-hz {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}
.hz-wave {
    width: 3px;
    background: var(--google-green);
    border-radius: 2px;
    animation: hzPulse 1.2s infinite ease-in-out alternate;
}
.hz-1 { height: 6px; animation-delay: 0.1s; }
.hz-2 { height: 14px; animation-delay: 0.3s; }
.hz-3 { height: 9px; animation-delay: 0.2s; }
.hz-4 { height: 12px; animation-delay: 0.4s; }

@keyframes hzPulse {
    0% { transform: scaleY(0.4); opacity: 0.6; }
    100% { transform: scaleY(1.2); opacity: 1; }
}

.micro-font-switch {
    font-size: 10px;
    font-weight: 700;
    color: #C084FC;
    background: rgba(155, 114, 203, 0.14);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 4px;
}
.font-arrow {
    animation: arrowNudge 1.6s infinite ease-in-out;
}
@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.micro-vocab {
    font-size: 11px;
    font-weight: 700;
    color: var(--google-yellow);
    display: flex;
    align-items: center;
    gap: 4px;
}
.vocab-spark {
    animation: sparkGlow 1.5s infinite alternate;
}
@keyframes sparkGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px var(--google-yellow)); }
}

.micro-toggle {
    display: flex;
    gap: 4px;
}
.key-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    color: #FFFFFF;
}

/* Card bottom motion status bar */
.card-motion-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
    margin-top: 6px;
}
.bar-blue { color: #8AB4F8; }
.bar-green { color: #81C995; }
.bar-purple { color: #D8B4FE; }
.bar-orange { color: #FDD663; }

.motion-bar-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: pulseDot 1.4s infinite alternate;
}
@keyframes pulseDot {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Motion Graphic Containers for Pillar Cards */
.pillar-motion-container {
    position: relative;
    width: 100%;
    height: 190px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0A0D14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 28px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-motion-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.pillar-motion-overlay {
    position: absolute;
    bottom: 12px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 16, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.motion-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--google-green);
    box-shadow: 0 0 8px var(--google-green);
    animation: blinkDot 1.4s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}


/* ==========================================================================
   4. Section: "Get started with Telugu Direct" (The 3 Pillar Cards)
   ========================================================================== */
.section-headline-group {
    margin-bottom: 50px;
    text-align: center;
}

.section-big-title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
}

.section-lead-text {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

.ai-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 120px;
}

.ai-pillar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--easing-google);
}

.ai-pillar-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pillar-header h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.pillar-header p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pillar-visual {
    margin: 36px 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.mapping-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14.5px;
}

.mapping-preview-row:last-child {
    border-bottom: none;
}

.mapping-keys {
    font-family: monospace;
    color: var(--text-secondary);
}

.mapping-output {
    font-weight: 700;
    color: #FFFFFF;
    font-size: 16px;
}

.pillar-footer {
    padding-top: 10px;
}

.pillar-btn {
    align-self: flex-start;
}

/* ==========================================================================
   5. Section: Workflow Comparison (Google AI Minimalist Style)
   ========================================================================== */
.workflow-section-wrap {
    margin-bottom: 120px;
}

.workflow-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.workflow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 44px 38px;
    transition: all 0.3s var(--easing-google);
}

.workflow-card-legacy {
    border-color: rgba(234, 67, 53, 0.2);
}

.workflow-card-direct {
    background: linear-gradient(180deg, #101524 0%, #0E1017 100%);
    border-color: rgba(66, 133, 244, 0.35);
    box-shadow: 0 0 50px rgba(66, 133, 244, 0.08);
}

.workflow-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.label-red { color: #F87171; }
.label-blue { color: var(--google-blue-bright); }

.workflow-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.workflow-card p.card-summary {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
}

.workflow-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.workflow-step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.step-index-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.dot-red { background: rgba(234, 67, 53, 0.2); color: #EA4335; }
.dot-blue { background: rgba(66, 133, 244, 0.2); color: var(--google-blue-bright); }

.step-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.step-text span {
    color: var(--text-secondary);
    font-size: 13px;
}

.workflow-speed-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 14px;
}

.metric-bad {
    font-size: 20px;
    font-weight: 800;
    color: #EA4335;
}

.metric-good {
    font-size: 22px;
    font-weight: 800;
    color: var(--google-green);
}

/* ==========================================================================
   6. Architecture & Tech Pipeline (Google DeepMind Style)
   ========================================================================== */
.pipeline-section-wrap {
    margin-bottom: 120px;
}

.pipeline-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pipeline-step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.3s var(--easing-google);
}

.pipeline-step-card:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.pipeline-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--google-blue-bright);
    margin-bottom: 14px;
    display: block;
}

.pipeline-step-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pipeline-step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   7. Software Compatibility Grid
   ========================================================================== */
.compat-section-wrap {
    margin-bottom: 120px;
}

.compat-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compat-app-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s var(--easing-google);
}

.compat-app-card:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.app-badge-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.badge-ps { background: #001E36; color: #31A8FF; border: 1px solid #31A8FF; }
.badge-cd { background: #1F3A1E; color: #48C742; border: 1px solid #48C742; }
.badge-pr { background: #260033; color: #EA77FF; border: 1px solid #EA77FF; }
.badge-ae { background: #260033; color: #9999FF; border: 1px solid #9999FF; }
.badge-id { background: #33001A; color: #FF3366; border: 1px solid #FF3366; }
.badge-word { background: #002244; color: #2B7CD3; border: 1px solid #2B7CD3; }

.app-meta h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.app-meta p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   8. Dedicated Download Center (Large Windows & macOS Platform Boxes)
   ========================================================================== */
.download-center-wrap {
    margin-bottom: 120px;
}

.section-badge-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: rgba(66, 133, 244, 0.12);
    color: var(--google-blue-bright);
    border: 1px solid rgba(66, 133, 244, 0.25);
    margin-bottom: 16px;
}

.download-platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1060px;
    margin: 0 auto;
}

.platform-card-large {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 46px 40px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--easing-google);
    min-height: 580px;
}

.platform-card-large:hover {
    transform: translateY(-6px);
}

.platform-windows {
    border-color: rgba(0, 120, 212, 0.4);
    background: linear-gradient(180deg, rgba(0, 120, 212, 0.09) 0%, rgba(14, 16, 23, 0.96) 38%, #0E1017 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.platform-windows:hover {
    border-color: #0078D4;
    box-shadow: 0 24px 60px rgba(0, 120, 212, 0.22);
}

.platform-mac {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(14, 16, 23, 0.96) 38%, #0E1017 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.platform-mac:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 24px 60px rgba(255, 255, 255, 0.12);
}

.platform-badge-tag {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge-win-tag {
    background: rgba(0, 120, 212, 0.22);
    color: #60A5FA;
    border: 1px solid rgba(0, 120, 212, 0.45);
}

.badge-mac-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #E8EAED;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.platform-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.platform-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-icon-win {
    background: rgba(0, 120, 212, 0.2);
    border: 1px solid rgba(0, 120, 212, 0.45);
    color: #38BDF8;
}

.platform-icon-mac {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.platform-title-area h3 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 4px;
}

.platform-title-area p {
    font-size: 14.5px;
    color: var(--text-secondary);
}

.platform-spec-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.platform-chip {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.platform-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 34px;
}

.platform-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.platform-features-list li .feat-check {
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.win-check { color: #38BDF8; }
.mac-check { color: #6EE7B7; }

.btn-platform-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s var(--easing-google);
    text-align: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.btn-win-primary {
    background: #0078D4;
    color: #FFFFFF;
}

.btn-win-primary:hover {
    background: #1084DE;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 120, 212, 0.45);
}

.btn-mac-primary {
    background: #FFFFFF;
    color: #0E1017;
}

.btn-mac-primary:hover {
    background: #F1F3F4;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.28);
}

.btn-main-label {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.btn-sub-meta {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.82;
    margin-top: 3px;
}

.platform-secondary-links {
    margin-top: 18px;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.platform-secondary-links a {
    color: #8AB4F8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.platform-secondary-links a:hover {
    text-decoration: underline;
    color: #ADC8FF;
}

.download-trust-strip {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 18px 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-item-icon {
    font-size: 16px;
}

/* ==========================================================================
   9. Studio Licensing & Pricing Center
   ========================================================================== */
.pricing-section-wrap {
    margin-bottom: 120px;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.35s var(--easing-google);
}

.pricing-box-featured {
    border-color: rgba(66, 133, 244, 0.45);
    background: linear-gradient(180deg, #101524 0%, #0E1017 100%);
    box-shadow: 0 0 50px rgba(66, 133, 244, 0.12);
}

.featured-pill-tag {
    position: absolute;
    top: -12px;
    left: 38px;
    background: var(--google-blue-bright);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.plan-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--google-blue-bright);
    margin-bottom: 8px;
    display: block;
}

.pricing-box h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price-text {
    font-size: 46px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 20px 0;
}

.plan-price-text span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-perks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.plan-perks-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-perks-list li span.check {
    color: var(--google-green);
    font-weight: 800;
}

/* ==========================================================================
   9. Frequently Asked Questions (Accordion)
   ========================================================================== */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto 120px;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}

.faq-header-btn {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.faq-icon-arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.25s var(--easing-google);
}

.faq-content-body {
    padding-bottom: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    display: none;
}

.faq-item.active .faq-content-body {
    display: block;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    color: var(--google-blue-bright);
}

/* ==========================================================================
   10. Footer (ai.google Style)
   ========================================================================== */
footer.ai-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 40px;
    background: #040507;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s var(--easing-google);
}

.footer-nav-links a:hover {
    color: #FFFFFF;
}

.footer-bottom-text {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.6;
    max-width: 800px;
}

/* ==========================================================================
   Payment Modal & Shared Card Elements
   ========================================================================== */
.payment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.payment-modal-card {
    background: #0E1017;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 32px 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    position: relative;
    color: #FFFFFF;
}

.legal-page-card {
    max-width: 860px;
    margin: 40px auto;
    background: var(--bg-card);
    padding: 40px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 640px) {
    .payment-modal-overlay {
        padding: 12px;
    }
    .payment-modal-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
    .legal-page-card {
        margin: 20px auto 40px;
        padding: 24px 16px;
        border-radius: 16px;
    }
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ==========================================================================
   Header Action Group & Mobile Nav Elements
   ========================================================================== */
.ai-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s var(--easing-google);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.25s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(8, 9, 12, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-top: 1px solid var(--border-subtle);
    padding: 20px 20px 40px;
    gap: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
}

.mobile-nav-drawer.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(66, 133, 244, 0.12);
    border-color: rgba(66, 133, 244, 0.3);
    color: var(--google-blue-bright);
}

.layouts-cta-wrap {
    text-align: center;
    margin: 40px auto 0;
}
@media (min-width: 1025px) {
    .layouts-cta-wrap {
        margin-top: -65px;
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   Responsive Breakpoints System (Mobile, Tablet, Desktop, Wide)
   ========================================================================== */

/* Tablet Landscape & Medium Desktops (<= 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    .download-platforms-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }
    .ai-pillars-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto 30px;
    }
    .workflow-dual-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }
    .pipeline-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .compat-grid-6 {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .pricing-plans-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin: 0 auto;
    }
}

/* Tablet Portrait & Small Tablets (<= 900px) */
@media (max-width: 900px) {
    .ai-nav-links {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-trial-btn {
        display: none !important;
    }
    .ai-nav-wrapper {
        height: 64px;
    }
}

/* Standard Mobile & Phablets (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .section-headline-group {
        margin-bottom: 32px;
    }
    .section-big-title {
        font-size: clamp(26px, 6.5vw, 36px);
        letter-spacing: -0.6px;
        line-height: 1.2;
    }
    .section-lead-text {
        font-size: 14.5px;
        line-height: 1.55;
    }
    
    /* Capability Carousel on Mobile: Native Touch-Snap */
    .capability-carousel-wrap {
        width: 100%;
        margin-left: 0;
        padding: 8px 0 20px;
        margin-bottom: 40px;
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .capability-carousel-wrap::-webkit-scrollbar {
        display: none;
    }
    .capability-cards-track {
        gap: 12px;
        padding: 0 16px;
        width: max-content;
    }
    .capability-pill-card {
        width: 250px;
        height: 145px;
        padding: 16px;
        border-radius: 16px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    .capability-card-title {
        font-size: 15px;
    }
    .card-motion-bar {
        font-size: 11px;
        padding-top: 8px;
    }

    footer.ai-footer {
        padding: 40px 0 24px;
    }
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 24px;
    }
    .footer-nav-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 16px;
        width: 100%;
    }
    .footer-nav-links a {
        font-size: 13.5px;
    }
}

/* Phones & Compact Mobile Screens (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .ai-hero-section {
        padding: 36px 0 24px;
    }
    .hero-canvas-wrap {
        min-height: 480px;
    }
    .hero-super-title {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px 10px;
        font-size: clamp(24px, 7.5vw, 34px);
        letter-spacing: -0.5px;
        line-height: 1.22;
        margin-bottom: 14px;
        word-break: break-word;
    }
    .hero-logo-emblem {
        width: 32px;
        height: 32px;
    }
    .hero-subtitle {
        font-size: 14.5px;
        line-height: 1.55;
        margin-bottom: 22px;
        padding: 0;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 32px;
    }
    .hero-cta-group a {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 13px 16px;
        font-size: 14.5px;
        border-radius: var(--radius-full);
    }

    /* Pillar Cards */
    .ai-pillar-card {
        padding: 22px 16px;
        border-radius: 18px;
        min-height: auto;
        margin-bottom: 16px;
    }
    .pillar-header h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    .pillar-header p {
        font-size: 13.5px;
        line-height: 1.5;
    }
    .pillar-motion-container {
        height: 110px;
        margin: 14px 0 12px;
        border-radius: 12px;
    }
    .pillar-visual {
        margin: 12px 0 16px;
        padding: 12px;
        border-radius: 12px;
    }
    .mapping-preview-row {
        padding: 7px 4px;
        font-size: 13px;
    }
    .pillar-footer {
        padding-top: 0;
        margin-top: 10px;
    }
    .pillar-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        font-size: 14px;
    }
    .layouts-cta-wrap {
        margin-top: 16px;
        margin-bottom: 24px;
    }
    .layouts-cta-wrap .btn-pill-outlined {
        width: 100%;
        justify-content: center;
        font-size: 13.5px;
        padding: 12px 14px;
    }

    /* Workflow Cards */
    .workflow-section-wrap {
        margin-bottom: 60px;
    }
    .workflow-dual-grid {
        gap: 16px;
    }
    .workflow-card {
        padding: 20px 16px;
        border-radius: 18px;
    }
    .workflow-card h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .workflow-card .card-summary {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 14px;
    }
    .workflow-steps-list {
        gap: 8px;
        margin-bottom: 14px;
    }
    .workflow-step-item {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
    }
    .step-index-dot {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .step-text strong {
        font-size: 13px;
    }
    .step-text span {
        font-size: 11.5px;
        line-height: 1.4;
    }
    .workflow-speed-metric {
        padding: 10px 12px;
        font-size: 12.5px;
        border-radius: 10px;
    }

    /* Architecture Step Cards: Clean 2x2 Grid on Mobile */
    .pipeline-cards-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .pipeline-step-card {
        padding: 14px 12px;
        border-radius: 14px;
    }
    .pipeline-num {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 4px;
    }
    .pipeline-step-card h4 {
        font-size: 13.5px;
        margin: 6px 0 4px;
    }
    .pipeline-step-card p {
        font-size: 11.5px;
        line-height: 1.4;
    }

    /* Compatibility Apps: Clean 2x3 Grid on Mobile */
    .compat-grid-6 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .compat-app-card {
        padding: 12px 10px;
        gap: 10px;
        border-radius: 12px;
        align-items: center;
    }
    .app-badge-box {
        width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .app-meta h4 {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    .app-meta p {
        font-size: 10.5px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Large Download Cards */
    .download-center-wrap {
        margin-bottom: 60px;
    }
    .platform-card-large {
        padding: 20px 16px;
        border-radius: 18px;
        min-height: auto;
        margin-bottom: 16px;
    }
    .platform-badge-tag {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 6px;
    }
    .platform-header-row {
        gap: 12px;
        margin-bottom: 12px;
        align-items: center;
    }
    .platform-icon-box {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .platform-icon-box svg {
        width: 24px;
        height: 24px;
    }
    .platform-title-area h3 {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .platform-title-area p {
        font-size: 12px;
        color: var(--text-secondary);
    }
    .platform-spec-chips {
        gap: 6px;
        margin-bottom: 14px;
        flex-wrap: wrap;
    }
    .platform-chip {
        font-size: 10.5px;
        padding: 3px 8px;
        border-radius: 6px;
    }
    .platform-features-list {
        gap: 8px;
        font-size: 12.5px;
        margin-bottom: 18px;
    }
    .platform-features-list li {
        gap: 8px;
        align-items: flex-start;
    }
    .feat-check {
        width: 18px;
        height: 18px;
        font-size: 11px;
        flex-shrink: 0;
        margin-top: 1px;
    }
    .btn-platform-download {
        padding: 13px 14px;
        border-radius: 12px;
    }
    .btn-main-label {
        font-size: 14.5px;
    }
    .btn-sub-meta {
        font-size: 11px;
    }
    .platform-secondary-links {
        font-size: 11.5px;
        margin-top: 12px;
        text-align: center;
    }

    /* Trust Strip 2x2 Grid */
    .download-trust-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px 10px;
        margin-top: 18px;
        border-radius: 12px;
    }
    .trust-item {
        font-size: 11px;
        gap: 5px;
        justify-content: center;
    }

    /* Pricing Box */
    .pricing-section-wrap {
        margin-bottom: 60px;
    }
    .pricing-box {
        padding: 22px 16px;
        border-radius: 18px;
    }
    .pricing-box h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    .plan-price-text {
        font-size: 32px;
        margin: 10px 0 14px;
    }
    .plan-perks-list {
        gap: 8px;
        font-size: 12.5px;
        margin-bottom: 20px;
    }

    /* FAQ */
    .faq-wrap {
        margin-bottom: 60px;
    }
    .faq-item {
        border-radius: 14px;
        margin-bottom: 10px;
    }
    .faq-header-btn {
        font-size: 14px;
        padding: 14px 0;
        gap: 10px;
        text-align: left;
    }
    .faq-content-body {
        font-size: 13px;
        line-height: 1.55;
        padding-bottom: 14px;
    }
}

/* Small Screens & iPhone SE (<= 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    .ai-brand-logo {
        font-size: 16px;
    }
    .ai-brand-img {
        width: 26px;
        height: 26px;
    }
    .hero-super-title {
        font-size: 23px;
    }
    .pipeline-cards-row {
        grid-template-columns: 1fr;
    }
    .compat-grid-6 {
        grid-template-columns: 1fr;
    }
    .download-trust-strip {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .footer-nav-links {
        grid-template-columns: 1fr;
    }
}
