:root {
    color-scheme: light;
    --ink: #0d1b2a;
    --ink-soft: #2b3a4e;
    --mist: rgba(255, 255, 255, 0.2);
    --glass: rgba(255, 255, 255, 0.28);
    --edge: rgba(255, 255, 255, 0.5);
    --accent: #0b486b;
    --accent-bright: #4bb5d7;
    --leaf: #14ed93;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background:
    radial-gradient(1000px 700px at 15% 15%, rgba(244, 195, 106, 0.55), transparent 60%),
    radial-gradient(900px 650px at 85% 30%, rgba(75, 181, 215, 0.45), transparent 55%),
    linear-gradient(160deg, #0089eb, #6cb3a4 55%, #f2e4b6);
    min-height: 100vh;
}

.bg-shadow {
    box-shadow: 0 24px 50px rgba(13, 27, 42, 0.18);
}

.text-accent-bright {
    color: var(--accent-bright);
}

.page {
    position: relative;
    /*  overflow: hidden;*/
    min-height: 100vh;
}

.page::before,
.page::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    filter: blur(12px);
    opacity: 0.6;
    z-index: -10;
}

.page::before {
    top: 18%;
    left: -120px;
}

.page::after {
    bottom: 0;
    right: -80px;
}

.section {
    background-color: #ffffff;
    background-color: #eee;
}

.feature-section {
    margin-bottom: 32px;
}

.feature-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--edge);
}

.feature-image {
  aspect-ratio: 16 / 9;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-description {
    height: 180px;
}

.feature-glass {
    position: relative;
    padding: 24px 26px 28px;
    background: rgba(248, 250, 252, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.feature-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--feature-image);
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.1);
    transform: scale(3);
    z-index: 0;
}

.feature-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.feature-glass > * {
    position: relative;
    z-index: 2;
}

.feature-glass h3 {
    /*  font-family: "Fraunces", "Times New Roman", serif;*/
    font-weight: 900;
    font-size: 1.6rem;
    margin: 0 0 12px;
    color: #1b2637;
}

.feature-glass p {
    margin: 0;
    color: #3c4a5e;
    font-size: 1rem;
}

.topbar {
    position: relative;
    z-index: 2;
    padding: 32px 6vw 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f9fbff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--edge);
    box-shadow: 0 0 18px rgba(244, 195, 106, 0.8);
}

.nav-glass {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid var(--edge);
    box-shadow: 0 10px 28px rgba(13, 27, 42, 0.25);
    backdrop-filter: blur(18px);
}

.nav-glass a {
    color: #f7fbff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-glass a:hover,
.nav-glass a:focus-visible {
    background: var(--mist);
    color: #ffffff;
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(13, 27, 42, 0.2);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fef8ea;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pill strong {
    background: rgba(11, 72, 107, 0.45);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    color: #fff1cf;
}

h1 {
    font-family: "Fraunces", "Times New Roman", serif;
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 18px 0 16px;
    color: #f7fbff;
}

h2 {
    color: #f7fbff;
    font-size: 1.5rem;
}

.hero p {
    font-size: 1.05rem;
    color: rgba(248, 252, 255, 0.85);
    max-width: 520px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 12px 26px rgba(13, 27, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover,
.cta-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(13, 27, 42, 0.25);
}

.cta-secondary {
    color: #f7fbff;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--ink);
}

.hero-card p {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.hero-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--ink);
}

.hero-card li span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 8px rgba(75, 181, 215, 0.6);
}

.floating-glass {
    position: absolute;
    right: 6vw;
    top: 130px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    display: flex;
    gap: 10px;
}

.floating-glass button {
    border: none;
    background: transparent;
    color: #f7fbff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.floating-glass .active {
    background: rgba(255, 255, 255, 0.45);
    color: var(--ink);
}

/* MARK: - Glass */

.bg-glass {
    position: relative;
/*    padding: 24px 26px 28px;*/
    background: rgba(248, 250, 252, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--edge);
}

.bg-glass > * {
    position: relative;
    z-index: 2;
}

.bg-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--feature-image);
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.1);
    transform: scale(3);
    z-index: 0;
}

/* MARK: - Mobile */

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .floating-glass {
        position: static;
        margin: 0 6vw 20px;
        justify-content: center;
    }
    
    .topbar {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .nav-glass {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
