:root {
    --bg-dark: #111827;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-blue: #007aff;
    --accent-gopro: #00a4e4;
    --accent-insta: #ffe600;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    position: relative;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.glow-blue {
    top: -100px;
    right: -100px;
    background: var(--accent-gopro);
}

.glow-yellow {
    top: 40%;
    left: -200px;
    background: var(--accent-insta);
}

/* Typography Enhancements */
h1, h2, h3 {
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.nav-brand-logo {
    height: 24px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.nav-logo-link:hover .nav-brand-logo {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links a:hover .nav-app-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

.nav-logo {
    height: 32px;
    width: 32px;
    border-radius: 8px;
    object-fit: contain;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* Hero Visual (Pure Image) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.8);
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.hero-screenshot-pure {
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.8);
    transform: perspective(1200px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-screenshot-pure:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

/* Feature Sections */
.feature-section {
    position: relative;
    padding: 100px 5%;
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-section.reverse .section-container {
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 992px) {
    .feature-section.reverse .feature-content {
        order: 2;
    }
    .feature-section.reverse .feature-visuals {
        order: 1;
    }
}

.app-icon-large {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    object-fit: cover;
}

.feature-content h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 16px;
    transition: var(--transition);
}

.learn-more-btn:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.feature-list li {
    display: flex;
    gap: 16px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-list span {
    font-size: 14px;
    color: var(--text-secondary);
}

.download-badge-wrapper img {
    height: 56px;
    width: auto;
    transition: var(--transition);
}

.download-badge-wrapper img:hover {
    transform: scale(1.05);
}

/* Feature Visuals - Screenshot Scroller */
.feature-visuals {
    width: 100%;
    overflow: hidden;
}

.screenshot-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshot-scroller::-webkit-scrollbar {
    display: none;
}

.screenshot-scroller img {
    scroll-snap-align: center;
    flex: 0 0 100%;
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 64px 24px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-container,
    .section-container,
    .feature-section.reverse .section-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .badge-pill {
        margin: 0 auto 24px;
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-screenshot-pure {
        transform: none !important;
        max-width: 100%;
    }
    
    .app-icon-large {
        margin: 0 auto 32px;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-list li {
        text-align: left;
    }
    
    .download-badge-wrapper {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }
    
    .feature-section {
        padding: 80px 16px;
    }
    
    .nav-content {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-brand-logo {
        height: 20px;
    }
}

.feature-section.alt-bg {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Full-width Hero for Subpages */
.hero-fullwidth {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-fullwidth::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(17,24,39,0.3) 0%, rgba(17,24,39,0.9) 100%);
    z-index: 1;
}

.hero-fullwidth .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-fullwidth h1 {
    font-size: clamp(48px, 8vw, 72px);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-fullwidth p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-fullwidth .app-store-btn {
    display: inline-block;
}

.hero-fullwidth .app-store-btn img {
    height: 90px; /* Much larger button */
    width: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.hero-fullwidth .app-store-btn:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* SEO Subpage Styles */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr 1fr;
    }
    .seo-grid .full-width {
        grid-column: 1 / -1;
    }
}

.seo-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.seo-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.seo-card h3 i {
    color: var(--primary-color);
}

.seo-card ul, .seo-card ol {
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.seo-card ul li, .seo-card ol li {
    margin-bottom: 12px;
}

.seo-card ul li strong {
    color: var(--text-primary);
}

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    margin-left: 24px;
}
.lang-selector select {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.lang-selector select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}
/* Coming Soon Badge */
.coming-soon-container {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}
.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}
.badge-disabled {
    opacity: 0.3;
    filter: grayscale(100%);
    cursor: not-allowed;
    display: block;
}
