/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    position: relative;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    z-index: -2;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #6366f1 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #8b5cf6 0%, transparent 50%);
    opacity: 0.1;
    z-index: -1;
}

/* Header */
.header {
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: #6366f1;
}

/* Main Content */
.main {
    padding: 2rem 0 4rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
    margin-bottom: 8rem;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Email Signup */
.signup-form {
    margin-bottom: 2rem;
}

.email-form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-group:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: #f8fafc;
    font-size: 1rem;
    outline: none;
}

.email-input::placeholder {
    color: #64748b;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.signup-note {
    color: #64748b;
    font-size: 0.875rem;
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.screenshot-preview {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.screenshot-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.browser-mockup {
    width: 400px;
    background: #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.browser-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #334155;
    border-bottom: 1px solid #475569;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.browser-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #64748b;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
    flex: 1;
    background: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
}

.browser-content {
    padding: 2rem;
    height: 300px;
}

.content-placeholder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.placeholder-line {
    height: 1rem;
    background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
    border-radius: 0.25rem;
    animation: shimmer 2s infinite;
}

.placeholder-line.long { width: 100%; }
.placeholder-line.medium { width: 75%; }
.placeholder-line.short { width: 50%; }

.placeholder-box {
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, #334155 0%, #475569 50%, #334155 100%);
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.capture-indicator {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.capture-flash {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    animation: flash 2s infinite;
}

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

@keyframes flash {
    0%, 90%, 100% { opacity: 0.3; }
    5%, 85% { opacity: 1; }
}

/* Features Section */
.features {
    margin-bottom: 8rem;
}

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

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.feature-description {
    color: #94a3b8;
    line-height: 1.7;
}

/* Audience Section */
.audience {
    margin-bottom: 8rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.audience-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.audience-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.audience-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.audience-features {
    list-style: none;
}

.audience-features li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.audience-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Timeline Section */
.timeline {
    margin-bottom: 8rem;
}

.timeline-content {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1rem;
    top: 2rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: #334155;
}

.timeline-item.active::after {
    background: linear-gradient(to bottom, #6366f1 0%, #334155 100%);
}

.timeline-marker {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #334155;
    border: 3px solid #1e293b;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-item.active .timeline-marker {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-content-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.timeline-content-item p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #6366f1;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    border-top: 1px solid #334155;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.footer-logo .logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #6366f1;
}

.footer-text {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #6366f1;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .browser-mockup {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .submit-btn {
        justify-content: center;
    }
    
    .browser-mockup {
        width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .feature-card,
    .audience-card {
        padding: 1.5rem;
    }
    
    .browser-mockup {
        width: 280px;
    }
    
    .browser-content {
        height: 200px;
        padding: 1rem;
    }
}

