:root {
    --primary-color: #2563EB;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.3);
    --secondary-color: #0f172a;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(140deg, #306ee8 0%, #3038e8 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(228, 100%, 74%, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(0, 10%, 6%, 0.15) 0px, transparent 50%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* removed smooth scroll */
}

::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 2px, transparent 2px);
    background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
    background-attachment: fixed;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    /* Fallback/Base color */
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: var(--gradient-primary);
    background-size: 120% 120%;
    animation: gradientBG 20s ease infinite;
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1.25rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--bg-white);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-medium) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
}

.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 0;
}

.feature-card:hover {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card>* {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.feature-card:hover .feature-icon {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Reviews Section */
.reviews {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, rgba(248, 250, 252, 0.5) 100%);
    position: relative;
}

.reviews-container {
    max-width: 1280px;
    margin: 0 auto;
}

.reviews-grid {
    column-count: 3;
    column-gap: 2.5rem;
    margin-top: 4rem;
}

@media (max-width: 1024px) {
    .reviews-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        column-count: 1;
    }
}

.review-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    margin-bottom: 2.5rem;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
}

.review-card:hover {
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.review-card:hover::before {
    transform: scaleY(1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    object-fit: cover;
}

.review-card:hover .reviewer-avatar {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.reviewer-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
    font-size: 1.02rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    background: var(--bg-white);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.3;
    pointer-events: none;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 32px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    box-shadow: 0 24px 64px rgba(37, 99, 235, 0.2);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--success-color);
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.price {
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    letter-spacing: -2px;
}

.price-currency {
    font-size: 2rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.checkmark {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 3.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.pricing-button:hover::before {
    left: 100%;
}

.pricing-button:hover {
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li:hover {
    /* remove transform */
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
}

.footer-section a:hover {
    color: white;
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-item {
        padding: 1.25rem 1.5rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card,
    .review-card {
        padding: 2rem;
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .price {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 3rem;
    }

    .pricing-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.final-cta .cta-button {
    background: white;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Mobile responsiveness for Final CTA */
@media (max-width: 768px) {
    .final-cta {
        padding: 4rem 1.5rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background-color: #f2f2f2;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-medium);
    line-height: 1.6;
    border-top: 1px solid #f3f4f6;
    margin-top: 0;
}

details:not([open]) .faq-answer {
    display: none;
}

/* For details element reset */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

/* Updated Community App Section */
.community-app-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.community-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.community-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.community-image img:hover {
    transform: translateY(-5px);
}

.community-content {
    text-align: left;
}

.policy-badge {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.community-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.community-content .highlight-text {
    color: var(--primary-color);
}

.community-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.free-offer-box {
    background: #fff;
    border: 2px solid #f3f4f6;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.free-offer-box h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.join-count {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-icon-small {
    font-size: 1.2rem;
}

.download-btn {
    display: inline-block;
    background: black;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
    width: 100%;
    text-align: center;
}

.download-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .community-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .community-content {
        text-align: center;
        order: 2;
    }

    .community-image {
        order: 1;
    }

    .feature-list li {
        justify-content: center;
    }


}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}