/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties for theming */
:root {
    /* Dark theme (default) - Grey-focused palette */
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --text-primary: #ffffff;
    --text-secondary: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(156, 163, 175, 0.2);
    --card-bg: rgba(31, 41, 55, 0.8);
    --navbar-bg: rgba(17, 24, 39, 0.95);
    --accent-primary: #6b7280;
    --accent-secondary: #4b5563;
    --accent-hover: #9ca3af;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --border-color: rgba(107, 114, 128, 0.3);
    --card-bg: rgba(255, 255, 255, 0.95);
    --navbar-bg: rgba(255, 255, 255, 0.98);
    --accent-primary: #4b5563;
    --accent-secondary: #6b7280;
    --accent-hover: #374151;
    --success-color: #059669;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
}

/* Base body styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%, var(--bg-primary) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle background animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(107, 114, 128, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(156, 163, 175, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(75, 85, 99, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

[data-theme="light"] body::before {
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

/* Navigation */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    width: 100%;
}

.navbar.scrolled {
    background: var(--navbar-bg);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
}

.nav-brand img {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-brand img:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Notice bar */
.notice-bar {
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.75rem 0;
    width: 100%;
}

.notice-content {
    text-align: center;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* Icon styling for better visibility */
.notice-content .icon {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.125rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.footer-brand .icon {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.125rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.badge .icon {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.125rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 42rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60rem;
    height: 30rem;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(4rem);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 32rem;
    margin: 0 auto 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

/* Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 48px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-light);
}

/* Disclaimer */
.disclaimer {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 3rem 0 2rem;
    position: relative;
    z-index: 2;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.disclaimer h2 {
    color: var(--warning-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.disclaimer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: rgba(99, 102, 241, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    flex-shrink: 0;
}

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

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
}

.feature {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--shadow-medium);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature:hover::before {
    opacity: 1;
}

.feature > * {
    position: relative;
    z-index: 1;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    flex-shrink: 0;
}

.feature h3 {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px var(--shadow-light);
}

.step strong {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.tech-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Signup section */
.signup {
    background: linear-gradient(135deg, var(--card-bg), rgba(99, 102, 241, 0.1));
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.signup:hover::before {
    opacity: 1;
}

.signup > * {
    position: relative;
    z-index: 1;
}

.signup-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.signup h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.signup p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Button groups for signup section */
.signup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.signup-buttons .btn {
    margin: 0;
}

/* Form styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.signup-form .btn {
    margin: 0;
    height: 56px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 3px rgba(16, 185, 129, 0.1),
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.form-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
    box-shadow: 
        0 6px 8px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.form-note {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* FAQ section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow-light);
}

.faq-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item dt {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.125rem;
}

.faq-item dd {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.legal-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.legal-list li {
    margin-bottom: 0.75rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.footer-brand .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 28rem;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.footer-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* Mobile-first responsive design */
@media (max-width: 639px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0;
    }

    .signup-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-input {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }

    /* Navigation mobile improvements */
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Mobile-specific improvements */
    .hero {
        padding: 2rem 0 3rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .disclaimer {
        margin: 2rem 0 1.5rem;
        padding: 1.25rem;
    }

    .disclaimer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .tech-note {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    /* Touch-friendly improvements */
    .btn, .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better spacing for mobile */
    .card, .feature {
        padding: 1.5rem;
        margin: 0;
    }

    .step {
        padding: 1.25rem;
        margin: 0;
    }

    .signup {
        padding: 2.5rem 2rem;
        margin: 3rem 0;
    }

    .signup-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        max-width: none;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-input {
        width: 100%;
        padding: 1rem 1.5rem;
        min-height: 56px;
        font-size: 1rem;
    }

    .signup h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .signup p {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .form-note {
        font-size: 0.875rem;
        margin-top: 1rem;
    }

    .faq-card {
        padding: 1.5rem;
        margin: 0;
    }

    /* Mobile typography adjustments */
    .card h3, .feature h3 {
        font-size: 1.125rem;
    }

    .card p, .feature p {
        font-size: 0.875rem;
    }

    .signup h2 {
        font-size: 1.5rem;
    }

    .signup p {
        font-size: 1rem;
    }

    .faq-card h3 {
        font-size: 1.125rem;
    }

    .faq-item dt {
        font-size: 1rem;
    }

    .faq-item dd {
        font-size: 0.875rem;
    }

    .signup-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .signup-buttons .btn {
        width: 100%;
        margin: 0;
    }
}

/* Tablet and desktop improvements */
@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .signup-content {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .form-row {
        flex-direction: row;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .footer-links {
        text-align: right;
        flex-direction: row;
    }

    /* Navigation desktop improvements */
    .navbar .container {
        flex-direction: row;
    }

    .nav-links {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding: 0 3rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.form-input:focus,
.nav-links a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
    color: var(--accent-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-top: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message */
.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
    color: var(--success-color);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    animation: slideIn 0.3s ease-out;
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 0.75rem;
    color: var(--error-color);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 