@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg: #05070b;
    --surface: #0b0f16;
    --surface-2: #10151e;
    --line: rgba(255,255,255,.09);
    --text: #f5f7fa;
    --muted: #8c96a8;
    --orange: #ff9900;
    --orange-light: #ffb13b;
    --green: #4ade80;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 50% -10%, rgba(255,153,0,.08), transparent 32%),
        var(--bg);

    color: var(--text);

    font-family: "DM Sans", sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--orange);
    color: #111;
}


/* ================= NAVBAR ================= */

.navbar {
    height: 74px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(5,7,11,.82);

    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: linear-gradient(135deg,#ff9900,#ffb84d);

    color: #111;

    font-size: 19px;

    box-shadow: 0 0 25px rgba(255,153,0,.18);
}

.brand strong {
    display: block;

    font-family: "Space Grotesk";

    font-size: 15px;
}

.brand span {
    display: block;

    color: #697385;

    font-size: 9px;

    letter-spacing: .8px;
}

.navbar nav {
    display: flex;
    gap: 34px;
}

.navbar nav a {
    color: #8d96a6;

    font-size: 12px;

    transition: .2s;
}

.navbar nav a:hover {
    color: white;
}

.github-nav {
    padding: 9px 15px;

    border: 1px solid var(--line);

    border-radius: 8px;

    font-size: 12px;

    background: rgba(255,255,255,.03);
}


/* ================= HERO ================= */

.hero {
    min-height: 720px;

    padding: 100px 8% 120px;

    display: grid;

    grid-template-columns: 1fr .9fr;

    gap: 80px;

    align-items: center;

    position: relative;
}

.hero-background {
    position: absolute;

    width: 600px;
    height: 600px;

    right: -150px;
    top: 20px;

    background: rgba(255,153,0,.07);

    filter: blur(100px);

    border-radius: 50%;

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

.status-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 12px;

    border: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.035);

    border-radius: 50px;

    color: #a8b0be;

    font-size: 10px;

    letter-spacing: 1.5px;

    margin-bottom: 28px;
}

.pulse-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 12px rgba(74,222,128,.7);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.8);
    }
}

.hero h1 {
    font-family: "Space Grotesk";

    font-size: clamp(54px,6.3vw,88px);

    line-height: .95;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

.hero h1 em {
    display: block;

    font-style: normal;

    background: linear-gradient(
        100deg,
        #ff9900,
        #ffd08a
    );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-text {
    max-width: 620px;

    color: #9aa4b5;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-actions {
    display: flex;

    gap: 12px;

    margin-bottom: 45px;
}

.primary-btn,
.ghost-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 13px 19px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 700;

    transition: .25s;
}

.primary-btn {
    background: var(--orange);

    color: #111;

    box-shadow: 0 10px 35px rgba(255,153,0,.13);
}

.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 15px 45px rgba(255,153,0,.23);
}

.ghost-btn {
    border: 1px solid var(--line);

    background: rgba(255,255,255,.025);

    color: #dce1e9;
}

.ghost-btn:hover {
    background: rgba(255,255,255,.06);
}

.hero-proof {
    display: flex;

    gap: 35px;
}

.hero-proof div {
    padding-right: 35px;

    border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
    border: none;
}

.hero-proof strong {
    display: block;

    font-family: "Space Grotesk";

    font-size: 19px;
}

.hero-proof span {
    color: #667184;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* ================= HERO VISUAL ================= */

.hero-visual {
    min-height: 460px;

    position: relative;

    display: grid;

    place-items: center;
}

.glow {
    position: absolute;

    width: 300px;
    height: 300px;

    background: rgba(255,153,0,.12);

    filter: blur(90px);

    border-radius: 50%;
}

.dashboard-card {
    width: min(430px,100%);

    position: relative;

    z-index: 2;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.07),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,.5),
        inset 0 1px rgba(255,255,255,.04);
}

.dashboard-top {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding-bottom: 25px;

    border-bottom: 1px solid var(--line);
}

.tiny-label {
    display: block;

    color: #5e6879;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 4px;
}

.dashboard-top strong {
    font-family: "Space Grotesk";

    font-size: 16px;
}

.live-label {
    display: flex;

    gap: 7px;

    align-items: center;

    color: #63df91;

    font-size: 9px;

    font-weight: 700;
}

.focus-area {
    padding: 35px 0 20px;
}

.focus-area > span {
    color: #6d7789;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;
}

.focus-area h2 {
    font-family: "Space Grotesk";

    font-size: 42px;

    margin: 5px 0 10px;
}

.focus-area p {
    color: #8d97a7;

    font-size: 12px;

    max-width: 310px;
}

.progress-line {
    height: 4px;

    margin: 20px 0 25px;

    background: rgba(255,255,255,.06);

    border-radius: 10px;

    overflow: hidden;
}

.progress-line span {
    display: block;

    width: 72%;

    height: 100%;

    background: linear-gradient(90deg,#ff9900,#ffd083);
}

.dashboard-footer {
    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 8px;
}

.dashboard-footer div {
    padding: 12px;

    border-radius: 9px;

    background: rgba(255,255,255,.035);
}

.dashboard-footer small {
    display: block;

    color: #626d7f;

    font-size: 8px;

    letter-spacing: 1px;
}

.dashboard-footer strong {
    font-size: 15px;
}

.floating-card {
    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    border: 1px solid var(--line);

    border-radius: 11px;

    background: rgba(10,14,21,.88);

    backdrop-filter: blur(12px);

    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.floating-card > span {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: rgba(255,153,0,.1);

    color: var(--orange);
}

.floating-card strong {
    display: block;

    font-size: 10px;
}

.floating-card small {
    color: #687386;

    font-size: 8px;
}

.memory-card {
    top: 60px;
    left: 0;
}

.ai-card {
    right: -15px;
    bottom: 55px;
}


/* ================= SECTIONS ================= */

.section {
    padding: 105px 8%;

    position: relative;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 30px;

    margin-bottom: 45px;
}

.section-tag {
    color: var(--orange);

    font-size: 9px;

    letter-spacing: 2.5px;

    font-weight: 800;

    margin-bottom: 12px;
}

.section-heading h2,
.center-heading h2 {
    font-family: "Space Grotesk";

    font-size: clamp(34px,4vw,54px);

    letter-spacing: -2.5px;

    line-height: 1;
}

.section-heading p,
.center-heading p {
    color: #7f899b;

    font-size: 13px;

    max-width: 570px;

    margin-top: 15px;
}

.real-badge,
.sample-label {
    padding: 8px 13px;

    border: 1px solid rgba(74,222,128,.16);

    border-radius: 30px;

    color: #64d992;

    background: rgba(74,222,128,.045);

    font-size: 9px;

    letter-spacing: 1px;
}

.real-badge {
    display: flex;

    align-items: center;

    gap: 8px;
}


/* ================= LIVE CONSOLE ================= */

.live-section {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.015),
            transparent
        );

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}

.agent-console {
    border: 1px solid rgba(255,255,255,.1);

    border-radius: 18px;

    background: #080b11;

    overflow: hidden;

    box-shadow: 0 35px 80px rgba(0,0,0,.3);
}

.console-header {
    padding: 16px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid var(--line);

    background: rgba(255,255,255,.025);
}

.console-title {
    display: flex;

    align-items: center;

    gap: 11px;
}

.console-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(255,153,0,.12);

    color: var(--orange);
}

.console-title strong {
    display: block;

    font-size: 12px;
}

.console-title span {
    color: #687284;

    font-size: 9px;
}

.console-status {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #65dc99;

    font-size: 9px;
}

.console-body {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 0;
}

.agent-explanation {
    padding: 45px;
}

.mini-label {
    color: #687285;

    font-size: 9px;

    letter-spacing: 2px;
}

.agent-explanation h3 {
    font-family: "Space Grotesk";

    font-size: 28px;

    line-height: 1.1;

    margin: 12px 0;
}

.agent-explanation p {
    color: #7f899a;

    font-size: 12px;

    max-width: 450px;

    margin-bottom: 28px;
}

.generate-button {
    border: none;

    background: var(--orange);

    color: #111;

    padding: 13px 18px;

    border-radius: 9px;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    transition: .2s;
}

.generate-button:hover {
    transform: translateY(-2px);
}

.generate-button:disabled {
    opacity: .55;

    cursor: wait;

    transform: none;
}

.terminal {
    min-height: 300px;

    border-left: 1px solid var(--line);

    background: #05070a;

    font-family: "Space Grotesk";
}

.terminal-top {
    height: 43px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 0 17px;

    color: #596476;

    font-size: 9px;

    border-bottom: 1px solid var(--line);
}

.terminal-dots {
    display: flex;

    gap: 5px;
}

.terminal-dots i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #343b47;
}

#terminal-output {
    padding: 25px;

    font-size: 10px;

    line-height: 2.2;
}

.terminal-line {
    color: #adb5c1;
}

.terminal-line.muted {
    color: #515b6c;
}

.green {
    color: var(--green);
}


/* ================= RESULT ================= */

#study-result {
    margin-top: 22px;
}

.live-result {
    padding: 28px;

    border: 1px solid rgba(74,222,128,.18);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(74,222,128,.055),
            rgba(255,255,255,.02)
        );

    animation: resultIn .4s ease;
}

@keyframes resultIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-result-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 18px;

    color: #657084;

    font-size: 9px;

    letter-spacing: 1.5px;
}

.live-indicator {
    color: #5ddd8d;
}

.live-result h3 {
    font-family: "Space Grotesk";

    font-size: 21px;

    margin-bottom: 15px;
}

.live-result pre {
    white-space: pre-wrap;

    font-family: "DM Sans";

    color: #b7c0ce;

    font-size: 12px;

    line-height: 1.8;
}

.email-confirmation {
    margin-top: 20px;

    padding: 11px 13px;

    border-radius: 8px;

    color: #61d98b;

    background: rgba(74,222,128,.055);

    font-size: 10px;
}

.loading {
    padding: 25px;

    border: 1px solid var(--line);

    border-radius: 14px;

    color: #8a95a6;

    font-size: 11px;

    line-height: 2;
}

.error-message {
    padding: 18px;

    border: 1px solid rgba(255,80,80,.2);

    border-radius: 12px;

    color: #ff8d8d;

    background: rgba(255,80,80,.04);

    font-size: 12px;
}


/* ================= SAMPLE ================= */

.sample-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr .9fr;

    gap: 16px;
}

.sample-card {
    min-height: 280px;

    padding: 28px;

    border: 1px solid var(--line);

    border-radius: 16px;

    background: var(--surface);

    position: relative;

    overflow: hidden;
}

.sample-card.priority {
    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(255,153,0,.12),
            transparent 45%
        ),
        var(--surface);
}

.card-number {
    display: block;

    color: #515b6a;

    font-size: 9px;

    margin-bottom: 10px;
}

.card-category {
    color: #707a8b;

    font-size: 9px;

    letter-spacing: 1.8px;

    font-weight: 800;
}

.sample-card h3 {
    font-family: "Space Grotesk";

    font-size: 27px;

    margin: 18px 0 12px;
}

.sample-card p {
    color: #818b9d;

    font-size: 12px;

    line-height: 1.7;
}

.high-priority {
    display: inline-block;

    margin-top: 35px;

    padding: 6px 10px;

    color: #ffad32;

    background: rgba(255,153,0,.08);

    border-radius: 6px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;
}

.task {
    display: flex;

    gap: 13px;

    align-items: center;

    padding: 17px 0;

    border-bottom: 1px solid var(--line);

    font-size: 12px;

    color: #c4cbd5;
}

.task:last-child {
    border-bottom: none;
}

.task b {
    color: var(--orange);

    font-size: 9px;
}

.small-button {
    margin-top: 20px;

    border: 1px solid rgba(255,153,0,.25);

    background: rgba(255,153,0,.06);

    color: #ffad36;

    padding: 9px 12px;

    border-radius: 7px;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;
}

#challenge-message {
    margin-top: 13px;

    color: #64d891;

    font-size: 10px;
}


/* ================= ARCHITECTURE ================= */

.architecture-section {
    background: #080c12;

    border-top: 1px solid var(--line);

    border-bottom: 1px solid var(--line);
}

.center-heading {
    text-align: center;

    max-width: 760px;

    margin: 0 auto 60px;
}

.center-heading p {
    margin-left: auto;
    margin-right: auto;
}

.architecture {
    display: flex;

    align-items: stretch;

    justify-content: center;

    gap: 10px;
}

.arch-node {
    flex: 1;

    max-width: 235px;

    padding: 25px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background: rgba(255,255,255,.025);
}

.arch-node.highlight {
    border-color: rgba(255,153,0,.25);

    background: rgba(255,153,0,.045);
}

.arch-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(255,153,0,.1);

    color: var(--orange);

    margin-bottom: 20px;

    font-size: 18px;
}

.arch-node > span {
    color: #596476;

    font-size: 9px;
}

.arch-node h3 {
    font-family: "Space Grotesk";

    font-size: 17px;

    margin: 5px 0 8px;
}

.arch-node p {
    color: #737e90;

    font-size: 10px;
}

.arch-connector {
    display: flex;

    align-items: center;

    color: #4d5665;

    font-size: 20px;
}

.memory-strip {
    max-width: 800px;

    margin: 30px auto 0;

    padding: 19px 22px;

    display: flex;

    align-items: center;

    gap: 16px;

    border: 1px solid var(--line);

    border-radius: 12px;

    background: rgba(255,255,255,.02);
}

.memory-symbol {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(255,153,0,.08);

    color: var(--orange);
}

.memory-strip strong {
    font-size: 11px;
}

.memory-strip p {
    color: #687285;

    font-size: 10px;

    margin-top: 3px;
}


/* ================= AWS ================= */

.aws-grid {
    display: grid;

    grid-template-columns: repeat(5,1fr);

    gap: 12px;
}

.aws-card {
    min-height: 190px;

    padding: 23px;

    border: 1px solid var(--line);

    border-radius: 14px;

    background: var(--surface);

    transition: .25s;
}

.aws-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255,153,0,.2);
}

.aws-card > span {
    color: #555f70;

    font-size: 9px;
}

.aws-symbol {
    margin: 22px 0 15px;

    font-size: 23px;

    color: var(--orange);
}

.aws-card h3 {
    font-family: "Space Grotesk";

    font-size: 12px;
}

.aws-card p {
    color: #697486;

    font-size: 10px;

    margin-top: 6px;
}

.aws-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(255,153,0,.09),
            rgba(255,255,255,.02)
        );

    border-color: rgba(255,153,0,.22);
}


/* ================= LESSON ================= */

.lesson-section {
    padding-top: 60px;
}

.lesson-box {
    max-width: 1050px;

    margin: auto;

    padding: 55px;

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 70px;

    border: 1px solid var(--line);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 0% 50%,
            rgba(255,153,0,.07),
            transparent 40%
        ),
        var(--surface);
}

.lesson-box h2 {
    font-family: "Space Grotesk";

    font-size: 38px;

    line-height: 1.05;

    letter-spacing: -2px;
}

.lesson-text p {
    color: #818b9c;

    font-size: 13px;

    margin-bottom: 18px;
}

.lesson-chain {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

    margin-top: 25px;
}

.lesson-chain span {
    padding: 7px 10px;

    border-radius: 6px;

    background: rgba(255,255,255,.045);

    color: #bbc3ce;

    font-size: 9px;
}

.lesson-chain b {
    color: #555f70;

    font-size: 10px;
}


/* ================= FINAL ================= */

.final-section {
    min-height: 600px;

    padding: 120px 8%;

    display: grid;

    place-items: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    border-top: 1px solid var(--line);
}

.final-glow {
    position: absolute;

    width: 600px;
    height: 600px;

    background: rgba(255,153,0,.09);

    filter: blur(120px);

    border-radius: 50%;
}

.final-content {
    position: relative;

    z-index: 2;

    max-width: 850px;
}

.final-content h2 {
    font-family: "Space Grotesk";

    font-size: clamp(42px,6vw,72px);

    letter-spacing: -4px;

    line-height: .98;

    margin-bottom: 25px;
}

.final-content p:not(.section-tag) {
    color: #7d8798;

    font-size: 14px;

    margin-bottom: 30px;
}

.final-buttons {
    display: flex;

    justify-content: center;

    gap: 11px;
}


/* ================= FOOTER ================= */

footer {
    padding: 35px 8%;

    border-top: 1px solid var(--line);

    text-align: center;
}

.footer-brand {
    font-family: "Space Grotesk";

    font-weight: 700;

    font-size: 16px;

    margin-bottom: 7px;
}

.footer-brand span {
    color: var(--orange);
}

footer p {
    color: #697385;

    font-size: 10px;
}

footer .footer-small {
    margin-top: 9px;

    color: #414a59;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .hero {
        grid-template-columns: 1fr;

        padding-top: 80px;
    }

    .hero-visual {
        max-width: 650px;

        width: 100%;

        margin: auto;
    }

    .sample-grid {
        grid-template-columns: 1fr;
    }

    .aws-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .architecture {
        flex-wrap: wrap;
    }

    .arch-node {
        max-width: none;

        min-width: 220px;
    }

    .arch-connector {
        display: none;
    }
}


@media (max-width: 760px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }

    .github-nav {
        display: none;
    }

    .hero {
        padding: 70px 5% 90px;
    }

    .hero h1 {
        font-size: 53px;

        letter-spacing: -3px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-proof {
        gap: 15px;
    }

    .hero-proof div {
        padding-right: 15px;
    }

    .floating-card {
        display: none;
    }

    .section {
        padding: 80px 5%;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .console-body {
        grid-template-columns: 1fr;
    }

    .terminal {
        border-left: none;

        border-top: 1px solid var(--line);
    }

    .agent-explanation {
        padding: 30px;
    }

    .aws-grid {
        grid-template-columns: 1fr;
    }

    .lesson-box {
        grid-template-columns: 1fr;

        padding: 32px;

        gap: 30px;
    }

    .lesson-box h2 {
        font-size: 32px;
    }

    .final-content h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .final-buttons {
        flex-direction: column;
    }

    
}

/* =========================================================
   STUDYPULSE INTERACTIVE AGENT
   ========================================================= */

.live-agent-section {
    padding: 110px 8%;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255,153,0,.10),
            transparent 35%
        ),
        #070b14;
}

.agent-header {
    max-width: 1100px;
    margin: 0 auto 40px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.agent-header h2 {
    margin-top: 12px;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1;

    letter-spacing: -2.5px;
}

.agent-header p {
    max-width: 650px;

    margin-top: 16px;

    color: #8994a8;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(69,212,131,.2);

    border-radius: 999px;

    background: rgba(69,212,131,.06);

    color: #65dc99;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    white-space: nowrap;
}

.agent-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #45d483;

    box-shadow: 0 0 12px #45d483;
}

.agent-console {
    max-width: 1100px;

    margin: auto;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,.35);
}

.console-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    margin-bottom: 25px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    color: #687487;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.console-top > div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #c6ceda;
}

.console-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #45d483;
}

.input-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.input-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.input-group.full {
    grid-column: 1 / -1;
}

.input-group label {
    color: #8b96a9;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.input-group input,
.input-group select {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 11px;

    outline: none;

    background: rgba(255,255,255,.035);

    color: #f5f7fb;

    font: inherit;

    transition: .2s;
}

.input-group input::placeholder {
    color: #566174;
}

.input-group input:focus,
.input-group select:focus {
    border-color: rgba(255,153,0,.55);

    box-shadow:
        0 0 0 3px rgba(255,153,0,.08);
}

.input-group select option {
    background: #0c111d;

    color: white;
}

.quick-topics {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}

.quick-topics > span {
    margin-right: 5px;

    color: #687487;

    font-size: 11px;
}

.quick-topics button {
    border: 1px solid rgba(255,255,255,.09);

    border-radius: 999px;

    padding: 7px 12px;

    background: rgba(255,255,255,.035);

    color: #aeb7c6;

    cursor: pointer;

    font-size: 11px;

    transition: .2s;
}

.quick-topics button:hover {
    border-color: rgba(255,153,0,.4);

    color: #ffae2d;

    transform: translateY(-1px);
}

.agent-generate {
    width: 100%;

    margin-top: 25px;

    padding: 16px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #ff9900,
            #ffad32
        );

    color: #111;

    cursor: pointer;

    font-size: 14px;

    font-weight: 900;

    box-shadow:
        0 12px 30px rgba(255,153,0,.15);

    transition: .2s;
}

.agent-generate:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 35px rgba(255,153,0,.22);
}

.agent-generate:disabled {
    opacity: .6;

    cursor: wait;

    transform: none;
}

.agent-thinking {
    margin-top: 22px;

    padding: 20px;

    border: 1px solid rgba(255,153,0,.12);

    border-radius: 13px;

    background: rgba(255,153,0,.035);
}

.agent-thinking.hidden {
    display: none;
}

.thinking-line {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 7px 0;

    color: #8c97aa;

    font-size: 12px;
}

.thinking-line span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff9900;

    animation: pulseAgent 1s infinite;
}

.thinking-line:nth-child(2) span {
    animation-delay: .2s;
}

.thinking-line:nth-child(3) span {
    animation-delay: .4s;
}

@keyframes pulseAgent {

    0%, 100% {
        opacity: .25;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

}

.live-result {
    margin-top: 25px;

    padding: 28px;

    border: 1px solid rgba(69,212,131,.18);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(69,212,131,.06),
            rgba(255,255,255,.02)
        );
}

.result-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;
}

.result-kicker {
    color: #65dc99;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.result-top h3 {
    margin-top: 7px;

    font-size: 25px;
}

.result-live {
    color: #45d483;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}

.memory-used {
    margin-top: 20px;

    padding: 12px 14px;

    border-radius: 10px;

    background: rgba(255,255,255,.035);

    color: #8994a7;

    font-size: 12px;
}

.memory-used span {
    color: #ff9900;

    margin-right: 6px;
}

.plan-output {
    margin-top: 20px;

    padding: 22px;

    border-radius: 13px;

    background: rgba(0,0,0,.18);

    color: #cbd3df;

    font-size: 13px;

    line-height: 1.8;
}

.plan-heading {
    display: block;

    margin-top: 17px;

    margin-bottom: 3px;

    color: #ffae2d;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;
}

.plan-heading:first-child {
    margin-top: 0;
}

.email-confirmation {
    margin-top: 18px;

    padding: 12px 14px;

    border-radius: 10px;

    background: rgba(69,212,131,.07);

    color: #65dc99;

    font-size: 12px;
}

.email-confirmation span {
    margin-right: 6px;
}

.error-message {
    margin-top: 20px;

    padding: 18px;

    border: 1px solid rgba(255,80,80,.18);

    border-radius: 12px;

    background: rgba(255,80,80,.04);

    color: #ff9090;
}

.error-message p {
    margin-top: 5px;

    color: #a77c7c;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 700px) {

    .live-agent-section {
        padding: 80px 5%;
    }

    .agent-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .agent-console {
        padding: 18px;
    }

    .console-top span:last-child {
        display: none;
    }

    .input-grid {
        grid-template-columns: 1fr;
    }

    .input-group.full {
        grid-column: auto;
    }

    .result-top {
        flex-direction: column;
    }

}