:root {
    --primary-color: #15803d;
    /* Green 700 */
    --primary-hover: #14532d;
    /* Green 800 */
    --secondary-color: #000000;
    /* Black */
    --accent-red: #EF4444;
    --accent-yellow: #EAB308;
    --dark-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-main: #18181B;
    /* Zinc 900 */
    --text-muted: #52525B;
    /* Zinc 600 */
    --glass-border: #E4E4E7;
    --gradient-1: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    background-image: radial-gradient(#E5E7EB 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animation */
/* Background Animation */
.background-globes {
    display: none;
}

.globe {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.globe-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -10%;
    left: -10%;
}

.globe-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.globe-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #818cf8;
}

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

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

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

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--primary-color);
}

.btn-outline:hover {
    border-color: #818cf8;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4rem 5%;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--secondary-color);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stats-container {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    background: var(--glass-border);
    height: 40px;
}

/* Glass Cards */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--card-bg);
    /* backdrop-filter: blur(20px); */
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-card {
    width: 380px;
    position: relative;
    z-index: 10;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sub-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.card-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.float-card {
    position: absolute;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 240px;
    animation: float 6s infinite ease-in-out;
}

.card-1 {
    top: 50px;
    right: 0;
    animation-delay: -2s;
}

.card-2 {
    bottom: 50px;
    left: -20px;
    animation-delay: -4s;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: 400px;
    padding: 2.5rem;
    border-radius: 20px;
    border: none;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.tab {
    flex: 1;
    text-align: center;
    padding-bottom: 1rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.auth-form {
    display: none;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.input-group input,
.styled-select {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    border: 1px solid var(--glass-border);
    background: #f1f5f9;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.styled-select:focus {
    border-color: var(--primary-color);
}

/* Animation utilities */
/* Mobile Responsive */
@media (max-width: 900px) {

    /* Navbar */
    .navbar {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1rem;
    }

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

    /* Hero */
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
        font-size: 1rem;
    }

    .cta-group {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .stats-container {
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-visual {
        height: 400px;
        transform: scale(0.9);
    }

    .glass-card.main-card {
        width: 100%;
        max-width: 320px;
    }

    /* Sections */
    section {
        padding: 3rem 5%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 100%;
        max-width: 400px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-card {
        width: 100%;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 1.5rem auto;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
        /* In a real app, use a hamburger menu */
    }

    /* Simple mobile menu fallback for this demo */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .float-card {
        display: none;
        /* Hide floating elements on very small screens */
    }
}

/* Sections */
section {
    padding: 6rem 10%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works - Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    flex: 1;
    min-width: 250px;
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(21, 128, 61, 0.1);
    position: absolute;
    top: 0;
    right: 1.5rem;
    line-height: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(236, 236, 236, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #f8fafc;
    transform: scale(1.02);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Pricing Section */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    width: 350px;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {

    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
    /* Slight make it bigger by default */
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.plan-name {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.features-list li i {
    color: #4ade80;
}


/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(0, 0, 0, 0.03);
    font-family: serif;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.reviewer-info .role {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.rating {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-card p {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Footer */
/* Footer */
.footer {
    background: #FAFAFA;
    border-top: 1px solid var(--glass-border);
    padding: 6rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    background: white;
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--text-main);
    width: 100%;
    outline: none;
    transition: border 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}