@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Syncopate:wght@700&display=swap');

/* --- Ice Blue Theme (ONLY) --- */
:root {
    --bg-color: #03060a;
    --text-color: #d2e4f7;
    --accent-color: #97C1E6;
    --muted-color: #4b647c;

    --canvas-particle: rgba(151, 193, 230, 1);
    --canvas-shadow: #97C1E6;
    --canvas-grad1-0: rgba(151, 193, 230, 0.16);
    --canvas-grad1-50: rgba(75, 100, 124, 0.05);
    --canvas-grad2-0: rgba(210, 228, 247, 0.12);
    --canvas-line: rgba(151, 193, 230, 0.12);

    --particle-rgb: 151, 193, 230;
    --shadow-color: #97C1E6;
    --grad-stop-0: rgba(151, 193, 230, 0.18);
    --grad-stop-05: rgba(83, 106, 126, 0.06);
    --grad2-stop-0: rgba(200, 225, 255, 0.14);
    --line-rgba: rgba(151, 193, 230, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow: auto;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 60px 40px 60px;
    background: var(--bg-color);
    overflow: hidden;
}

/* Astral Canvas */
#astral-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Noise */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1800 1800" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="1.6" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.06"/></svg>');
    pointer-events: none;
    z-index: 3;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px 15px 60px;
    z-index: 100;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-color);
}

/* Logo */
.flower-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.flower-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(151, 193, 230, 0.6));
    transition: fill 0.3s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flower-logo:hover svg {
    fill: #ffffff;
    transform: rotate(90deg) scale(1.15);
}

.header-spacer {
    flex-shrink: 0;
}

/* Center graphic */
.hero-graphic-layer {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-title-bg {
    font-family: 'Syncopate', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2rem, 6vw, 9rem);
    font-weight: 700;
    text-transform: uppercase;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(135deg, rgba(151, 193, 230, 0.12) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(151, 193, 230, 0.08) 100%);
    letter-spacing: -2px;
    white-space: nowrap;
    user-select: none;
    z-index: 1;
    filter: drop-shadow(0 0 25px rgba(151, 193, 230, 0.06));
}

/* Ring */
.glowing-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px dashed rgba(151, 193, 230, 0.35);
    box-shadow: 0 0 60px rgba(151, 193, 230, 0.15), inset 0 0 45px rgba(151, 193, 230, 0.1);
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbital-spin 20s linear infinite;
}

.glowing-ring::before {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 2px solid rgba(151, 193, 230, 0.45);
    box-shadow: 0 0 30px rgba(151, 193, 230, 0.25), inset 0 0 20px rgba(151, 193, 230, 0.15);
    animation: spectral-pulse 6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.glowing-ring::after {
    content: "";
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: orbital-spin-reverse 12s linear infinite;
}

@keyframes orbital-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbital-spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes spectral-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.97); }
    50% { opacity: 0.85; transform: scale(1.01); }
}

@keyframes smooth-glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
        box-shadow: 0 0 25px rgba(151, 193, 230, 0.5);
    }
    50% {
        transform: scale(1.04);
        opacity: 0.9;
        box-shadow: 0 0 45px rgba(151, 193, 230, 0.9);
    }
}

/* Silhouette */
.hero-silhouette {
    position: absolute;
    bottom: 120px;
    z-index: 2;
    width: 120px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.shield-icon-glow {
    width: 44px;
    height: 52px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 35px rgba(151, 193, 230, 0.9);
    animation: smooth-glow-pulse 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer */
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 4;
    font-size: 11px;
    color: var(--muted-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 1%;
}

.hero-description {
    max-width: 480px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.5;
    font-size: 11px;
    color: #6a92b4;
}

/* Menu Pill */
.unified-menu-pill {
    background: rgba(151, 193, 230, 0.08);
    border: 1px solid rgba(151, 193, 230, 0.35);
    margin-right: 0; /* Clear conflicting margins */
    padding: 10px 24px;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(151, 193, 230, 0.25);
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    overflow: hidden;
}
/* Menu viewport */
.menu-viewport {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: var(--current-width, auto);
    max-width: 100%;
}

/* Tracks */
.menu-track {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, opacity;
    white-space: nowrap;
}

.menu-item {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(151, 193, 230, 0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.menu-item:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(151, 193, 230, 0.9);
}

.menu-separator {
    color: rgba(151, 193, 230, 0.4);
    font-weight: 300;
    white-space: nowrap;
}

.back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(151, 193, 230, 0.3);
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    vertical-align: baseline;
    line-height: 1;
    padding: 0;
}

.back-arrow:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(151, 193, 230, 0.9);
    transform: translateX(-3px);
}

/* Subviews */
.menu-subview,
.menu-sub-subview-media,
.menu-sub-subview-websites {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    will-change: opacity;
    white-space: nowrap;
}

/* State classes */
.unified-menu-pill.show-subview .menu-track,
.unified-menu-pill.show-sub-subview-media .menu-track,
.unified-menu-pill.show-sub-subview-websites .menu-track,
.unified-menu-pill.show-sub-subview-media .menu-subview,
.unified-menu-pill.show-sub-subview-websites .menu-subview {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
}

.unified-menu-pill.show-subview .menu-subview {
    opacity: 1;
    visibility: visible;
}

.unified-menu-pill.show-sub-subview-media .menu-sub-subview-media {
    opacity: 1;
    visibility: visible;
}

.unified-menu-pill.show-sub-subview-websites .menu-sub-subview-websites {
    opacity: 1;
    visibility: visible;
}

/* Measurement elements */
.measure-container {

    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero { padding: 20px 15px; }
    .hero-title-bg { font-size: clamp(1.2rem, 9vw, 2.5rem); }
    .glowing-ring { width: 260px; height: 260px; }
    .unified-menu-pill { padding: 8px 14px; font-size: 9px; max-width: calc(100vw - 30px); }
    .menu-viewport { max-width: 100%; }
    .menu-track,
    .menu-subview,
    .menu-sub-subview-media,
    .menu-sub-subview-websites,
    .measure-container {
        gap: 8px;
        font-size: 9px;
    }
    .measure-container .back-arrow,
    .menu-subview .back-arrow,
    .menu-sub-subview-media .back-arrow,
    .menu-sub-subview-websites .back-arrow {
        font-size: 9px;
    }
    .header-spacer { display: none; }
}

@media (max-width: 768px) {
    #menuPill {
        margin-left: 0;
        margin-right: 0;
    }
    .header-spacer {
        display: none;
    }
    .hero-header {
        padding: 20px 10px 15px 10px;
        background: none;
    }
}








.hero-left-overlay {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    color: #fff;
    width: 420px;
    pointer-events: auto;
    opacity: 0;
    animation: fadeSlideUp 1.2s ease forwards;
}

.hero-left-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.hero-left-sub {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.hero-left-btn {
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.25s ease;
}

.hero-left-btn:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%);
    }
}
