@import url('fonts.css');
:root {
    --color-bg: #050816;
    --color-bg-alt: #070b1f;
    --color-primary: #4f46e5;
    --color-primary-soft: rgba(79, 70, 229, 0.25);
    --color-accent: #f97316;
    --color-accent-soft: rgba(249, 115, 22, 0.2);
    --color-glass: rgba(15, 23, 42, 0.65);
    --color-glass-strong: rgba(15, 23, 42, 0.9);
    --color-border-subtle: rgba(148, 163, 184, 0.35);
    --color-text-main: #e5e7eb;
    --color-text-soft: #9ca3af;
    --color-text-strong: #f9fafb;
    --color-success: #22c55e;
    --container-border: 1px solid rgba(213, 227, 247, 0.75);

    --gradient-primary: linear-gradient(135deg, #a8e546, #637df1, #a855f7);
    --gradient-accent: linear-gradient(90deg, #a855f7, #637df1);
    --container-gradient-bg: radial-gradient(
            circle at top left,
            rgba(168, 229, 70, 0.7),
            transparent
        ),
        radial-gradient(circle at bottom right, rgb(66, 97, 235), transparent),
        var(--color-glass);
    --gradient-bg-orbit: radial-gradient(
            circle at top,
            #4f46e5 0,
            transparent 55%
        ),
        radial-gradient(circle at 20% 80%, #f97316 0, transparent 55%),
        radial-gradient(circle at 80% 60%, #22c55e 0, transparent 55%);

    --glass-blur: 5px;
    --glass-radius-lg: 26px;
    --glass-radius-md: 18px;
    --glass-radius-pill: 50vw;

    --max-width: 1170px;
    --section-padding-y: 5rem;
    --section-padding-x: 1.5rem;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.55);
    --shadow-chip: 0 10px 25px rgba(15, 23, 42, 0.45);
    --shadow-glow-primary: 0 0 40px rgba(79, 70, 229, 0.55);
    --shadow-glow-accent: 0 0 40px rgba(249, 115, 22, 0.55);

    --font-main: "vazir", sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI";
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main) !important;
}

body {
    background: radial-gradient(
        circle at top,
        #020617 0,
        #020617 40%,
        #000 100%
    );
    color: var(--color-text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    direction: rtl;
}

body:has(.protector-active) {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -40%;
    background: var(--gradient-bg-orbit);
    opacity: 0.18;
    filter: blur(60px);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
    mix-blend-mode: multiply;
    opacity: 0.9;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.icon {
    width: 26px;
}

.protector {
    position: absolute;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    top: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-out opacity;
    opacity: 0;
}
.protector-active {
    opacity: 1;
}
.protector-img-container {
    margin-top: 76px;
    background: rgba(0, 0, 15, 0.8);
    backdrop-filter: blur(8px);
    width: 300px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 25px;
    border: 1px solid rgba(148, 163, 184, 0.95);
    gap: 20px;
}

.squares-wrapper {
    display: grid;
    width: 60px;
    height: 60px;
    grid-template-rows: repeat(2, 25px);
    grid-template-columns: repeat(2, 25px);
    place-content: center;
    place-items: center;
}
.growing-square {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
}
.gs1 {
    animation: gs1 1s ease-in-out infinite alternate;
}
.gs2 {
    animation: gs2 1s ease-in-out infinite alternate;
}
.gs3 {
    animation: gs3 1s ease-in-out infinite alternate;
}
.gs4 {
    animation: gs4 1s ease-in-out infinite alternate;
}
@keyframes gs1 {
    0% {
        transform: none;
    }
    100% {
        transform: translate(5px, -5px);
        border-radius: 5px;
        background: var(--color-success);
    }
}
@keyframes gs2 {
    0% {
        transform: none;
    }
    100% {
        transform: translate(-5px, -5px);
        border-radius: 5px;
        background: #a855f7;
    }
}
@keyframes gs3 {
    0% {
        transform: none;
    }
    100% {
        transform: translate(5px, 5px);
        border-radius: 5px;
        background: royalblue;
    }
}
@keyframes gs4 {
    0% {
        transform: none;
    }
    100% {
        transform: translate(-5px, 5px);
        border-radius: 5px;
        background: white;
    }
}

.page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.shell {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(5px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.92),
        rgba(15, 23, 42, 0.75),
        transparent
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 1.5rem;
    flex-direction: row-reverse;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-orb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(
        from 180deg,
        #4f46e5,
        #a855f7,
        #f97316,
        #22c55e,
        #4f46e5
    );
    padding: 2px;
    position: relative;
    box-shadow: var(--shadow-glow-primary);
}

.logo-orb-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, #f9fafb, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-weight: 700;
    font-size: 0.9rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-strong);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-text-soft);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: row-reverse;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: var(--glass-radius-pill);
    background: radial-gradient(
            circle at top left,
            rgba(79, 70, 229, 0.4),
            transparent
        ),
        rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(129, 140, 248, 0.4);
    font-size: 0.7rem;
    color: var(--color-text-soft);
    box-shadow: var(--shadow-chip);
}

.nav-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-success);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--glass-radius-pill);
    background: var(--color-primary);
    color: #f9fafb;
    font-size: 0.8rem;
    font-weight: 600;
    border: #555 1px solid;
    box-shadow: var(--shadow-glow-primary);
    cursor: pointer;
    transition: 0.15s ease;
    white-space: nowrap;
}
.nav-cta img{
    width: 20px;
}

.nav-cta:hover {
    border: var(--container-border);
}

.nav-cta:active {
    box-shadow: var(--shadow-soft);
}

.nav-links {
    display: none;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-soft);
}

.nav-link {
    position: relative;
    padding-bottom: 0.1rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-accent);
    transition: width 0.18s ease;
}

.nav-link:hover::after {
    width: 100%;
}

main {
    flex: 1;
}

.hero {
    padding: 3.5rem 0 4.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.3rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: var(--shadow-chip);
    font-size: 0.75rem;
    color: var(--color-text-soft);
    width: fit-content;
}

.hero-pill-badge {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.18);
    border: 1px solid rgba(129, 140, 248, 0.7);
    color: #c7d2fe;
    font-size: 0.7rem;
}

.hero-title {
    font-size: 2.4rem;
    line-height: 1.2;
    color: var(--color-text-strong);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--color-text-soft);
    max-width: 32rem;
    text-align: justify;
}

.hero-subtitle strong {
    color: #e5e7eb;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--glass-radius-pill);
    background: var(--gradient-primary);
    color: #f9fafb;
    font-size: 0.9rem;
    font-weight: 600;
    border: var(--container-border);
    box-shadow: var(--shadow-glow-primary);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary span.icon {
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    filter: brightness(1.05);
    box-shadow: 0 0 45px rgba(79, 70, 229, 0.8);
}

.btn-primary:active {
    transform: translateY(0) scale(0.99);
    box-shadow: var(--shadow-soft);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.1rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--color-text-main);
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: var(--shadow-chip);
    transition: background 0.15s ease, transform 0.15s ease,
        border-color 0.15s ease;
}

.btn-ghost span.icon {
    font-size: 1rem;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.8);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.78rem;
    color: var(--color-text-soft);
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-meta-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-success);
    box-shadow: 0 0 12px rgba(173, 255, 47, 0.4);
}

.hero-right {
    position: relative;
    min-height: 320px;
}

.hero-card {
    position: relative;
    border-radius: var(--glass-radius-lg);
    background: var(--container-gradient-bg);
    border: var(--container-border);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.4rem 1.2rem;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    animation: bounce 3.2s ease-out infinite;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    65% {
        transform: translateY(2px);
    }
    85% {
        transform: translateY(-1px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-direction: row-reverse;
}

.hero-card-title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-card-title span.label {
    font-size: 0.7rem;
    color: #c7d2fe;
}

.hero-card-title span.main {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-strong);
}

.hero-card-badge {
    padding: 0.25rem 0.7rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    color: var(--color-text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-direction: row-reverse;
}

.hero-card-badge span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-success);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 1.1rem;
    align-items: flex-start;
}

.hero-card-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mini-label {
    font-size: 0.7rem;
    color: rgba(180, 197, 221, 0.9);
}

.student-card {
    border-radius: var(--glass-radius-md);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.7rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: center;
    box-shadow: var(--shadow-chip);
    direction: rtl;
}

.student-avatar-frame {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    padding: 2px;
    background: conic-gradient(
        from 180deg,
        rgba(79, 70, 229, 0.9),
        rgba(249, 115, 22, 0.9),
        rgba(236, 72, 153, 0.9),
        rgba(79, 70, 229, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.student-avatar-frame img {
    border-radius: 18px;
}

.student-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, #f9fafb, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #020617;
}

.student-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.student-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-strong);
}

.student-meta {
    font-size: 0.7rem;
    color: var(--color-text-soft);
}

.student-tag {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: #facc15;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-direction: row-reverse;
}

.student-tag span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #facc15;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.9);
}

.hero-card-col .stacked {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    padding: 0.25rem 0.6rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    color: var(--color-text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.chip span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(129, 140, 248, 0.9);
}

.bot-card {
    border-radius: var(--glass-radius-md);
    background: radial-gradient(
            circle at top left,
            rgba(79, 70, 229, 0.4),
            transparent
        ),
        rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(129, 140, 248, 0.7);
    padding: 0.7rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--shadow-glow-primary);
}

.bot-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-direction: row-reverse;
}

.bot-id {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #e5e7eb;
    flex-direction: row-reverse;
}

.bot-id span.icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 1px solid rgba(129, 140, 248, 0.7);
}

.bot-status {
    font-size: 0.7rem;
    color: #bbf7d0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-direction: row-reverse;
}

.bot-status span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-success);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.bot-message {
    font-size: 0.75rem;
    color: var(--color-text-soft);
}

.hero-card-footer {
    margin-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem;
    color: var(--color-text-soft);
    flex-direction: row-reverse;
}

.hero-card-footer strong {
    color: #e5e7eb;
    font-weight: 500;
}

.hero-card-footer-pill {
    padding: 0.3rem 0.7rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.hero-card-footer-pill span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
}

.hero-orbit {
    position: absolute;
    inset: -20%;
    border-radius: var(--glass-radius-lg);
    border: 1px dashed rgba(148, 163, 184, 0.25);
    opacity: 0.4;
    pointer-events: none;
}

section {
    padding: var(--section-padding-y) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.section-kicker {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.9);
}

.section-title {
    font-size: 1.6rem;
    color: var(--color-text-strong);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.features {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card {
    border-radius: var(--glass-radius-lg);
    background: var(--color-glass-strong);
    border: 1px solid var(--color-border-subtle);
    padding: 1.3rem 1.2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at top,
        rgba(79, 70, 229, 0.4),
        transparent 60%
    );
    opacity: 0.4;
    pointer-events: none;
}

.feature-icon {
    width: 37px;
    height: 37px;
    border-radius: 14px;
    background: rgba(201, 214, 247, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-chip);
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-text-strong);
    position: relative;
    z-index: 1;
}

.feature-body {
    font-size: 0.85rem;
    color: var(--color-text-soft);
    position: relative;
    z-index: 1;
}

.feature-meta {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.95);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
    flex-direction: row-reverse;
}

.feature-meta span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
}

.flow {
    position: relative;
}

.flow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.flow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: flex-start;
}

.flow-step-index {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #e5e7eb;
    box-shadow: var(--shadow-chip);
}

.flow-step-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.flow-step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-strong);
}

.flow-step-text {
    font-size: 0.85rem;
    text-align: justify;
    color: var(--color-text-soft);
}

.flow-step-tag {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.95);
}

.flow-panel {
    border-radius: var(--glass-radius-lg);
    background: var(--color-glass-strong);
    border: 1px solid var(--color-border-subtle);
    padding: 1.3rem 1.2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
}

.flow-panel::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at top,
        rgba(79, 70, 229, 0.4),
        transparent 60%
    );
    opacity: 0.4;
    pointer-events: none;
}

.flow-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    flex-direction: row-reverse;
}

.flow-panel-title {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.flow-panel-title span.label {
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.95);
}

.flow-panel-title span.main {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-strong);
}

.flow-panel-pill {
    padding: 0.25rem 0.7rem;
    border-radius: var(--glass-radius-pill);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.7rem;
    color: var(--color-text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.flow-panel-pill span.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
}

.flow-panel-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.flow-toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--color-text-soft);
    flex-direction: row-reverse;
}

.toggle {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.toggle-knob {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-glow-primary);
}

.flow-panel-note {
    font-size: 0.78rem;
    color: var(--color-text-soft);
}

.frame-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.frame-card {
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--color-text-soft);
}

.frame-preview {
    border-radius: 12px;
    height: 46px;
    background: linear-gradient(
        135deg,
        var(--color-success),
        var(--color-primary)
    );
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-preview-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, #f9fafb, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #020617;
    font-weight: 600;
}

.frame-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.frame-label {
    font-size: 0.7rem;
    color: #e5e7eb;
}

.frame-tag {
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.65rem;
    color: rgba(148, 163, 184, 0.95);
}

.flow-panel-footer {
    margin-top: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-soft);
    position: relative;
    z-index: 1;
    flex-direction: row-reverse;
}

.flow-panel-footer strong {
    color: #e5e7eb;
    font-weight: 500;
}

.cta {
    padding-bottom: 4.5rem;
}

.cta-card {
    border-radius: var(--glass-radius-lg);
    background: var(--container-gradient-bg);
    border: var(--container-border);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at top,
        rgba(79, 70, 229, 0.5),
        transparent 60%
    );
    opacity: 0.5;
    pointer-events: none;
}

.cta-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cta-kicker {
    font-size: 1.75rem;
    font-weight: 400;
    color: rgba(191, 219, 254, 0.9);
    text-align: center;
}

.cta-title {
    font-size: 1.4rem;
    text-align: center;
    color: var(--color-text-strong);
}

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

.highlight-green {
    background: linear-gradient(135deg, #56f916, #05b331);
    -webkit-background-clip: text;
    color: transparent;
}

.cta-text {
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-text-soft);
    max-width: 26rem;
}

.cta-actions {
    margin-top: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-start-btn {
    width: 100%;
}

.cta-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-label {
    font-size: 0.75rem;
    color: rgba(191, 219, 254, 0.9);
}

.cta-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-direction: row-reverse;
}

.cta-input {
    flex: 1;
    border-radius: var(--glass-radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    color: var(--color-text-main);
    outline: none;
}

.cta-input::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.pair-btn {
    width: 48%;
    height: 45px;
    justify-content: center;
    align-items: center;
}

.footer {
    padding: 1rem 0;
    font-size: 0.75rem;
    color: var(--color-text-soft);
    border-top: 1px solid rgba(15, 23, 42, 0.6);
}

.footer-shell {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-copy {
    font-weight: 500;
}

.footer-tagline {
    opacity: 0.75;
    font-size: 0.7rem;
}

.footer-social {
    display: flex;
    gap: .5rem;
}

.footer-social img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-social img.eitaa-icon{
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.6;
}

@media (max-width: 1160px) {
    .hero-card-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .flow-layout,
    .cta-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-left {
        align-items: center;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .nav-pill {
        display: none;
    }
    .pair-btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .frame-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-card-grid {
        grid-template-columns: 1fr;
    }
    .flow-panel-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .frame-card:nth-child(3) {
        grid-column: 1/3;
    }
    .footer-social {
        justify-content: center;
    }
}

@media (min-width: 902px) {
    .flow-panel-footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 405px) {
    .flow-panel-header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
