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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --border-color: #e5e7eb;
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo {
    height: 2.5rem;
    width: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
    border-radius: 0.4rem;
}

.nav-brand span {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.btn-cta:hover {
    background: var(--primary-dark);
}

/* Hero Logo */
.hero-logo {
    width: 120px;
    height: 120px;
    max-width: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.hero-note {
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Privacy Promise */
.privacy-promise {
    padding: 5rem 0;
    background: var(--bg-light);
}

.privacy-promise h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.promise-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.promise-item:hover {
    transform: translateY(-5px);
}

.promise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promise-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.promise-item p {
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-block {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-detail {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: var(--bg-light);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.price {
    margin-bottom: 1rem;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.period {
    font-size: 1.125rem;
    color: var(--text-light);
}

.savings {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-pricing:hover {
    background: var(--primary-dark);
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
}

.pricing-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Pricing Page Styles */
.pricing-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
}

.pricing-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.pricing-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
}

.pricing-page {
    padding-top: 3rem;
}

.pricing-audience {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.pricing-page .pricing-features li:first-child {
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    background: var(--bg-light);
    border-radius: 0 0.5rem 0.5rem 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Pricing CTA */
.pricing-cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
}

.pricing-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Active nav link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.privacy-guarantee {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Use Cases */
.use-cases {
    padding: 5rem 0;
    background: var(--bg-light);
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.use-case {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.use-case p {
    color: var(--text-light);
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

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

.final-cta > .container > p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.cta-note {
    opacity: 0.9;
    font-size: 0.875rem;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* Beta Banner */
.beta-banner {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.beta-banner strong {
    color: #fbbf24;
}

/* Beta Badge */
.badge-beta {
    background: #fbbf24;
    color: #1f2937;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Beta Sign-Up Form */
.beta-form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.25);
}

.form-group select option {
    color: var(--text-dark);
    background: var(--white);
}

.btn-submit {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
}

.problem-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.problem-item {
    padding: 2rem;
    border-left: 4px solid #ef4444;
    background: #fef2f2;
    border-radius: 0 1rem 1rem 0;
}

.problem-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #dc2626;
}

.problem-item p {
    color: var(--text-light);
}

/* Detection Section */
.detection-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.detection-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.detection-method {
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detection-method.featured-method {
    border: 3px solid var(--primary-color);
    background: #eff6ff;
}

.detection-method h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.detection-speed {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.detection-method p:last-child {
    color: var(--text-light);
}

/* How It Works - subtitle */
.how-it-works .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Code inline */
code {
    background: rgba(0, 0, 0, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 2rem 0;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-success .btn-primary {
    display: inline-block;
    margin-top: 1rem;
}

/* Patent Notice */
.patent-notice {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.patent-footer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

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

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

    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .nav-menu {
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
