/* ===== CSS Variables (Gamma Theme) ===== */
:root {
    /* Colors from Gamma theme - Dark Navy */
    --primary-bg: #1A1D2E;
    --secondary-bg: #16192B;
    --card-bg: #2C3148;
    --card-hover-bg: #363B54;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BFCC;
    --accent-yellow: #F2B42D;
    --accent-pink: #D7425E;
    --accent-orange: #DD785E;
    --accent-blue: #48A8E2;
    --accent-teal: #59ABA9;
    --border-color: rgba(255, 255, 255, 0.1);

    /* Fonts - Inter for modern look */
    --font-heading: 'Inter', 'Nunito', sans-serif;
    --font-body: 'Inter', 'PT Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    font-weight: 400;
}

/* Clean background - no stars */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    z-index: 0;
    pointer-events: none;
}

/* ===== Header Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 29, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.logo a:hover {
    color: var(--accent-yellow);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width var(--transition-fast);
}

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

.main-nav a.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.main-nav a.social-icon::after {
    display: none;
}

.main-nav a.social-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    transition: stroke var(--transition-fast);
}

.main-nav a.social-icon:hover svg {
    stroke: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 29, 46, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-normal);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
}

.creator-credit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    opacity: 0.8;
}

.creator-credit a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.creator-credit a:hover {
    color: var(--accent-yellow);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(2.5);
    cursor: pointer;
    z-index: 10;
    position: relative;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        margin-top: 2rem;
    }

    .footer-logo img {
        max-width: 150px;
    }
}

/* ===== Scroll Container ===== */
.scroll-container {
    position: relative;
    width: 100%;
    z-index: 1;
}

/* ===== Section Styles ===== */
.section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    opacity: 1;
    transition: opacity var(--transition-slow);
}

/* Alternating section backgrounds for visual separation */
.section:nth-child(even) {
    background: rgba(16, 18, 35, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.section:nth-child(odd) {
    background: rgba(28, 32, 50, 0.6);
}

/* Add subtle shadow overlay between sections */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.section.hero-section {
    min-height: 100vh;
    padding-top: 8rem;
}

.section.final-section {
    padding: 6rem 2rem;
}

/* Scroll reveal animation */
.section {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===== Section Content Layouts ===== */
.section-content {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    padding: 0;
}

.section-content.centered {
    flex-direction: column;
    text-align: center;
}

.section-content.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}


.section-content.split-layout.reverse .section-body {
    order: 1;
}

.section-content.split-layout.reverse .section-accent {
    order: 2;
}

/* ===== Section Elements ===== */
.section-body {
    flex: 1;
    max-width: 1200px;
}

/* Hero section body - centered content */
.hero-section .section-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1200px;
}

/* Hero section boxed styling - wraps both video and text */
.hero-section .section-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 3rem;
    box-shadow: none;
}

.section-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    min-width: 0;
    width: fit-content;
}

.accent-image {
    width: auto;
    height: auto;
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.accent-video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    box-shadow: none;
}

.accent-image:hover {
    transform: scale(1.01);
    transition: transform var(--transition-normal);
}

.accent-video {
    max-width: 100%;
    display: block;
    background: transparent;
}

/* Video wrapper for custom play button */
.video-wrapper {
    position: relative;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    background: transparent;
    overflow: visible;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 16px;
}

.video-play-button {
    position: absolute;
    top: 66.67%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    opacity: 1;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Hide play button when video is playing */
.video-wrapper.playing .video-play-button {
    opacity: 0;
    pointer-events: none;
}

/* Hero gallery in text section */
.hero-section .hero-gallery {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 900px;
}

.hero-gallery-track {
    display: flex;
    gap: 1rem;
    animation: scroll-gallery 15s linear infinite;
}

.hero-gallery-image {
    height: 150px;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 1rem));
    }
}

/* Audio indicator */
.video-audio-indicator {
    position: absolute;
    bottom: 20px;
    right: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
    z-index: 10;
    cursor: pointer;
}

.video-audio-indicator svg {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* Show audio indicator on hover when video is playing */
.video-wrapper.playing:hover .video-audio-indicator {
    opacity: 1;
    pointer-events: auto;
}

/* Keep audio indicator visible while hovering over it */
.video-audio-indicator:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    opacity: 1;
}

.video-audio-indicator:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.35);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Hide all native video controls */
.accent-video::-webkit-media-controls {
    display: none !important;
}

.accent-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.accent-video::-webkit-media-controls-panel {
    display: none !important;
}

/* Firefox controls */
.accent-video::-moz-media-controls {
    display: none !important;
}

/* IE controls */
.accent-video::-ms-media-controls {
    display: none !important;
}

/* Remove controls attribute styling */
.accent-video[controls] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ===== Typography ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-title.large {
    font-size: 6rem;
    margin-bottom: 2rem;
}

/* Hero section title - bigger and centered */
.hero-section .section-title {
    font-size: 10rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

/* Hero section subtitle - reduce margin */
.hero-section .section-subtitle {
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.highlight-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
}

strong {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* ===== Layout Components ===== */
.text-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 1.5rem;
    box-shadow: none;
}

.text-box p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Container for grouped title and two-column content */
.section-body:has(.two-column) {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-body:has(.two-column) .section-title {
    margin-bottom: 2.5rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 0;
}

.two-column.large-text p {
    font-size: 1.25rem;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.column {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.column:hover {
    background: transparent;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Card Components ===== */
.principle-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.principle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--card-hover-bg);
}

.principle-card h3 {
    margin: 0;
    color: var(--text-primary);
}

.principle-summary {
    margin-top: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--text-secondary);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-box:hover {
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    background: var(--card-hover-bg);
}

.feature-box.accent-bg {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.feature-box.accent-bg:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--card-hover-bg);
}

.feature-box.highlight {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.feature-box.highlight:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--card-hover-bg);
}

.benefit-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.benefit-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--card-hover-bg);
}

/* ===== Feature Lists ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--text-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
    background: var(--card-hover-bg);
    transform: translateX(5px);
    border-left-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Historical Grid Layout */
.historical-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.historical-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.historical-card:hover {
    transform: translateY(-5px);
}

.historical-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.historical-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    border-radius: 16px;
}

.historical-card:hover .historical-image img {
    transform: scale(1.05);
}

.historical-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.historical-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive layout for historical grid */
@media (max-width: 768px) {
    .historical-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Title inside section-body above text boxes */
.principles-title {
    text-align: left;
    margin-bottom: 2rem;
    margin-top: 0;
}

/* Invisible parent container for centering video and boxes vertically */
.principles-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.principles-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Center both columns vertically in the parent container */
#principles .section-content {
    align-items: center;
}

#principles .section-accent {
    display: flex;
    align-items: center;
}

.principle-detail {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--text-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.principle-detail:hover {
    border-color: rgba(255, 255, 255, 0.15);
    border-left-color: var(--text-primary);
    transform: translateY(-3px);
    background: var(--card-hover-bg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ===== Final Section ===== */
.section-content.final {
    max-width: 1000px;
}

.final-summary {
    margin: 2rem 0;
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-section {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* ===== Progress Dots Navigation ===== */
.progress-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
    padding: 1rem 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.dot.active {
    background: rgba(255, 255, 255, 0.6);
    width: 10px;
    height: 10px;
}

.dot:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 4px;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(242, 180, 45, 0.9);
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(242, 180, 45, 0.3);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-bg);
    stroke-width: 3;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }

    .section-content {
        padding: 2rem;
    }

    .section-content.split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-content.split-layout.reverse .section-body {
        order: 2;
    }

    .section-content.split-layout.reverse .section-accent {
        order: 1;
    }

    .hero-section .section-accent {
        order: 1;
    }

    .hero-section .section-body {
        order: 2;
        padding-top: 0;
    }

    .section-accent {
        max-height: none;
    }

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

    .two-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .section {
        min-height: auto;
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section-content {
        padding: 1.5rem;
        gap: 2rem;
        border-radius: 16px;
    }

    .video-play-button {
        top: 66.67%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .video-play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-title.large {
        font-size: 3.5rem;
    }

    .hero-section .section-title {
        font-size: 4.5rem;
    }

    .hero-section .hero-gallery {
        display: none;
    }

    .section-body:has(.two-column) {
        padding: 2rem;
    }

    .section-body:has(.two-column) .section-title {
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.375rem;
    }

    p {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.125rem;
    }

    .highlight-text {
        font-size: 1.25rem;
    }

    .three-column {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .text-box {
        padding: 1.5rem;
    }

    .feature-box,
    .benefit-box {
        padding: 1.5rem;
    }

    .column {
        padding: 1.5rem;
    }

    .cta-section {
        font-size: 1.5rem;
    }

    /* Progress dots responsive */
    .progress-dots {
        right: 1rem;
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 12px;
        height: 12px;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .scroll-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== Smooth Scrolling Enhancement ===== */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Print Styles ===== */
@media print {
    body::before {
        display: none;
    }

    .scroll-top {
        display: none;
    }

    .section {
        min-height: auto;
        page-break-inside: avoid;
    }

    .section-title {
        color: #000;
        background: none;
        -webkit-text-fill-color: #000;
    }

    .accent-image {
        max-height: 400px;
    }
}

/* ===== Accessibility ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* ===== Selection Styles ===== */
::selection {
    background: var(--accent-yellow);
    color: var(--primary-bg);
}

::-moz-selection {
    background: var(--accent-yellow);
    color: var(--primary-bg);
}

/* ===== Scrollbar Styles ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--card-hover-bg);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--card-bg) var(--secondary-bg);
}

/* ===== App Showcase Section ===== */
.app-showcase-section {
    background: transparent;
    padding: 4rem 2rem;
    position: relative;
}

.app-showcase-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.app-showcase-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Mobile App Mockups Image */
.app-mockups-image {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.app-mockups-image img {
    width: 100%;
    height: auto;
    max-width: 1200px;
    border-radius: 0;
    box-shadow: none;
}

/* App Features Grid */
.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.app-feature-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2rem 0;
    transition: all var(--transition-normal);
}

.app-feature-item:hover {
    transform: translateX(5px);
}

.app-feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.app-feature-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* App CTA Link */
.app-cta-link {
    text-align: center;
    margin-top: 3rem;
}

.app-details-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-yellow);
    color: var(--primary-bg);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid var(--accent-yellow);
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242, 180, 45, 0.3);
}

.app-details-btn:hover {
    background: #f5c24d;
    border-color: #f5c24d;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(242, 180, 45, 0.4);
}

/* Responsive Adjustments for App Showcase */
@media (max-width: 1024px) {
    .app-mockups-image {
        margin-bottom: 3rem;
    }

    .app-features-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .app-showcase-section {
        padding: 3rem 1rem;
    }

    .app-showcase-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .app-showcase-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .app-mockups-image {
        margin-bottom: 2.5rem;
    }

    .app-mockups-image img {
        border-radius: 12px;
    }

    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .app-feature-item {
        padding: 1.5rem;
    }

    .app-feature-item h3 {
        font-size: 1.375rem;
    }

    .app-details-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .app-showcase-title {
        font-size: 1.75rem;
    }

    .app-feature-item {
        padding: 1.25rem;
    }
}
