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

:root {
    --navy-dark: #0A1628;
    --navy-card: #12213A;
    --navy-elevated: #1A2F4D;
    --cyan: #00D9D9;
    --blue: #2A7FDB;
    --purple: #A855F7;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --gradient: linear-gradient(135deg, #2A7FDB 0%, #A855F7 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--navy-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at top, var(--navy-elevated) 0%, var(--navy-dark) 50%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 127, 219, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: pulse 4s infinite;
}

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

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.button-primary, .button-secondary, .cta-button {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.button-primary {
    background: var(--gradient);
    color: white;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 127, 219, 0.4);
}

.button-secondary {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.button-secondary:hover {
    background: var(--cyan);
    color: var(--navy-dark);
}

.cta-button {
    background: var(--blue);
    color: white;
    padding: 10px 24px;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--navy-card);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--navy-dark);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    text-align: center;
    padding: 40px 20px;
}

.frequency-display {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.freq-left {
    color: var(--cyan);
    font-size: 32px;
    font-weight: bold;
}

.freq-right {
    color: var(--purple);
    font-size: 32px;
    font-weight: bold;
}

.waveform {
    width: 200px;
    height: 100px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
    border-radius: 10px;
    opacity: 0.6;
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--navy-dark);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--navy-card);
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 127, 219, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--cyan);
}

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

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-elevated) 100%);
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.explanation-card {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.explanation-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--cyan);
}

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

.benefits {
    max-width: 700px;
    margin: 80px auto 0;
    padding: 40px;
    background: var(--navy-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 217, 217, 0.2);
}

.benefits h3 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    color: var(--cyan);
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.benefits-list li {
    color: var(--text-secondary);
    padding-left: 30px;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: var(--navy-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--navy-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--cyan);
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-elevated) 100%);
    text-align: center;
}

.email-form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    gap: 10px;
}

.email-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 30px;
    border: 2px solid var(--navy-elevated);
    background: var(--navy-card);
    color: var(--text-primary);
    font-size: 16px;
}

.email-form input:focus {
    outline: none;
    border-color: var(--cyan);
}

.email-form button {
    flex-shrink: 0;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: rgba(0, 217, 217, 0.1);
    color: var(--cyan);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    display: block;
}

.download-info {
    margin-top: 40px;
}

.download-info p {
    color: var(--text-secondary);
    margin: 10px 0;
}

.privacy-note {
    font-size: 14px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--navy-card);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--cyan);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--cyan);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .email-form {
        flex-direction: column;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .features-grid,
    .testimonials-grid,
    .explanation-grid {
        grid-template-columns: 1fr;
    }
}
