:root {
    --bg-color: #0d1117;
    --bg-surface: rgba(22, 27, 34, 0.4);
    --bg-surface-hover: rgba(30, 36, 45, 0.6);
    --accent-color: #67cfe8;
    --accent-bright: #8cf0ff;
    --accent-glow: rgba(103, 207, 232, 0.5);
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --border-color: rgba(240, 246, 252, 0.1);
    --border-radius: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --accent-light: var(--accent-bright);
    --text-color: var(--text-main);
    --white: #ffffff;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

html, body {
    margin: 0; padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 18% -10%, rgba(103, 207, 232, 0.18), transparent 45%);
    background-repeat: no-repeat;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

body.menu-open {
    overflow: hidden;
}

body.ready {
    scroll-snap-type: y proximity;
}

body.loading { overflow: hidden; }

/* Scroll Lock Fix for long sections */
#pricing {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 120px;
    scroll-snap-align: start;
}

/* LOADING SCREEN */
#loading-screen {
    position: fixed; inset: 0;
    background: #0d1117;
    display: flex; justify-content: center; align-items: center;
    z-index: 10000;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 1.2s;
}

.loader-content { text-align: center; }

.spinner {
    width: 50px; height: 50px; border-radius: 50%;
    border: 3px solid rgba(103, 207, 232, 0.1);
    border-top-color: var(--accent-color);
    animation: spin 1s infinite linear;
    margin: 0 auto 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 700;
    letter-spacing: 6px;
    background: linear-gradient(90deg, var(--text-main), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; filter: drop-shadow(0 0 10px var(--accent-color)); } }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    z-index: 100;
    background: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff, var(--accent-bright));
    -webkit-background-clip: text; color: transparent;
    background-clip: text; color: transparent;
}

.nav-links { display: flex; gap: 30px; align-items: center; }

.nav-links a:not(.nav-btn) {
    color: var(--text-muted); text-decoration: none;
    font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-main); }

.nav-links a {
    position: relative;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 20px; font-weight: 600; text-decoration: none;
    color: var(--accent-color); border: 1px solid rgba(103, 207, 232, 0.3);
    border-radius: 8px; transition: all 0.3s; background: rgba(103, 207, 232, 0.05);
}
.nav-btn:hover { background: var(--accent-color); color: var(--bg-color); box-shadow: 0 0 15px var(--accent-glow); }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(103, 207, 232, 0.28);
    background: rgba(15, 20, 28, 0.72);
    color: var(--text-main);
    cursor: pointer;
    padding: 0;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    content: '';
}

.menu-toggle-lines::before {
    transform: translateY(-6px);
}

.menu-toggle-lines::after {
    transform: translateY(4px);
}

.menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 220;
    background: rgba(5, 8, 12, 0.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.menu-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 100%);
    height: 100%;
    background: linear-gradient(155deg, rgba(15, 20, 28, 0.98), rgba(10, 14, 21, 0.98));
    border-left: 1px solid rgba(103, 207, 232, 0.16);
    padding: 22px;
    overflow-y: auto;
    transform: translateX(104%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-drawer.open .menu-panel {
    transform: translateX(0);
}

.menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.menu-brand {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: var(--accent-bright);
    text-transform: uppercase;
}

.menu-close {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(240, 246, 252, 0.14);
    background: rgba(22, 27, 34, 0.7);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
}

.menu-guide {
    display: grid;
    gap: 18px;
}

.menu-group {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px;
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.58), rgba(17, 23, 34, 0.42));
}

.menu-group h3 {
    margin: 0 0 10px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-bright);
}

.menu-group a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 10px;
    padding: 9px 10px;
    transition: background 0.22s ease, transform 0.22s ease;
}

.menu-group a:hover {
    background: rgba(103, 207, 232, 0.12);
    transform: translateX(2px);
}

.menu-cta {
    display: grid;
    gap: 10px;
}

.menu-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.menu-cta-primary {
    color: #00141c;
    background: var(--accent-bright);
}

.menu-cta-secondary {
    color: var(--text-main);
    border: 1px solid rgba(240, 246, 252, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

/* AMBIENT GLOW ORBS */
.ambient-glow {
    position: fixed; border-radius: 50%; filter: blur(120px); z-index: 0; opacity: 0.4; pointer-events: none;
}
.glow-1 {
    width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    top: -200px; right: -200px;
}
.glow-2 {
    width: 800px; height: 800px; background: radial-gradient(circle, rgba(40,40,90,0.5) 0%, transparent 70%);
    bottom: -300px; left: -300px;
}

/* CANVAS */
#canvas-container { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* CONTENT WRAPPERS */
#scroll-container { position: relative; z-index: 2; pointer-events: none; }
#scroll-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 10% 24%, rgba(103, 207, 232, 0.1), transparent 74%),
        radial-gradient(980px 500px at 88% 72%, rgba(103, 207, 232, 0.07), transparent 76%);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}
#scroll-container > * {
    position: relative;
    z-index: 1;
}
.content, a, button, input { pointer-events: auto; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-heading); }

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-bright) 100%);
    background-clip: text;
    -webkit-background-clip: text; color: transparent;
    background-clip: text; color: transparent;

}

/* SECTIONS */
.slide { 
    width: 100%; min-height: 100vh; min-height: 100svh; position: relative; 
    padding: 120px 5% 56px; /* Accounts for navbar so cards don't cut off */
    display: flex; align-items: center; 
    justify-content: center; 
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    perspective: 1200px;
}

footer.slide {
    scroll-snap-align: end;
    align-items: flex-end; /* Push footer-card to the bottom so it's a solid stop */
    padding-bottom: 0;         /* Let the footer card flush tightly */
}

.hero-section { display: flex; flex-direction: column; text-align: center; }

.hero-content {
    margin-top: clamp(56px, 8vh, 112px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1; transform: none;
}

.hero-text-overlay {
    grid-column: 1 / -1;
    margin-top: clamp(74px, 12vh, 156px);
    margin-bottom: 4px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 14px 18px 0;
}

.hero-kicker {
    margin: 0;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.hero-title {
    margin: 0;
    max-width: 16ch;
    text-align: center;
    font-size: clamp(2.1rem, 5.3vw, 4.9rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-wrap: balance;
    opacity: 0;
    transform: translateY(16px);
    animation: heroReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.tagline {
    margin: 0;
    font-family: var(--font-heading); font-size: clamp(0.92rem, 1.2vw, 1.08rem); font-weight: 400;
    color: var(--text-main); letter-spacing: 2.2px; text-transform: uppercase;
    text-align: center;
    background: linear-gradient(to right, var(--text-muted), #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    max-width: 800px;
    opacity: 0;
    transform: translateY(16px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards;
}

.hero-subcopy {
    margin: 0;
    max-width: 56ch;
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.12vw, 1.02rem);
    line-height: 1.66;
    opacity: 0;
    transform: translateY(16px);
    animation: heroReveal 1.08s cubic-bezier(0.16, 1, 0.3, 1) 0.68s forwards;
}

.top-banner {
    position: relative;
    z-index: 110;
    width: 100%;
    padding: 10px 18px;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    color: var(--text-main);
    background: linear-gradient(90deg, rgba(103, 207, 232, 0.2), rgba(103, 207, 232, 0.08), rgba(103, 207, 232, 0.2));
    border-bottom: 1px solid rgba(103, 207, 232, 0.25);
}

.top-banner a {
    color: var(--accent-bright);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(140, 240, 255, 0.5);
}

.subpage {
    padding-inline: 16px;
}

.subpage .content.card {
    border-radius: calc(var(--border-radius) + 6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.74), rgba(18, 24, 34, 0.56));
}

.subpage .content.card h1,
.subpage .content.card h2,
.subpage .content.card h3 {
    color: var(--text-main);
}

.subpage .content.card p,
.subpage .content.card li,
.subpage .content.card td,
.subpage .content.card th {
    color: var(--text-color);
}

.hero-actions {
    grid-column: 1 / -1;
    display: flex; gap: 20px; z-index: 5; flex-wrap: wrap; justify-content: center;
    opacity: 0; transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}
.hero-actions.visible { opacity: 1; transform: translateY(0); }

/* HERO METRICS */
.hero-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    gap: 40px;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
    z-index: 5;
}

.hero-actions.visible + .hero-metrics {
    opacity: 1;
    transform: translateY(0);
}

.hero-scroll-cue {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(230, 237, 243, 0.72);
    opacity: 0;
    transform: translateY(16px);
    transition: color 0.28s ease;
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}

.hero-scroll-cue:hover {
    color: var(--accent-bright);
}

.hero-scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, rgba(103, 207, 232, 0.1), rgba(103, 207, 232, 0.95));
    transform-origin: top;
    animation: scrollPulse 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.h-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-bright);
    text-shadow: 0 0 15px var(--accent-glow);
}

.m-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* BUTTONS */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 40px; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
    text-decoration: none; border-radius: 12px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden; z-index: 10;
}

.primary-btn {
    background-color: var(--text-main); color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1); border: 1px solid transparent;
}
.primary-btn:hover { background-color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 30px rgba(255,255,255,0.3); }

.secondary-btn {
    background: var(--bg-surface); color: var(--text-main);
    border: 1px solid var(--border-color); backdrop-filter: blur(10px);
}
.secondary-btn:hover {
    background: var(--bg-surface-hover); border-color: rgba(103, 207, 232, 0.4);
    transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-large { padding: 20px 50px; font-size: 1.1rem; }

/* FEATURE CARDS (Glassmorphism) */
.features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.feature-section {
    position: relative;
}

.features-wrapper .content { 
    opacity: 0; 
    transform: perspective(1000px) translate3d(0, 100px, -200px) rotateX(10deg);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}
.features-wrapper .content.visible { opacity: 1; transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0); }

.card {
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.7), rgba(22, 27, 34, 0.3));
    padding: 60px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle top-shine */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    max-width: 580px; width: 100%; transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 35px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(103, 207, 232, 0.1); border-color: rgba(103, 207, 232, 0.3); }

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius);
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(103, 207, 232, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.card:hover::after {
    opacity: 1;
}

.card.align-left { align-self: flex-start; margin-right: auto; margin-left: 8%; transform-origin: left center; }
.card.align-right { align-self: flex-end; margin-left: auto; margin-right: 8%; transform-origin: right center; }

.showcase-card {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 34px;
    align-items: center;
    padding: clamp(28px, 4vw, 54px);
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.78), rgba(18, 24, 34, 0.62));
    border-radius: calc(var(--border-radius) + 8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.showcase-card.reverse {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.showcase-card.reverse .showcase-copy {
    order: 2;
}

.showcase-card.reverse .showcase-media {
    order: 1;
}

.showcase-copy h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    max-width: 12ch;
}

.showcase-copy p {
    max-width: 56ch;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 14px;
}

.feature-bullets li {
    position: relative;
    padding-left: 30px;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-bright), var(--accent-color));
    box-shadow: 0 0 16px rgba(103, 207, 232, 0.55);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.showcase-media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.media-label {
    align-self: flex-start;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.media-frame {
    position: relative;
    min-height: 430px;
    padding: 22px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 14, 21, 0.96), rgba(20, 28, 39, 0.86));
    border: 1px solid rgba(103, 207, 232, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 28px 55px rgba(0, 0, 0, 0.4);
}

.template-frame {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.template-image {
    width: 100%;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(103, 207, 232, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.media-frame::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.media-frame::after {
    content: '';
    position: absolute;
    inset: auto -20% -30% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 207, 232, 0.18), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.frame-header {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.frame-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.frame-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
    min-height: 270px;
}

.frame-card {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(103, 207, 232, 0.16), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(103, 207, 232, 0.18);
}

.frame-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: translateX(-120%);
    animation: sheen 5.5s ease-in-out infinite;
}

.frame-card.tall {
    grid-row: span 2;
    min-height: 266px;
    background: linear-gradient(180deg, rgba(103, 207, 232, 0.2), rgba(255, 255, 255, 0.03));
}

.frame-card.wide {
    grid-column: 1 / -1;
    min-height: 92px;
}

.frame-foot {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.media-frame-accent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.frame-ribbon {
    align-self: flex-start;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(103, 207, 232, 0.12);
    border: 1px solid rgba(103, 207, 232, 0.25);
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    font-weight: 700;
}

.price-glass {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-tag {
    display: block;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.68rem;
    margin-bottom: 8px;
}

.glass-stat {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.6;
}

.revenue-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.revenue-metrics div,
.mini-status {
    text-align: center;
    padding: 16px 14px;
    border-radius: 16px;
    background: rgba(18, 24, 34, 0.82);
    border: 1px solid rgba(103, 207, 232, 0.12);
}

.revenue-metrics strong,
.mini-status strong {
    display: block;
    color: var(--accent-bright);
    font-family: var(--font-heading);
    font-size: 1.55rem;
    margin-bottom: 4px;
}

.revenue-metrics span,
.mini-status span {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.shield-mockup {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-core {
    width: 118px;
    height: 160px;
    background: linear-gradient(180deg, rgba(103, 207, 232, 0.96), rgba(103, 207, 232, 0.18));
    clip-path: polygon(50% 0%, 90% 14%, 82% 72%, 50% 100%, 18% 72%, 10% 14%);
    box-shadow: 0 0 35px rgba(103, 207, 232, 0.45);
    z-index: 2;
}

.shield-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(103, 207, 232, 0.28);
    box-shadow: inset 0 0 35px rgba(103, 207, 232, 0.12);
    animation: ringPulse 5s ease-in-out infinite;
}

.shield-ring.ring-2 {
    width: 290px;
    height: 290px;
    opacity: 0.5;
    animation-delay: 1.4s;
}

.mini-status-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@keyframes sheen {
    0% { transform: translateX(-120%); }
    40% { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(0.96); opacity: 0.5; }
    50% { transform: scale(1.04); opacity: 0.85; }
}

@keyframes heroReveal {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0% { transform: scaleY(0.42); opacity: 0.4; }
    55% { transform: scaleY(1); opacity: 0.95; }
    100% { transform: scaleY(0.42); opacity: 0.4; }
}

.card-icon {
    display: inline-flex; justify-content: center; align-items: center;
    width: 64px; height: 64px; margin-bottom: 20px;
    padding: 12px; background: rgba(103, 207, 232, 0.05); border-radius: 16px;
    border: 1px solid rgba(103, 207, 232, 0.1); box-shadow: inset 0 2px 10px rgba(255,255,255,0.02);
    color: var(--accent-bright);
}

.animated-icon {
    width: 100%; height: 100%;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-15deg); } }
@keyframes pulse-shield { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--accent-color)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 10px var(--accent-bright)); } }
@keyframes rotate-cog { from { transform: rotate(0deg); } to { transform: rotate(180deg); } }

.anim-float { animation: float 3s ease-in-out infinite; }
.anim-spin { animation: spin-slow 10s linear infinite; }
.anim-bob { transform-origin: bottom left; animation: bob 2s ease-in-out infinite; }
.anim-pulse-shield { animation: pulse-shield 2.5s ease-in-out infinite; }
.anim-rotate { animation: rotate-cog 8s linear infinite; }

.feature-section h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 25px; line-height: 1.1; }
.feature-section p { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; line-height: 1.8; }

/* FOOTER & FINAL CTA */
.footer-card {
    background: transparent;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 80px;
    width: 100%;
    opacity: 0; transform: translateY(40px); transition: opacity 1s, transform 1s;
}
.footer-card.visible { opacity: 1; transform: translateY(0); }

footer.slide {
    position: relative;
    overflow: hidden;
}

footer.slide::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    height: 320px;
    background: linear-gradient(180deg, rgba(9, 13, 20, 0), rgba(9, 13, 20, 0.92) 40%, rgba(103, 207, 232, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

.footer-card {
    position: relative;
    z-index: 1;
    margin-left: 0;
    margin-right: 0;
}

.footer-cta-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    justify-items: center;
    text-align: left;
}

.footer-copy,
.footer-support-card {
    padding: clamp(28px, 4vw, 44px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.78), rgba(18, 24, 34, 0.56));
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(920px, 100%);
}

.footer-copy .section-eyebrow {
    margin-bottom: 14px;
}

.footer-copy p {
    margin-left: auto;
    margin-right: auto;
}

.footer-copy h2 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.footer-copy p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 54ch;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    justify-content: center;
}

.footer-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    justify-content: center;
}

.footer-quick-actions a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.footer-quick-actions a:hover {
    color: var(--text-main);
    border-color: rgba(103, 207, 232, 0.28);
    background: rgba(103, 207, 232, 0.08);
    transform: translateY(-2px);
}

.support-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(103, 207, 232, 0.12);
    border: 1px solid rgba(103, 207, 232, 0.22);
    color: var(--accent-bright);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-card .legal {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer-card .copyright {
    margin-top: 18px;
}

.footer-card p.copyright {
    font-size: 0.85rem;
    color: rgba(139, 148, 158, 0.6);
    text-align: center;
    padding-bottom: 40px;
}

.footer-card .legal a,
.footer-card .legal .dot {
    margin: 0 10px;
}

.legal { margin-top: 50px; font-size: 0.95rem; }
.legal a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-weight: 500; }
.legal a:hover { color: var(--accent-color); }
.dot { color: var(--border-color); margin: 0 15px; }

.copyright { color: rgba(139, 148, 158, 0.5); font-size: 0.85rem; margin-top: 25px; padding-bottom: 40px; }

/* RESPONSIVE */
@media (max-width: 900px), (max-height: 800px) {
    .card { padding: 40px; }
    .feature-section h2 { font-size: 2.5rem; margin-bottom: 15px; }
    .feature-section p { font-size: 1.1rem; }
    .card-icon { font-size: 2.2rem; margin-bottom: 12px; padding: 12px; }
    .tagline { font-size: 1.1rem; letter-spacing: 2px; padding: 0 15px; line-height: 1.4;}
}

@media (max-width: 980px) {
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .card.align-left, .card.align-right { margin: 0 auto; max-width: 90%; padding: 30px; }
    .showcase-card,
    .showcase-card.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .showcase-card.reverse .showcase-copy,
    .showcase-card.reverse .showcase-media {
        order: 0;
    }

    .media-frame {
        min-height: 360px;
    }

    .frame-grid {
        min-height: 220px;
    }

    .footer-cta-shell,
    .support-details {
        grid-template-columns: 1fr;
    }

    .footer-cta-shell {
        text-align: left;
    }

    .footer-copy {
        text-align: center;
    }

    .hero-content { margin-top: clamp(72px, 14vh, 130px); }
    .hero-metrics { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .m-val { font-size: 1.2rem; }
    .feature-section h2, .footer-card h2 { font-size: 2.2rem; }
    .tagline { font-size: 0.95rem; letter-spacing: 1px; line-height: 1.4; padding: 0 10px; }
    .hero-subcopy { font-size: 0.98rem; line-height: 1.65; }
    .hero-scroll-cue { margin-top: -2px; }
    .hero-text-overlay { margin-top: clamp(84px, 14vh, 140px); }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-table { font-size: 0.9rem; }
    .pricing-table th, .pricing-table td { padding: 10px 6px; }
}

.metrics-wrapper { display: flex; flex-direction: column; gap: 0; margin: 0; }

.metrics-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

.metrics-content {
    width: 100%;
    max-width: 1000px;
}

.section-eyebrow {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 20px;
}

.metric-card {
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.5), rgba(22, 27, 34, 0.2));
    border: 1px solid rgba(103, 207, 232, 0.2);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
}

.metrics-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metrics-content .section-eyebrow {
    grid-column: 1 / -1;
}

.metric-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.metric-card strong {
    display: block;
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--accent-bright);
}

.pricing-content {
    opacity: 0;
    transform: translateZ(-350px) translateY(120px) rotateX(15deg) rotateY(-10deg);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.pricing-content.visible {
    opacity: 1;
    transform: translateZ(0) translateY(0) rotateX(0) rotateY(0);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(30, 36, 45, 0.7), rgba(22, 27, 34, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(103, 207, 232, 0.1);
    border-color: rgba(103, 207, 232, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(103, 207, 232, 0.2);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 12px;
    color: var(--text-main);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-bright);
    margin: 20px 0 8px;
}

.currency {
    font-size: 1.4rem;
}

.period {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-desc {
    color: var(--text-muted);
    margin: 0 0 24px;
    font-size: 0.95rem;
}

.pricing-table-wrapper {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid rgba(240, 246, 252, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-table thead {
    background: rgba(22, 27, 34, 0.6);
    border-bottom: 1px solid rgba(240, 246, 252, 0.1);
}

.pricing-table th {
    padding: 16px;
    text-align: left;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(240, 246, 252, 0.05);
    color: var(--text-muted);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(30, 36, 45, 0.3);
}

.feature-check {
    color: #3bd682;
    font-weight: 700;
}

.feature-x {
    color: #ff6060;
    font-weight: 700;
}

.feature-number {
    color: var(--accent-bright);
    font-weight: 600;
}

@media (max-width: 920px) {
    .metrics-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .metrics-content {
        grid-template-columns: 1fr;
    }
}
