:root {
    /* Colors */
    --background: 140, 10%, 4%;
    --foreground: 0, 0%, 98%;
    --card: 140, 10%, 8%;
    --card-foreground: 0, 0%, 98%;
    --popover: 140, 10%, 8%;
    --popover-foreground: 0, 0%, 98%;
    --primary: 142, 70%, 50%;
    /* WhatsApp Green */
    --primary-foreground: 144, 10%, 5%;
    --secondary: 140, 10%, 15%;
    --secondary-foreground: 0, 0%, 98%;
    --muted: 140, 10%, 15%;
    --muted-foreground: 240, 5%, 65%;
    --accent: 142, 70%, 50%;
    --accent-foreground: 144, 10%, 5%;
    --destructive: 0, 62.8%, 30.6%;
    --destructive-foreground: 0, 0%, 98%;
    --border: 140, 10%, 15%;
    --input: 140, 10%, 15%;
    --ring: 142, 70%, 50%;
    --radius: 0.75rem;

    /* Fonts */
    --font-sans: "Inter", sans-serif;
    --font-display: "Outfit", sans-serif;
}

html,
body {
    overflow-x: hidden;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    background-image:
        radial-gradient(circle at 50% 0%, hsla(var(--primary), 0.15), transparent 40%),
        radial-gradient(circle at 0% 50%, hsla(var(--primary), 0.05), transparent 30%),
        radial-gradient(circle at 100% 80%, hsla(var(--primary), 0.05), transparent 30%);
    background-attachment: fixed;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

/* Utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 1280px;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

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

.font-normal {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.container-sm {
    max-width: 896px;
    /* max-w-4xl roughly */
    margin: 0 auto;
}

.text-primary {
    color: hsl(var(--primary));
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.bg-primary {
    background-color: hsl(var(--primary));
}

.glass {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background-color: rgb(255 255 255 / 0.05);
    /* bg-white/5 */
    backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: hsla(var(--primary), 0.5);
    transform: translateY(-4px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 20px -5px hsl(var(--primary));
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: hsla(var(--primary), 0.9);
    transform: scale(1.02);
}

.btn-lg {
    height: 3.5rem;
    /* h-14 */
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.125rem;
    /* text-lg */
}

.btn-white {
    background-color: white;
    color: black;
}

.btn-white:hover {
    background-color: #e5e5e5;
}

.section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    /* 3xl */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
        /* 5xl */
    }
}

.section-desc {
    font-size: 1.125rem;
    /* lg */
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    /* 2xl */
    margin: auto;
}

.center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(255 255 255 / 0.05);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    letter-spacing: -0.025em;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: hsl(var(--muted-foreground));
    }
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: block;
    }
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    padding: 0.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background-color: hsl(var(--background));
    border-bottom: 1px solid rgb(255 255 255 / 0.05);
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
}

.mobile-link:hover {
    color: hsl(var(--primary));
}

/* Hero */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: hsla(var(--primary), 0.1);
    border: 1px solid hsla(var(--primary), 0.2);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
        /* 7xl */
    }
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, hsl(var(--primary)), #86efac);
    /* green-300 */
}

.hero-desc {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 32rem;
    line-height: 1.625;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
    }
}

.price-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.5rem;
    padding: 0 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgb(255 255 255 / 0.1);
    background-color: rgb(255 255 255 / 0.05);
    /* bg-white/5 */
    backdrop-filter: blur(4px);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.price-period {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-0.25rem);
}

.feature-icon-wrapper {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: hsla(var(--primary), 0.1);
    width: fit-content;
}

.feature-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.benefits-list {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.benefit-item:hover {
    background-color: rgb(255 255 255 / 0.05);
}

.icon-check-lg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.benefit-item p {
    font-size: 1.125rem;
    color: #d1d5db;
    /* gray-300 */
    margin: 0;
}

/* Steps */
.steps-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    z-index: 10;
    text-align: center;
}

.step-circle {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid hsla(var(--primary), 0.5);
    box-shadow: 0 0 20px -5px hsl(var(--primary));
}

.step-circle span {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Pricing */
/* Pricing Grid New */
.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1024px;
        margin-inline: auto;
    }
}

.plan-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background-color: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.1);
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-0.5rem);
    border-color: hsla(var(--primary), 0.3);
}

.plan-card.border-primary {
    border-color: hsla(var(--primary), 0.5);
    background-color: rgb(255 255 255 / 0.07);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.plan-header {
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.plan-price .currency {
    font-size: 1.5rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.plan-price .period {
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    margin-bottom: 40px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    /* base */
    color: hsl(var(--muted-foreground));
}

.icon-check-sm {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.corner-glow.small {
    width: 10rem;
    height: 10rem;
    filter: blur(60px);
}


/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
    padding: 0 1rem;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: none;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 1.125rem;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.accordion-trigger:hover {
    color: hsl(var(--primary));
}

.accordion-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.content-inner {
    padding-bottom: 1rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Footer */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-text {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .footer-text {
        text-align: right;
    }
}

/* Animations (Simple) */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.fade-up {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(5deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}

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

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

.hidden {
    display: none !important;
}

@keyframes float {

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Dashboard Image Styling */
.image-wrapper {
    position: relative;
    border-radius: 1rem;
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgb(255 255 255 / 0.1);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.float-card {
    position: absolute;
    padding: 1rem;
    background-color: hsla(var(--background), 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(255 255 255 / 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.float-card p {
    margin: 0;
}

.float-left {
    top: 25%;
    left: -2rem;
}

.float-right {
    bottom: 25%;
    right: -2rem;
}

.icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.green-box {
    background-color: rgba(34, 197, 94, 0.2);
    color: rgb(34, 197, 94);
}

.blue-box {
    background-color: rgba(59, 130, 246, 0.2);
    color: rgb(59, 130, 246);
}

/* Chart Bars */
.chart-bars {
    height: 10rem;
    width: 100%;
    background-color: rgb(255 255 255 / 0.05);
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0.5rem;
    gap: 0.25rem;
}

.bar {
    width: 100%;
    background-color: hsla(var(--primary), 0.5);
    border-top-left-radius: 0.125rem;
    border-top-right-radius: 0.125rem;
    transition: background-color 0.2s;
    height: var(--h);
}

.bar:hover {
    background-color: hsl(var(--primary));
}

/* Darker Section Backgrounds */
.bg-darker {
    background-color: rgb(0 0 0 / 0.4);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ade80;
    /* green-400 */
    font-family: monospace;
    font-size: 0.875rem;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #4ade80;
}

/* Stats Card */
.stats-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgb(255 255 255 / 0.1);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(255 255 255 / 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-box {
    padding: 1rem;
    background-color: rgb(255 255 255 / 0.05);
    border-radius: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Background skew for sections */
.bg-skew {
    position: absolute;
    inset: 0;
    background-color: hsla(var(--primary), 0.05);
    transform: skewY(-3deg) scale(1.1);
    transform-origin: top left;
    z-index: 0;
    pointer-events: none;
}

/* Visual Glow Effects */
.background-glow {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 9999px;
    filter: blur(128px);
    pointer-events: none;
    z-index: -1;
}

.bg-primary-glow {
    background-color: hsla(var(--primary), 0.2);
    top: 5rem;
    left: 25%;
}

.bg-blue-glow {
    background-color: rgba(59, 130, 246, 0.1);
    bottom: 0;
    right: 25%;
}

.image-glow {
    position: absolute;
    inset: -0.25rem;
    border-radius: 1rem;
    filter: blur(8px);
    opacity: 0.3;
    transition: all 1s;
}

.group:hover .image-glow {
    opacity: 0.5;
    transition-duration: 0.2s;
}

.top-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, transparent, hsl(var(--primary)), transparent);
}

.corner-glow {
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 16rem;
    height: 16rem;
    background-color: hsla(var(--primary), 0.2);
    border-radius: 9999px;
    filter: blur(80px);
}

.visual-glow {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, hsl(var(--primary)), #4ade80);
    border-radius: 1rem;
    filter: blur(40px);
    opacity: 0.2;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.cta-shadow {
    box-shadow: 0 0 40px -10px hsl(var(--primary));
}

.icon-sm {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.icon-logo {
    width: 2rem;
    height: 2rem;
    fill: hsla(var(--primary), 0.2);
}

.step-connecting-line {
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, hsla(var(--primary), 0.3), transparent);
    z-index: 0;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .w-full-mobile {
        width: 100%;
    }
}