/* ==========================================================================
   S3 Explorer - Modern Landing Page Stylesheet
   ========================================================================== */

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Color Palette */
    --bg-dark: #07090e;
    --bg-darker: #040508;
    --bg-card: #0d121d;
    --bg-card-hover: #131b2b;
    --bg-glass: rgba(15, 23, 42, 0.75);
    --bg-glass-light: rgba(255, 255, 255, 0.05);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(56, 189, 248, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-glow: #e0f2fe;

    --brand-blue: #0284c7;
    --brand-cyan: #38bdf8;
    --brand-indigo: #6366f1;
    --brand-purple: #8b5cf6;
    --brand-pink: #ec4899;
    --brand-amber: #f59e0b;
    --brand-xbox: #107c10;
    --brand-xbox-glow: #22c55e;
    --brand-apple: #f5f5f7;

    --gradient-hero: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    --gradient-apple: linear-gradient(135deg, #f5f5f7 0%, #cbd5e1 100%);
    --gradient-xbox: linear-gradient(135deg, #22c55e 0%, #107c10 100%);
    --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow-blue: 0 0 40px rgba(56, 189, 248, 0.25);
    --shadow-glow-xbox: 0 0 40px rgba(34, 197, 94, 0.25);
    --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-spacing {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}

@media (max-width: 768px) {
    .section-spacing {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Background Ambient Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
}

.glow-blue {
    background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
}

.glow-purple {
    background: radial-gradient(circle, #7c3aed 0%, rgba(124, 58, 237, 0) 70%);
}

.glow-xbox {
    background: radial-gradient(circle, #107c10 0%, rgba(16, 124, 16, 0) 70%);
}

.glow-amber {
    background: radial-gradient(circle, #d97706 0%, rgba(217, 119, 6, 0) 70%);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #0284c7, #6366f1);
    color: #ffffff;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    list-style: none;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-cyan);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.45rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.35rem;
    font-family: var(--font-main);
    font-size: 0.925rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-xbox {
    background: linear-gradient(135deg, #107c10 0%, #0b530b 100%);
    color: #ffffff;
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 18px rgba(16, 124, 16, 0.4);
}

.btn-xbox:hover {
    background: linear-gradient(135deg, #159c15 0%, #107c10 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

.btn-apple {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-apple:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Store Badge Buttons */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.store-badge-card {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: #090e18;
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.store-badge-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
    background: #0e1626;
}

.store-badge-card.apple-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.store-badge-card.ms-card:hover {
    border-color: #00a4ef;
    box-shadow: 0 8px 24px rgba(0, 164, 239, 0.25);
}

.store-badge-card.xbox-card:hover {
    border-color: #22c55e;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}

.store-badge-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-badge-sub {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.store-badge-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

/* Category Pill */
.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-full);
    color: var(--brand-cyan);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.section-pill.pill-xbox {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.section-pill.pill-apple {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
}

.section-pill.pill-purple {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

/* Section Header Typography */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.65rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-icon {
    color: #38bdf8;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card-frame {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.3), rgba(99, 102, 241, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.hero-card-image {
    width: 100%;
    border-radius: calc(var(--radius-xl) - 4px);
    object-fit: cover;
    aspect-ratio: 16/10;
    display: block;
}

.floating-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: rgba(13, 18, 29, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    animation: float 5s ease-in-out infinite;
}

.chip-top-left {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.chip-bottom-right {
    bottom: -20px;
    right: -20px;
    animation-delay: 2.5s;
}

.chip-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.15);
    color: var(--brand-cyan);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Platform Compatibility Bar
   ========================================================================== */
.platform-bar {
    background: rgba(13, 18, 29, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 0;
}

.platform-flex {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.platform-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: var(--brand-cyan);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-cyan);
    font-size: 1.5rem;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
    color: #c084fc;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.feature-card:nth-child(4) .feature-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.feature-card:nth-child(5) .feature-icon-wrapper {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.25);
    color: #f472b6;
}

.feature-card:nth-child(6) .feature-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.feature-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   Apple TV Spotlight Section
   ========================================================================== */
.apple-tv-section {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, rgba(7, 9, 14, 0.9) 70%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.spotlight-content {
    position: relative;
    z-index: 2;
}

.spotlight-visual {
    position: relative;
    z-index: 2;
}

.spotlight-media-stack {
    position: relative;
}

.spotlight-primary-img {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.25);
    width: 100%;
}

.spotlight-overlay-img {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 65%;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.7);
}

.spotlight-points {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.spotlight-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.point-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.95rem;
}

.point-text h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.point-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Xbox Spotlight Section
   ========================================================================== */
.xbox-section {
    background: radial-gradient(circle at top left, rgba(16, 124, 16, 0.15) 0%, rgba(7, 9, 14, 0.9) 70%);
    border-bottom: 1px solid var(--border-color);
}

.xbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.xbox-visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(16, 124, 16, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: var(--shadow-lg), var(--shadow-glow-xbox);
}

.xbox-card-img {
    width: 100%;
    border-radius: calc(var(--radius-xl) - 4px);
    object-fit: cover;
}

.xbox-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.xbox-tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-full);
    color: #4ade80;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.use-case-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.use-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.use-case-card:hover .use-case-img {
    transform: scale(1.05);
}

.use-case-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.use-case-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.use-case-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.use-case-text {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.use-case-features {
    list-style: none;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.use-case-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-glow);
    font-weight: 500;
}

.use-case-feature-item svg {
    color: var(--brand-cyan);
    flex-shrink: 0;
}

/* ==========================================================================
   Screenshots Gallery Section
   ========================================================================== */
.gallery-section {
    background: var(--bg-darker);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.gallery-tab-btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.gallery-tab-btn.active {
    background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(56, 189, 248, 0.2);
}

.gallery-card-img-wrap {
    position: relative;
    height: 380px;
    background: radial-gradient(circle at center, #1b2537 0%, #090e18 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow: hidden;
}

/* Portrait Device Frame (iOS / iPhone) */
.gallery-card.is-portrait .gallery-device-mockup {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 340px;
    background: #000000;
    padding: 6px;
    border-radius: 28px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.9);
}

.gallery-card.is-portrait .gallery-card-img {
    height: 100%;
    max-height: 322px;
    width: auto;
    object-fit: contain;
    border-radius: 22px;
    display: block;
    background: #ffffff;
}

/* Landscape Device Frame (Apple TV, Windows, Xbox) */
.gallery-card.is-landscape .gallery-device-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #000000;
    padding: 6px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.gallery-card.is-landscape .gallery-card-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.gallery-card-info {
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.gallery-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.gallery-card-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--brand-cyan);
    font-weight: 600;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Ecosystem & Recommended Apps Section
   ========================================================================== */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ecosystem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.ecosystem-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(56, 189, 248, 0.15);
}

.ecosystem-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 6px;
}

.ecosystem-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ecosystem-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ecosystem-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.ecosystem-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.ecosystem-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    margin-top: 0.25rem;
}

.store-apple {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.store-ms {
    background: rgba(0, 164, 239, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(0, 164, 239, 0.3);
}

.azure-recommendation-box {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.azure-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.azure-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: left;
}

.azure-app-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 120, 212, 0.35);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    flex-shrink: 0;
}

.pill-azure {
    background: rgba(0, 120, 212, 0.15);
    color: #38bdf8;
    border-color: rgba(0, 120, 212, 0.3);
}

.azure-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
}

.azure-text {
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-azure {
    background: linear-gradient(135deg, #0078d4 0%, #004578 100%);
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.4);
    margin-top: 0.5rem;
}

.btn-azure:hover {
    background: linear-gradient(135deg, #106ebe 0%, #003764 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.6);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    gap: 1rem;
}

.faq-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--brand-cyan);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
    background: rgba(56, 189, 248, 0.2);
}

.faq-answer {
    padding: 0 1.75rem 1.35rem 1.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(99, 102, 241, 0.2) 50%, rgba(16, 124, 16, 0.2) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(2, 132, 199, 0.2);
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-glow);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.cta-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 340px;
    line-height: 1.65;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--brand-cyan);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-disclaimer {
    max-width: 600px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: rgba(7, 9, 14, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
        gap: 1.25rem;
        z-index: 100;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .store-badges {
        justify-content: center;
    }

    .hero-trust-bar {
        justify-content: center;
    }

    .spotlight-grid,
    .xbox-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-grid,
    .use-cases-grid,
    .gallery-grid,
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .features-grid,
    .use-cases-grid,
    .gallery-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-overlay-img {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .floating-chip {
        display: none;
    }
}
