/* CSS Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-primary);
    padding-top: 70px; /* Account for fixed nav */
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.feature-icon {
    font-size: 1.2rem;
}

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

/* Screenshot Carousel */
.hero-right {
    display: flex;
    justify-content: center;
}

.screenshot-carousel {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.screenshot-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

.screenshot {
    width: 100%;
    height: auto;
    display: none;
    transition: opacity 0.5s ease;
}

.screenshot.active {
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    border-color: white;
}

.dot:hover {
    border-color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background: var(--background-primary);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--background-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

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

/* Setup Section */
.setup {
    padding: 4rem 0;
    background: var(--background-secondary);
}

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

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.setup-content {
    max-width: 800px;
    margin: 0 auto;
}

.setup-cta {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    border: 1px solid #bae6fd;
}

.setup-cta p {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.05rem;
}

.setup-requirements {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--background-primary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.setup-requirements p {
    color: var(--text-secondary);
    margin: 0;
}

.setup-steps {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.setup-steps ol {
    list-style: none;
    counter-reset: step-counter;
    margin: 0;
    padding: 0;
}

.setup-steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
}

.setup-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.setup-steps li:last-child {
    margin-bottom: 0;
}

.setup-steps a {
    color: var(--primary-color);
    text-decoration: none;
}

.setup-steps a:hover {
    text-decoration: underline;
}

.setup-footer {
    text-align: center;
    padding: 1rem;
    background: var(--background-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.setup-footer p {
    color: var(--text-secondary);
    margin: 0;
}

.setup-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.setup-footer a:hover {
    text-decoration: underline;
}

/* How it Works Section */
.how-it-works {
    padding: 4rem 0;
    background: var(--background-primary);
}

.works-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.works-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--background-secondary);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease;
}

.works-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.works-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.works-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.works-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-note {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid #bae6fd;
}

.privacy-note h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.privacy-note p {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Discover Section */
.discover {
    padding: 4rem 0;
    background: var(--background-secondary);
}

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

.discover-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.discover-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.discover-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.discover-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.discover-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Roadmap Section */
.roadmap {
    padding: 4rem 0;
    background: var(--background-primary);
}

.roadmap-content {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.roadmap-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background-secondary);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease;
}

.roadmap-item:hover {
    transform: translateX(4px);
}

.roadmap-item.completed {
    border-left: 4px solid #10b981;
}

.roadmap-item.in-progress {
    border-left: 4px solid #f59e0b;
}

.roadmap-item.planned {
    border-left: 4px solid var(--text-muted);
}

.roadmap-status {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.roadmap-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.roadmap-details p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.roadmap-contribute {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.roadmap-contribute p {
    margin: 0;
    color: var(--text-secondary);
}

.roadmap-contribute a {
    color: var(--primary-color);
    text-decoration: none;
}

.roadmap-contribute a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.25rem;
}

.footer-bottom a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-left {
        text-align: left;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-features {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .setup {
        padding: 2rem 0;
    }
    
    .how-it-works {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .works-content {
        grid-template-columns: 1fr;
    }
    
    .discover-content {
        grid-template-columns: 1fr;
    }
    
    .roadmap-item {
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}