/* senggack.net -- evolved-minimal ocean console
   Fonts: Inter" (Google Fonts) body, Work Sans" (Google Fonts) condensed efficient headings. */

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #E8F0F5;
    background-color: #0A1A2E;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #E8F0F5;
    letter-spacing: -0.02em;
}

.section-heading {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    color: #E8F0F5;
    margin-bottom: 3rem;
}

.accent-dot {
    color: #40E0D0;
}

/* ========== TECH LABELS & MARKERS ========== */
.tech-label {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.7rem;
    color: #1A4A7A;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.measurement-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1A4A7A 20%, #1A4A7A 80%, transparent);
    margin: 1.2rem 0;
}

.dot-marker {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #40E0D0;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.6rem;
}

.dot-seafoam {
    background-color: #40E0D0;
}

.dot-coral {
    background-color: #FF6B6B;
}

.tech-markers {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.8rem;
}

/* ========== FULL-BLEED SECTIONS ========== */
.section {
    width: 100vw;
    position: relative;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 8vh 2rem;
}

/* ========== HERO ========== */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-hero .section-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #E8F0F5;
    opacity: 0.7;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* ========== ORGANIC BLOBS ========== */
.blob {
    position: fixed;
    border-radius: 55% 45% 60% 40%;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #40E0D0;
    top: -100px;
    right: -80px;
    animation: blobDrift1 25s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 280px;
    background: #FF6B6B;
    bottom: 20%;
    left: -60px;
    border-radius: 40% 60% 55% 45%;
    animation: blobDrift2 30s ease-in-out infinite;
}

.blob-3 {
    width: 200px;
    height: 220px;
    background: #1A4A7A;
    top: 40%;
    right: 10%;
    border-radius: 60% 40% 45% 55%;
    animation: blobDrift3 20s ease-in-out infinite;
}

.blob-4 {
    width: 150px;
    height: 160px;
    background: #40E0D0;
    bottom: 10%;
    right: -40px;
    border-radius: 45% 55% 40% 60%;
    animation: blobDrift1 35s ease-in-out infinite reverse;
}

.blob-5 {
    width: 260px;
    height: 240px;
    background: #FF6B6B;
    top: 15%;
    left: 5%;
    border-radius: 50% 50% 60% 40%;
    opacity: 0.1;
    animation: blobDrift2 28s ease-in-out infinite reverse;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(5deg); }
    50% { transform: translate(-15px, 25px) rotate(-3deg); }
    75% { transform: translate(20px, 15px) rotate(4deg); }
}

@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-25px, 15px) rotate(-4deg); }
    66% { transform: translate(20px, -20px) rotate(6deg); }
}

@keyframes blobDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -15px) scale(1.05); }
}

/* ========== CARDS ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background-color: #0F2238;
    border: 1px solid #1A4A7A;
    padding: 2rem 1.5rem;
    position: relative;
}

.card-label {
    color: #40E0D0;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #E8F0F5;
}

.card-text {
    font-size: 0.9rem;
    color: #E8F0F5;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-rule {
    width: 40px;
    height: 1px;
    background-color: #40E0D0;
    margin-bottom: 0.8rem;
}

.card-stat {
    color: #40E0D0;
}

/* ========== ZOOM-FOCUS INTERACTION ========== */
.zoom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.zoom-card:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 40px rgba(64, 224, 208, 0.15);
}

/* ========== METRICS ========== */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric {
    background-color: #0F2238;
    border: 1px solid #1A4A7A;
    padding: 2rem 1.5rem;
    text-align: center;
}

.metric-value {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #40E0D0;
    display: block;
    margin-bottom: 1rem;
}

.metric-unit {
    font-size: 1rem;
    color: #FF6B6B;
    margin-left: 0.1em;
}

.metric .card-rule {
    margin: 0 auto 0.8rem auto;
}

.metric .tech-label {
    color: #E8F0F5;
    opacity: 0.5;
}

/* ========== SIGNAL FEED ========== */
.signal-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #0F2238;
    border: 1px solid #1A4A7A;
    padding: 1.2rem 1.5rem;
}

.signal-item .dot-marker {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
}

.signal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.signal-title {
    font-size: 0.95rem;
    color: #E8F0F5;
}

.signal-tag {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.65rem;
    color: #0A1A2E;
    background-color: #40E0D0;
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
.section-footer {
    border-top: 1px solid #1A4A7A;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #E8F0F5;
}

/* ========== SEAFOAM ACCENT PULSE ========== */
@keyframes seafoamPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.signal-tag {
    animation: seafoamPulse 3s ease-in-out infinite;
}

/* ========== Z-INDEX LAYERING ========== */
.section {
    position: relative;
    z-index: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .signal-item {
        flex-wrap: wrap;
    }

    .signal-tag {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .metrics-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
}
