﻿:root {
    --primary: #1FA971;
    --primary-dark: #15825A;
    --dark: #0B0F0E;
    --dark2: #111714;
    --dark3: #161D1A;

    /* Dynamic Theme Variables */
    --bg-body: #0B0F0E;
    --text-main: #E8EDEB;
    --text-sec: #7A9690;
    --text-dim: #9BBAB2;
    --card-bg: rgba(255, 255, 255, .024);
    --card-border: rgba(255, 255, 255, .08);
    --card-hover-bg: rgba(31, 169, 113, .08);
    --card-selected-bg: rgba(31, 169, 113, .08);
    --icon-bg: rgba(31, 169, 113, .12);
    --grain-opacity: 0.5;
    --logo-text: #fff;
    --border-color: rgba(31, 169, 113, .22);
}

body.light-mode {
    --bg-body: #F8FAFC;
    --text-main: #1e293b;
    --text-sec: #64748b;
    --text-dim: #94a3b8;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-hover-bg: #f0fdf4;
    --card-selected-bg: #dcfce7;
    --icon-bg: #dcfce7;
    /* Light green bg for icons */
    --grain-opacity: 0.05;
    --logo-text: #1e293b;
    --border-color: #cbd5e1;
    --dark: #F8FAFC;
    /* Overwrite for compatibility */
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.3s, color 0.3s;
}

/* GRAIN */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27300%27 height=%27300%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.75%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27300%27 height=%27300%27 filter=%27url(%23n)%27 opacity=%270.035%27/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9997;
    opacity: var(--grain-opacity)
}

/* BG GRADIENT */
.bg {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(31, 169, 113, .12) 0%, transparent 60%), radial-gradient(ellipse 40% 35% at 70% 70%, rgba(31, 169, 113, .06) 0%, transparent 60%);
    z-index: 0
}

.bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(31, 169, 113, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 169, 113, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%)
}

/* CONTAINER */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    padding: 40px 5%;
    animation: fadeUp .7s ease both
}

/* HEADER */
.header {
    text-align: center;
    margin-bottom: 56px
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(31, 169, 113, .3)
}

.logo-text {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--logo-text);
    letter-spacing: -.02em
}

.logo-text em {
    color: var(--primary);
    font-style: normal
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(31, 169, 113, .1);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 20px
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.6s ease infinite
}

h1 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin-bottom: 16px;
    color: var(--text-main);
}

h1 .g {
    color: var(--primary);
    position: relative;
    display: inline-block
}

h1 .g::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px
}

.sub {
    font-size: 1.02rem;
    color: var(--text-sec);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px
}

@media(max-width:720px) {
    .cards {
        grid-template-columns: 1fr
    }
}

.card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 24px;
    padding: 42px 36px;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    text-align: center
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 169, 113, .35), transparent);
    opacity: 0;
    transition: opacity .35s
}

.card:hover {
    border-color: rgba(31, 169, 113, .3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow-color, rgba(0, 0, 0, .3)), 0 0 0 1px rgba(31, 169, 113, .1)
}

.card:hover::before {
    opacity: 1
}

.card.selected {
    border-color: var(--primary);
    background: var(--card-selected-bg);
    box-shadow: 0 20px 60px rgba(31, 169, 113, .18), inset 0 0 0 1px rgba(31, 169, 113, .2)
}

.card.selected .check {
    opacity: 1;
    transform: scale(1)
}

.check {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .7rem;
    opacity: 0;
    transform: scale(.8);
    transition: all .3s
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--icon-bg);
    border: 1px solid rgba(31, 169, 113, .2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: all .35s
}

.card:hover .icon-wrap {
    background: rgba(31, 169, 113, .18);
    transform: scale(1.05)
}

.card.selected .icon-wrap {
    background: rgba(31, 169, 113, .2)
}

.card h2 {
    font-family: "Outfit", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -.02em
}

.card p {
    font-size: .9rem;
    color: var(--text-sec);
    line-height: 1.65;
    margin-bottom: 20px
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--text-dim)
}

.features li i {
    color: var(--primary);
    font-size: .7rem;
    width: 16px
}

/* BUTTON */
.btn-wrap {
    text-align: center
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 48px;
    border-radius: 14px;
    box-shadow: 0 0 50px rgba(31, 169, 113, .32);
    transition: all .3s;
    border: none;
    cursor: pointer;
    font-family: "Outfit", sans-serif
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 70px rgba(31, 169, 113, .5)
}

.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none
}

.btn i {
    font-size: 1.1rem
}

/* BACK LINK */
.back {
    position: absolute;
    top: 30px;
    left: 5%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-sec);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
    z-index: 10
}

.back:hover {
    color: var(--primary);
    gap: 12px
}

.back i {
    font-size: .9rem
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}