/* ========================================
   ETHIO-UNI-GUIDE - HOMEPAGE STYLES
   ======================================== */

/* THEME VARIABLES */
:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #101d3c;
    --muted: #66728e;
    --border: #e1e8f4;
    --primary: #1769e0;
    --primary-dark: #0f4fae;
    --gold: #f2b630;
    --navbar-bg: rgba(255, 255, 255, 0.88);
    --shadow: 0 12px 35px rgba(22, 55, 115, 0.08);
    --shadow-hover: 0 22px 50px rgba(22, 55, 115, 0.15);
    --tint-blue: #e7f0ff;
    --ink-blue: #1769e0;
    --tint-indigo: #eeecff;
    --ink-indigo: #6656d9;
    --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius: 20px;
    --trans: 0.25s ease;
}

:root[data-theme="dark"] {
    --bg: #0b1228;
    --surface: #121e3b;
    --surface-soft: #172747;
    --text: #f2f5ff;
    --muted: #a2afce;
    --border: #26385f;
    --navbar-bg: rgba(11, 18, 40, 0.9);
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 22px 50px rgba(0, 0, 0, 0.3);
    --tint-blue: #172d57;
    --ink-blue: #83b4ff;
    --tint-indigo: #282452;
    --ink-indigo: #b0a5ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 5% 25%, rgba(23, 105, 224, 0.045), transparent 25rem),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.55;
    transition: background-color var(--trans), color var(--trans);
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

[data-lucide],
svg.lucide {
    width: 1.1em;
    height: 1.1em;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

/* NAVIGATION */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 74px;
    padding: 0 clamp(16px, 4vw, 58px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--navbar-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background-color var(--trans), border-color var(--trans);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand span,
.footer-brand span {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-links {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font: 700 13.5px var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--trans), background-color var(--trans);
}

.nav-link:hover,
.nav-link.active {
    background: var(--tint-blue);
    color: var(--primary);
}

:root[data-theme="dark"] .nav-link:hover,
:root[data-theme="dark"] .nav-link.active {
    color: var(--ink-blue);
}

/* ACADEMIC CALENDAR DROPDOWN */
.calendar-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.calendar-menu-btn svg {
    width: 15px;
    height: 15px;
    transition: transform var(--trans);
}

.calendar-menu.dropdown-open .calendar-menu-btn svg {
    transform: rotate(180deg);
}

.calendar-menu-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    min-width: 245px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
}

.calendar-menu:hover .calendar-menu-list,
.calendar-menu:focus-within .calendar-menu-list,
.calendar-menu.dropdown-open .calendar-menu-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.calendar-menu-list a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.calendar-menu-list a:hover {
    background: var(--tint-blue);
    color: var(--primary);
}

.menu-note {
    display: block;
    margin-top: 4px;
    padding: 10px 12px 6px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

/* NAVIGATION BUTTONS */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-btn,
.profile-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--trans), background-color var(--trans), border-color var(--trans);
}

.icon-btn:hover {
    background: var(--tint-blue);
    border-color: transparent;
}

.icon-btn:active,
.profile-button:active {
    transform: scale(0.94);
}

.icon-btn svg,
.profile-button svg {
    width: 19px;
    height: 19px;
}

.profile-button {
    border-color: transparent;
    background: var(--primary);
    color: #fff;
}

.profile-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.theme-btn .icon-sun,
.menu-btn .close-icon {
    display: none;
}

:root[data-theme="dark"] .theme-btn .icon-sun {
    display: block;
}

:root[data-theme="dark"] .theme-btn .icon-moon {
    display: none;
}

.menu-btn {
    display: none;
}

/* HERO SECTION */
.hero {
    position: relative;
    isolation: isolate;
    width: min(1380px, calc(100% - 48px));
    min-height: 570px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(rgba(11, 45, 104, 0.7), rgba(11, 45, 104, 0.7)),
        url("images/front.jpg") center/cover no-repeat;
    box-shadow: 0 25px 70px rgba(9, 36, 89, 0.18);
}

.hero-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px);
    background-size: 23px 23px;
    mask-image: linear-gradient(90deg, transparent, black 65%);
}

.hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(7, 25, 67, 0.2) 0%,
        rgba(11, 49, 112, 0.08) 52%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 64%;
    padding: 65px 0 110px clamp(28px, 5.5vw, 78px);
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1.35px;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffd36c;
    box-shadow: 0 0 0 5px rgba(255, 211, 108, 0.14);
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 5.3vw, 70px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -2.2px;
    text-wrap: balance;
}

.hero h1 span {
    color: #a9d0ff;
}

.hero-description {
    max-width: 570px;
    margin: 22px 0 27px;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.7;
}

/* HERO SEARCH */
.hero-search {
    width: min(640px, 100%);
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 8px 7px 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: box-shadow var(--trans), transform var(--trans);
}

.hero-search:focus-within {
    box-shadow: 0 0 0 4px rgba(130, 181, 255, 0.32), 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.hero-search > svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #67748e;
}

.hero-search input {
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #101d3c;
    font-size: 14px;
}

.hero-search input::placeholder {
    color: #8993a8;
}

.hero-search button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--trans), transform var(--trans);
}

.hero-search button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hero-search button svg {
    width: 16px;
    height: 16px;
}

/* HERO DECORATIONS */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
}

.orbit-one {
    width: 340px;
    height: 340px;
}

.orbit-two {
    width: 440px;
    height: 440px;
    border-style: dashed;
    opacity: 0.55;
}

.floating-cap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.07));
    color: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    transform: translate(-50%, -50%) rotate(8deg);
    animation: floatCap 5s ease-in-out infinite;
}

.floating-cap svg {
    width: 83px;
    height: 83px;
    stroke-width: 1.2;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #142448;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card-top {
    top: 25%;
    left: 3%;
}

.floating-card-bottom {
    right: 2%;
    bottom: 25%;
    animation-delay: -2s;
}

.floating-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e7f0ff;
    color: #1769e0;
}

.floating-icon.gold {
    background: #fff1cc;
    color: #956500;
}

.floating-icon svg {
    width: 21px;
    height: 21px;
}

.floating-card strong,
.floating-card small {
    display: block;
    white-space: nowrap;
}

.floating-card strong {
    font-size: 12px;
    font-weight: 800;
}

.floating-card small {
    margin-top: 2px;
    color: #69758f;
    font-size: 10px;
}

.hero-sticker {
    position: absolute;
    right: 7%;
    top: 13%;
    padding: 13px 17px;
    border-radius: 8px 15px 15px 15px;
    background: #ffd36c;
    color: #19274b;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    transform: rotate(8deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* AI ASSISTANT CARD */
.assistant-card {
    position: absolute;
    z-index: 5;
    right: clamp(22px, 3vw, 42px);
    bottom: 24px;
    width: 305px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 17px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 15px 38px rgba(0, 0, 0, 0.2);
    transition: transform var(--trans), box-shadow var(--trans);
}

.assistant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.assistant-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: var(--gold);
    color: #3d2a00;
}

.assistant-icon svg {
    width: 23px;
    height: 23px;
}

.assistant-text {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.assistant-text strong {
    font-size: 13px;
    font-weight: 800;
}

.assistant-text span {
    color: var(--muted);
    font-size: 11.5px;
}

.assistant-arrow {
    width: 19px;
    height: 19px;
    color: var(--primary);
    transition: transform var(--trans);
}

.assistant-card:hover .assistant-arrow {
    transform: translateX(4px);
}

/* PLATFORM HIGHLIGHTS */
.stats-section {
    position: relative;
    z-index: 3;
    width: min(1080px, calc(100% - 80px));
    min-height: 108px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 15px;
    margin: -1px auto 0;
    padding: 20px 25px;
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.stat-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--tint-blue);
    color: var(--primary);
}

.stat-icon svg {
    width: 21px;
    height: 21px;
}

.stat-copy strong,
.stat-copy small {
    display: block;
}

.stat-copy strong {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
}

.stat-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11.5px;
}

/* STUDENT TOOLKIT */
.section {
    width: min(1240px, calc(100% - 48px));
    margin: 82px auto 0;
}

.section h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(27px, 3.2vw, 39px);
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.13;
    text-wrap: balance;
}

.section h2 span {
    color: var(--primary);
}

.section-head p {
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.explore-section {
    margin-top: 88px;
}

.information-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* INFORMATION CARDS */
.info-card {
    position: relative;
    min-height: 205px;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(19, 47, 97, 0.025);
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}

.info-card::after {
    position: absolute;
    right: -48px;
    bottom: -70px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: var(--tint);
    opacity: 0.45;
    content: "";
    transition: transform 0.35s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--ink);
    box-shadow: var(--shadow-hover);
}

.info-card:hover::after {
    transform: scale(1.25);
}

.c-blue {
    --tint: var(--tint-blue);
    --ink: var(--ink-blue);
}

.c-indigo {
    --tint: var(--tint-indigo);
    --ink: var(--ink-indigo);
}

.card-icon {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--tint);
    color: var(--ink);
    transition: transform var(--trans);
}

.info-card:hover .card-icon {
    transform: rotate(-5deg) scale(1.06);
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card-content {
    position: relative;
    z-index: 1;
    padding-right: 15px;
}

.card-content .card-kicker {
    display: block;
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 9px;
    letter-spacing: 1.1px;
    font-weight: 700;
}

.card-content h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.45px;
}

.card-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
}

.card-action svg {
    width: 15px;
    height: 15px;
    transition: transform var(--trans);
}

.info-card:hover .card-action svg {
    transform: translateX(4px);
}

.card-arrow {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform var(--trans), color var(--trans);
}

.info-card:hover .card-arrow {
    transform: translate(3px, -3px);
    color: var(--ink);
}

/* FOOTER */
.footer {
    width: min(1240px, calc(100% - 48px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px 25px;
    margin: 0 auto;
    padding: 25px 0 30px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand span {
    color: var(--text);
    font-size: 15px;
}

.footer > p {
    margin: 0;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.footer nav a {
    text-decoration: none;
    transition: color var(--trans);
}

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

.verification-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.verification-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 13px;
    border-top: 1px solid var(--border);
    font-size: 11px;
}

/* ANIMATIONS */
@keyframes floatCap {
    0%,
    100% {
        transform: translate(-50%, -50%) rotate(8deg) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) rotate(4deg) translateY(-10px);
    }
}

@keyframes floatCard {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -7px;
    }
}

/* TABLETS AND SMALL LAPTOPS */
@media (max-width: 1100px) {
    .navbar {
        gap: 12px;
        padding-inline: 22px;
    }

    .brand span {
        font-size: 17px;
    }

    .nav-link {
        padding-inline: 9px;
        font-size: 12.5px;
    }

    .hero-content {
        width: 68%;
        padding-left: 42px;
    }

    .hero-visual {
        width: 36%;
        opacity: 0.88;
    }

    .floating-card {
        scale: 0.9;
    }

    .floating-card-top {
        left: -7%;
    }

    .floating-card-bottom {
        right: -3%;
    }
}

/* MOBILE NAVIGATION AND TABLETS */
@media (max-width: 900px) {
    .navbar {
        min-height: 70px;
    }

    .menu-btn {
        display: grid;
    }

    .menu-btn.is-open .menu-icon {
        display: none;
    }

    .menu-btn.is-open .close-icon {
        display: block;
    }

    .navbar-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        height: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 13px 18px 18px;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .navbar-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        min-height: 45px;
        justify-content: space-between;
        padding-inline: 13px;
        font-size: 13.5px;
    }

    .calendar-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-menu-list {
        position: static;
        display: none;
        min-width: 0;
        margin: 3px 0 3px 12px;
        padding: 5px;
        border: 0;
        background: var(--bg);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .calendar-menu.dropdown-open .calendar-menu-list,
    .calendar-menu:focus-within .calendar-menu-list {
        display: block;
    }

    .calendar-menu-list a {
        padding: 10px 12px;
    }

    .hero {
        min-height: 610px;
    }

    .hero-content {
        width: 78%;
        padding: 50px 0 145px 35px;
    }

    .hero-visual {
        width: 35%;
        opacity: 0.5;
    }

    .floating-card-top {
        top: 20%;
        left: -30%;
    }

    .floating-card-bottom {
        right: -10%;
        bottom: 28%;
    }

    .hero-sticker {
        display: none;
    }

    .assistant-card {
        right: 24px;
        bottom: 22px;
    }

    .stats-section {
        width: calc(100% - 90px);
    }

    .stat-item {
        justify-content: flex-start;
    }

    .stat-copy strong {
        font-size: 12px;
    }

    .section,
    .footer {
        width: calc(100% - 40px);
    }

    .footer {
        grid-template-columns: 1fr auto;
    }

    .footer > p {
        grid-column: 1;
    }

    .footer nav {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .copyright {
        grid-column: 1 / -1;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .navbar {
        padding-inline: 13px;
        gap: 8px;
    }

    .brand {
        gap: 7px;
    }

    .brand img {
        width: 35px;
        height: 35px;
    }

    .brand span {
        font-size: 14px;
        letter-spacing: -0.4px;
    }

    .navbar-right {
        gap: 6px;
    }

    .icon-btn,
    .profile-button {
        width: 37px;
        height: 37px;
    }

    .icon-btn svg,
    .profile-button svg {
        width: 17px;
        height: 17px;
    }

    .hero {
        width: calc(100% - 20px);
        min-height: 0;
        margin-top: 12px;
        border-radius: 22px;
    }

    .hero-content {
        width: 100%;
        padding: 36px 19px 145px;
    }

    .hero-badge {
        margin-bottom: 17px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero h1 {
        max-width: 12ch;
        font-size: clamp(38px, 10.5vw, 55px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        margin: 16px 0 22px;
        font-size: 14px;
    }

    .hero-search {
        min-height: 55px;
        gap: 8px;
        padding-left: 14px;
    }

    .hero-search input {
        font-size: 12px;
    }

    .hero-search button {
        min-height: 41px;
        padding-inline: 13px;
        font-size: 11.5px;
    }

    .hero-search button svg {
        display: none;
    }

    .hero-visual {
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 180px;
        opacity: 0.35;
    }

    .orbit-one {
        width: 220px;
        height: 220px;
        left: 70%;
    }

    .orbit-two {
        width: 285px;
        height: 285px;
        left: 70%;
    }

    .floating-cap {
        left: 70%;
        width: 90px;
        height: 90px;
        border-radius: 25px;
    }

    .floating-cap svg {
        width: 50px;
        height: 50px;
    }

    .floating-card {
        display: none;
    }

    .assistant-card {
        right: 13px;
        bottom: 13px;
        left: 13px;
        width: auto;
        padding: 10px 12px;
    }

    .assistant-icon {
        width: 38px;
        height: 38px;
    }

    .stats-section {
        width: calc(100% - 38px);
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 0;
        padding: 17px;
        border-radius: 0 0 17px 17px;
    }

    .stat-item {
        justify-content: flex-start;
        gap: 11px;
    }

    .stat-icon {
        width: 37px;
        height: 37px;
        border-radius: 12px;
    }

    .stat-copy strong {
        font-size: 12px;
    }

    .stat-copy small {
        font-size: 11px;
    }

    .section,
    .footer {
        width: calc(100% - 28px);
    }

    .section {
        margin-top: 58px;
    }

    .section h2 {
        font-size: 29px;
        letter-spacing: -0.8px;
    }

    .section-head p {
        font-size: 13px;
    }

    .information-section {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-card {
        min-height: 0;
        padding: 21px 18px;
        gap: 13px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
    }

    .card-icon svg {
        width: 23px;
        height: 23px;
    }

    .card-content {
        padding-right: 7px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 12px;
    }

    .card-action {
        margin-top: 13px;
    }

    .verification-note {
        align-items: flex-start;
        font-size: 11px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer,
    .footer nav,
    .copyright {
        grid-column: 1;
    }

    .footer nav {
        gap: 13px;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 380px) {
    .brand span {
        font-size: 12px;
    }

    .navbar-right {
        gap: 4px;
    }

    .icon-btn,
    .profile-button {
        width: 34px;
        height: 34px;
    }

    .hero-content {
        padding-inline: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-search {
        gap: 5px;
        padding-left: 10px;
    }

    .hero-search input {
        font-size: 11px;
    }

    .hero-search button {
        padding-inline: 10px;
    }
}
.pen{
    display: block;
    white-space: pre-line;

}
/* ACCESSIBILITY: REDUCE ANIMATIONS */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
