:root {
    --primary: #85C441;
    /* Brand Green */
    --primary-glow: rgba(133, 196, 65, 0.4);
    --secondary: #ffffff;
    --bg-dark: #0B0F19;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #9CA3AF;
    --radius: 1.5rem;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(133, 196, 65, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 40%);
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar - Glassmorphism */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 10px;
    width: 95%;
    background: rgba(11, 15, 25, 0.9);
}

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

.logo {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6da332);
    color: #000 !important;
    /* Black text on green for contrast */
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(133, 196, 65, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(133, 196, 65, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section - Aurora & Centered */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: visible;
    background-color: var(--bg-dark);
    /* Aurora Background */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(133, 196, 65, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 15% 30%, rgba(133, 196, 65, 0.05) 0%, transparent 50%);
    background-size: 100% 100%;
}

.hero::after {
    display: none;
}

.hero::before {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.hero-content .badge {
    background: rgba(133, 196, 65, 0.1);
    color: var(--primary);
    border: 1px solid rgba(133, 196, 65, 0.3);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(133, 196, 65, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-main);
    letter-spacing: -2px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 20%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 50%;
    background: var(--primary);
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.btn-secondary {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

/* Phone Mockup - Centered & Floating */
.hero-image {
    perspective: 1000px;
    margin-top: -3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    background: #000;
    border-radius: 3rem;
    padding: 1rem;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 100px -30px rgba(133, 196, 65, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    max-width: 340px;
    border: 4px solid #333;
    transform: rotateY(0) rotateX(0);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.screen-content {
    background: #1F2937;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(133, 196, 65, 0.05) 0%, transparent 50%);
}

.chat-bubble {
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    max-width: 85%;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chat-bubble.received {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-bottom-left-radius: 0.25rem;
    align-self: flex-start;
}

.chat-bubble.sent {
    background-color: var(--primary);
    color: #000;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
    animation-delay: 0.8s;
    font-weight: 500;
}

.chat-bubble:nth-child(3) {
    animation-delay: 1.8s;
}

.chat-bubble:nth-child(4) {
    animation-delay: 2.8s;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-card {
    position: absolute;
    background: rgba(30, 40, 55, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.card-1 {
    top: 15%;
    right: -40px;
    color: var(--text-main);
}

.card-2 {
    bottom: 25%;
    left: -40px;
    color: var(--primary);
    animation-delay: 2s;
}

.card-1 i {
    color: #F59E0B;
}

.card-2 i {
    color: var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

/* Features - Bento Styling */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Universal Glass Card Styling (Features, FAQ, Steps, About) */
.feature-card,
.faq-item,
.step-item,
.about-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Mouse follow glow effect for all cards */
.feature-card::before,
.faq-item::before,
.step-item::before,
.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(133, 196, 65, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::before,
.faq-item:hover::before,
.step-item:hover::before,
.about-content:hover::before {
    opacity: 1;
}

.feature-card:hover,
.faq-item:hover,
.step-item:hover,
.about-content:hover {
    transform: translateY(-5px);
    border-color: rgba(133, 196, 65, 0.3);
    box-shadow: 0 10px 40px -10px rgba(133, 196, 65, 0.1);
}

/* Specific content adjustments */
.feature-card>*,
.faq-item>*,
.step-item>*,
.about-content>* {
    position: relative;
    z-index: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(133, 196, 65, 0.2), rgba(133, 196, 65, 0.05));
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(133, 196, 65, 0.2);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it Works */
.how-it-works {
    padding: 8rem 0;
    position: relative;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 100% 100%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
}



.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.subtitle {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
}

.steps-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(133, 196, 65, 0.2);
}

.step-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step-text p {
    color: var(--text-muted);
}

.image-side .gradient-box {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(133, 196, 65, 0.2), #0B0F19);
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 6rem;
    box-shadow:
        0 0 100px rgba(133, 196, 65, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.image-side .gradient-box::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(133, 196, 65, 0.1) 0%, transparent 50%);
    animation: rotate 10s linear infinite;
}

.big-icon {
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* About */
.about {
    padding: 8rem 0;
    text-align: center;
    background-image: radial-gradient(circle at 50% 50%, rgba(133, 196, 65, 0.05) 0%, transparent 60%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* FAQ */
.faq {
    padding: 6rem 0;
    position: relative;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 0% 0%, rgba(133, 196, 65, 0.05) 0%, transparent 50%);
}

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

/* .faq-item styles are handled by the grouped selector above */

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1.2rem;
}

.faq-list {
    list-style: none;
    padding: 0;
}

.faq-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.faq-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: #05080e;
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-right: 0;
        border-left: 0;
        border-top: 0;
        background: rgba(11, 15, 25, 0.95);
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container,
    .split-layout,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        transform: none;
    }

    .features-grid,
    .faq-grid {
        padding: 0 1rem;
    }

    .steps-list {
        text-align: left;
    }
}