* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --success: #10b981;
    --error: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 140px 20px 80px;
    text-align: center;
    margin-top: 70px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-pricing {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    border-radius: 12px;
    display: inline-block;
    margin-top: 1rem;
}

.hero-pricing-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

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

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Form Section */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
}

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

.error-message {
    background: #fee;
    color: var(--error);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.success-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.success-title {
    color: var(--success);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-text {
    color: var(--dark);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.success-subtext {
    color: var(--gray);
    margin-top: 1.5rem;
}

/* Trust Section */
.trust-section {
    margin-top: 80px;
    text-align: center;
    padding: 3rem 0;
    background: var(--light-gray);
    border-radius: 16px;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.6;
}

.trust-logo {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

/* Utility Classes */
.hidden {
    display: none;
}

/* Inline style replacements */
.email-link-primary {
    color: var(--primary);
}

.footer-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-pricing {
        padding: 1rem 1.5rem;
    }

    .hero-pricing-text {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .content-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .trust-logos {
        gap: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    /* Hamburger menu display */
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 999;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }

    /* Hero adjustments */
    .hero {
        padding: 90px 15px 50px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-pricing {
        padding: 0.875rem 1rem;
    }

    .hero-pricing-text {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* Content sections */
    .content-section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

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

    .feature-title {
        font-size: 1.125rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    /* Form adjustments */
    .form-intro-subtitle {
        font-size: 1rem;
    }

    .form-card {
        padding: 1.5rem 1rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .trust-section {
        margin-top: 50px;
        padding: 2rem 1rem;
    }

    .trust-title {
        font-size: 1.25rem;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-text {
        font-size: 1rem;
    }
}

/* Small phones (360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

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

    .hero-pricing-text {
        font-size: 0.85rem;
    }

    .form-card {
        padding: 1.25rem 0.875rem;
    }
}

/* ============================================================
   Dark Mode Overrides
   Activated when <html> has .dark-mode class (set by dark-mode-init.js)
   ============================================================ */

.dark-mode body {
    background: #1a1a2e;
    color: #e2e8f0;
}

.dark-mode .navbar {
    background: rgba(26, 26, 46, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .logo {
    color: #e2e8f0;
}

.dark-mode .nav-links a {
    color: #e2e8f0;
}

.dark-mode .nav-links a:hover {
    color: #63b3ed;
}

.dark-mode .hamburger-menu span {
    background: #e2e8f0;
}

.dark-mode .section-title {
    color: #e2e8f0;
}

.dark-mode .content-section {
    color: #e2e8f0;
}

.dark-mode .feature-card {
    background: #16213e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dark-mode .feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.dark-mode .feature-title {
    color: #e2e8f0;
}

.dark-mode .feature-description {
    color: #a0aec0;
}

.dark-mode .form-card {
    background: #16213e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dark-mode .form-label {
    color: #e2e8f0;
}

.dark-mode .form-input,
.dark-mode .form-select,
.dark-mode .form-textarea {
    background: #1a1a2e;
    border-color: #2d3748;
    color: #e2e8f0;
}

.dark-mode .form-input:focus,
.dark-mode .form-select:focus,
.dark-mode .form-textarea:focus {
    border-color: #63b3ed;
}

.dark-mode .form-intro-subtitle {
    color: #a0aec0;
}

.dark-mode .success-card {
    background: #16213e;
}

.dark-mode .success-text {
    color: #e2e8f0;
}

.dark-mode .success-subtext {
    color: #a0aec0;
}

.dark-mode .error-message {
    background: rgba(239, 68, 68, 0.15);
    color: #fc8181;
}

.dark-mode .trust-section {
    background: #16213e;
}

.dark-mode .trust-title {
    color: #e2e8f0;
}

.dark-mode .footer {
    background: #0f172a;
}

@media (max-width: 480px) {
    .dark-mode .nav-links {
        background: #1a1a2e;
    }
}
