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

:root {
    /* Dark mode colors (default) */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a8b4;
    --text-tertiary: #808a96;
    --text-muted: #606a76;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: rgba(59, 130, 246, 0.3);
    --gradient-start: #ffffff;
    --gradient-end: #a0d8ff;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --header-bg: rgba(15, 20, 25, 0.9);
    --footer-bg: rgba(255, 255, 255, 0.02);
    --radial-gradient-1: rgba(59, 130, 246, 0.05);
    --radial-gradient-2: rgba(139, 92, 246, 0.05);
}

[data-theme="light"] {
    /* Light mode colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(15, 23, 42, 0.03);
    --bg-card-hover: rgba(15, 23, 42, 0.06);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-muted: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-color-hover: rgba(59, 130, 246, 0.4);
    --gradient-start: #0f172a;
    --gradient-end: #3b82f6;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --header-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: rgba(15, 23, 42, 0.02);
    --radial-gradient-1: rgba(59, 130, 246, 0.08);
    --radial-gradient-2: rgba(139, 92, 246, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, var(--radial-gradient-1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--radial-gradient-2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 8s ease-in-out infinite;
}

@keyframes backgroundShift {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(20deg);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.mobile-menu-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 80px;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero .supporting-line {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(4px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* Hub Section */
.hub {
    padding: 80px 24px;
    position: relative;
}

.hub-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hub-title h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hub-title p {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 500px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transition: left 0.5s ease;
}

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

.card:hover::after {
    left: 100%;
}

.card:hover:not(.coming-soon) {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    font-size: 28px;
}

.card:hover:not(.coming-soon) .card-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
}

.card-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.card:hover:not(.coming-soon) .card-title {
    color: var(--gradient-end);
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.card:hover:not(.coming-soon) .card-description {
    color: var(--text-primary);
}

.card-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.card-btn i {
    transition: transform 0.3s ease;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.modal-content p {
    color: #a0a8b4;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

#formMessage {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    display: none;
}

#formMessage.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: block;
}

#formMessage.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

/* Email Picker */
.email-picker-container {
    position: relative;
    width: 100%;
}

.email-picker-menu {
    display: none;
    position: absolute;
    bottom: 110%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 8px;
}

.email-picker-menu.active {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.email-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.email-option:hover {
    background: var(--bg-card-hover);
    color: var(--gradient-end);
}

.email-option i {
    width: 20px;
    text-align: center;
}

.email-option.gmail:hover {
    color: #EA4335;
}

.email-option.outlook:hover {
    color: #0078D4;
}

.email-option.default:hover {
    color: var(--accent-primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 24px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    font-size: 1.125rem;
    color: var(--text-tertiary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.faq-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4;
}

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

/* Footer */
.footer {
    padding: 60px 24px 30px;
    border-top: 1px solid var(--border-color);
    background: var(--footer-bg);
    backdrop-filter: blur(10px);
}

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

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a i {
    color: var(--accent-primary) !important;
}

[data-theme="light"] .social-icons a {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
}

[data-theme="light"] .social-icons a i {
    color: #2563eb !important;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    transform: translateY(-2px);
}

.social-icons a:hover i {
    color: white !important;
}

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

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 16px 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .hero {
        min-height: 70vh;
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hub {
        padding: 60px 20px;
    }

    .hub-title {
        margin-bottom: 40px;
    }

    .cards-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .card {
        padding: 28px 20px;
    }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .faq-item {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .theme-toggle,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero {
        padding: 100px 16px 40px;
    }

    .hero h1 {
        font-size: clamp(2rem, 12vw, 2.5rem);
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .cards-grid {
        gap: 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .hub {
        padding: 50px 16px;
    }

    .faq-section {
        padding: 50px 16px;
    }
}