:root {
    --bg-dark: #0a0e1a;
    --bg-card: #131b2e;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --primary: #06b6d4;
    --primary-hover: #0891b2;
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 1rem 6rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    margin-bottom: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.15);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Browser Mockup visuals */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(10, 14, 26, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.browser-mockup {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.browser-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #eab308; }
.green { background: #22c55e; }

.address-bar {
    background: rgba(0, 0, 0, 0.2);
    flex: 1;
    border-radius: 4px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--text-muted);
}

.browser-content {
    padding: 2rem;
    background: #13111b;
}

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

.image-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mock-download-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hover-reveal {
    opacity: 0;
    transition: 0.2s;
    transform: translateY(-5px);
}

.image-card:hover .hover-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Features */
.features {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.icon-box.blue { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.icon-box.purple { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.icon-box.pink { background: linear-gradient(135deg, #10b981, #14b8a6); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA */
.bottom-cta {
    padding: 6rem 1rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), #1a1625);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.btn-primary.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-block;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 5%;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-content { margin-bottom: 3rem; }
    .image-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
    .social-links { justify-content: center; }
}

.policy-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.policy-container h1 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.policy-container h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-container p, .policy-container ul {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.policy-container ul {
    padding-left: 1.5rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

.policy-container a,
.address-bar a {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.release-note,
.setting-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.demo-gallery {
    max-width: 1120px;
    margin: 2rem auto 4rem;
    padding: 0 24px;
}

.demo-gallery h1 {
    font-size: 2.5rem;
}

.demo-gallery > p {
    max-width: 680px;
    color: var(--text-muted);
}

.eyebrow {
    color: #67e8f9 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.demo-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.demo-images figure {
    margin: 0;
}

.demo-images img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.demo-images figcaption {
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 560px) {
    .navbar { flex-wrap: wrap; gap: 12px; }
    .logo { font-size: 0.95rem; }
    .hero { padding-top: 3rem; }
    .hero-buttons { flex-wrap: wrap; }
    .demo-images { grid-template-columns: 1fr; }
    .demo-gallery h1 { font-size: 2rem; }
}

/* How it works */
.how-it-works {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 250px;
}

.step-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin-top: 30px; /* Align with center of number roughly */
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .step-divider {
        display: none;
    }
}
