/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #0F223A;
    --bright-teal: #24C7B8;
    --matte-gold: #C79F4F;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #2D3748;
    --text-gray: #718096;
    --border-gray: #E2E8F0;
}

/* Dark Mode Colors */
body.dark-mode {
    --primary-navy: #E2E8F0;
    --bright-teal: #24C7B8;
    --matte-gold: #C79F4F;
    --white: #1A202C;
    --light-gray: #2D3748;
    --dark-gray: #E2E8F0;
    --text-gray: #CBD5E0;
    --border-gray: #4A5568;
}

body.dark-mode {
    background-color: #0F1419;
    color: #E2E8F0;
}

body.dark-mode .navbar {
    background: rgba(15, 20, 25, 0.98);
    border-bottom: 1px solid #2D3748;
}

body.dark-mode .logo,
body.dark-mode .logo span,
body.dark-mode .nav-links a {
    color: #FFFFFF !important;
}

body.dark-mode .mobile-menu-toggle span {
    background: var(--bright-teal);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #0F1419 0%, #1A202C 100%);
}

body.dark-mode .feature-card,
body.dark-mode .pricing-card,
body.dark-mode .community-card,
body.dark-mode .timeline-content,
body.dark-mode .faq-item {
    background: #1A202C;
    border-color: #2D3748;
    color: #E2E8F0;
}

body.dark-mode .feature-card h3,
body.dark-mode .pricing-card h3,
body.dark-mode .community-card h3,
body.dark-mode .timeline-content h3,
body.dark-mode .faq-question {
    color: #E2E8F0;
}

body.dark-mode .feature-card p,
body.dark-mode .pricing-card p,
body.dark-mode .community-card p,
body.dark-mode .timeline-content p,
body.dark-mode .faq-answer p {
    color: #CBD5E0;
}

body.dark-mode .footer {
    background: #0F1419;
    border-top: 1px solid #2D3748;
}

body.dark-mode .footer-section p {
    color: #CBD5E0;
}

body.dark-mode .section-title,
body.dark-mode .hero h1,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: #E2E8F0;
}

body.dark-mode .section-subtitle,
body.dark-mode .hero-text p {
    color: #CBD5E0;
}

body.dark-mode .btn-secondary {
    background: transparent;
    border: 2px solid #24C7B8;
    color: #24C7B8;
}

body.dark-mode .btn-secondary:hover {
    background: rgba(36, 199, 184, 0.1);
}

body.dark-mode .price-amount {
    color: #E2E8F0;
}

body.dark-mode .timeline-dot {
    background: #24C7B8;
    border-color: #1A202C;
}

body.dark-mode .timeline:before {
    background: #2D3748;
}

body.dark-mode .floating-card {
    background: rgba(26, 32, 44, 0.95);
    border: 1px solid #2D3748;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

body.dark-mode .card-label {
    color: #A0AEC0;
}

body.dark-mode .card-value {
    color: #E2E8F0;
}

body.dark-mode .card-change {
    color: #A0AEC0;
}

body.dark-mode .card-subtitle {
    color: #A0AEC0;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, #0a0e14 0%, #0F223A 100%);
}

body.dark-mode .cta-content h2 {
    color: #FFFFFF;
}

body.dark-mode .cta-content p {
    color: #CBD5E0;
}

body.dark-mode a {
    color: #FFFFFF;
}

body.dark-mode a:hover {
    color: #24C7B8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 34, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--bright-teal);
}

.cta-btn {
    background: var(--bright-teal);
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 199, 184, 0.3);
}

.dark-mode-toggle {
    background: rgba(36, 199, 184, 0.1);
    border: 2px solid var(--bright-teal);
    color: var(--bright-teal);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.dark-mode-toggle:hover {
    background: rgba(36, 199, 184, 0.2);
    transform: rotate(180deg);
    box-shadow: 0 0 15px rgba(36, 199, 184, 0.3);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a3a5c 100%);
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(36, 199, 184, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--bright-teal) 0%, var(--matte-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--bright-teal);
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 199, 184, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--bright-teal);
    border: 2px solid var(--bright-teal);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: var(--bright-teal);
    color: #FFFFFF;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-badge {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.badge-free {
    background: var(--matte-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Floating Cards Animation */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 50px;
    right: 100px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    left: 50px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 100px;
    right: 50px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.card-change {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.card-change.positive {
    color: #48BB78;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg, var(--bright-teal), var(--matte-gold));
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bright-teal), var(--matte-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    border-color: rgba(36, 199, 184, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(36, 199, 184, 0.15);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.feature-icon-bg circle {
    fill: var(--bright-teal);
}

.feature-card:hover .feature-icon-bg {
    opacity: 0.15;
    transform: scale(1.1);
}

.feature-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bright-teal);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--primary-navy);
}

.feature-card h3 {
    font-size: 1.35rem;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.feature-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.feature-status.available {
    background: rgba(72, 187, 120, 0.1);
    color: #48BB78;
}

.feature-status.coming {
    background: rgba(36, 199, 184, 0.1);
    color: var(--bright-teal);
}

.feature-status.planned {
    background: rgba(199, 159, 79, 0.1);
    color: var(--matte-gold);
}

.feature-status.future {
    background: rgba(113, 128, 150, 0.1);
    color: var(--text-gray);
}

/* Roadmap Section */
.roadmap {
    padding: 100px 20px;
    background: var(--light-gray);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-gray);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 18px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--border-gray);
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
    background: var(--bright-teal);
    border-color: var(--bright-teal);
    box-shadow: 0 0 0 4px rgba(36, 199, 184, 0.2);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.timeline-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(36, 199, 184, 0.1);
    color: var(--bright-teal);
}

.timeline-item.active .timeline-status {
    background: var(--bright-teal);
    color: var(--white);
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
    background: var(--white);
}

.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);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--bright-teal);
    box-shadow: 0 10px 40px rgba(36, 199, 184, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bright-teal);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.pricing-badge.premium {
    background: var(--matte-gold);
}

.pricing-card h3 {
    font-size: 1.75rem;
    color: var(--primary-navy);
    margin: 1rem 0;
}

.price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.price-period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--border-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card button {
    width: 100%;
    margin-top: 1rem;
}

/* Community Section */
.community {
    padding: 100px 20px;
    background: var(--light-gray);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.community-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.community-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.community-link {
    color: var(--bright-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.community-link:hover {
    color: var(--matte-gold);
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--bright-teal);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-navy);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--bright-teal);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                padding 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a3a5c 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--bright-teal);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--bright-teal);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Legal Pages Footer Links */
.legal-footer-links {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.legal-footer-links a {
    color: var(--bright-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
}

.legal-footer-links a:hover {
    color: var(--matte-gold);
}

.legal-footer-links .separator {
    color: var(--border-gray);
}

body.dark-mode .legal-footer-links {
    color: #A0AEC0;
    border-top-color: #2D3748;
}

body.dark-mode .legal-footer-links .separator {
    color: #4A5568;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bright-teal), var(--matte-gold));
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(36, 199, 184, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(36, 199, 184, 0.4);
}

.go-to-top:active {
    transform: translateY(-2px);
}

.go-to-top svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 34, 58, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMenu 0.5s ease forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.5s; }

    .nav-links a {
        font-size: 1.5rem;
        padding: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Hide navbar CTA button on mobile */
    .nav-content > .cta-btn {
        display: none;
    }

    /* Adjust dark mode toggle position on mobile */
    .dark-mode-toggle {
        margin-left: 0.75rem;
        z-index: 1001;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }


    .features-grid,
    .pricing-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons button {
        width: 100%;
        max-width: 300px;
    }
}

@keyframes slideInMenu {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta button {
        width: 100%;
        min-height: 48px;
    }

    /* Stack legal footer links vertically on mobile */
    .legal-footer-links {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .legal-footer-links .separator {
        display: none;
    }

    .legal-footer-links a {
        font-size: 1rem;
        min-height: 48px;
    }

    /* Better spacing for small screens */
    .hero {
        padding: 120px 20px 80px;
    }

    section {
        padding: 60px 20px;
    }
}

/* Extra small screens (iPhone SE, small Android phones) */
@media (max-width: 375px) {
    .hero {
        padding: 100px 15px 60px;
    }

    section {
        padding: 50px 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .dark-mode-toggle {
        margin-left: 0.5rem;
    }

    .hero-badge {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

body.dark-mode .modal-content {
    background: #1A202C;
    border: 1px solid #2D3748;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(36, 199, 184, 0.1);
    color: var(--bright-teal);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

body.dark-mode .modal-header h2 {
    color: #E2E8F0;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.95rem;
}

body.dark-mode .form-group label {
    color: #E2E8F0;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--primary-navy);
}

body.dark-mode .form-group input {
    background: #2D3748;
    border-color: #4A5568;
    color: #E2E8F0;
}

.form-group input:focus {
    outline: none;
    border-color: var(--bright-teal);
    box-shadow: 0 0 0 3px rgba(36, 199, 184, 0.1);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-message {
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.5rem;
    margin-top: -0.5rem;
}

.form-message.success {
    color: #48BB78;
}

.form-message.error {
    color: #F56565;
}

#submitWaitlist {
    margin-top: 0.5rem;
}

#submitWaitlist:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.75rem;
    }
}
