/* ========== RESET & BASE ========== */
/* Palette: #0a0e1a #1e3a5f #2a6496 #8aa8c0 #c8d8e8 #f0f4f8 #f5a623 #ffffff */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: #0a0e1a;
    color: #f0f4f8;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a { color: #ffffff; text-decoration: none; }

.fira { font-family: 'Fira Code', monospace; }

/* ========== BOKEH BACKGROUND ========== */
.bokeh-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bokeh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    animation: bokeh-drift 30s ease-in-out infinite;
}

@keyframes bokeh-drift {
    0%, 100% { opacity: 0.15; transform: translateY(0) scale(1); }
    50% { opacity: 0.3; transform: translateY(-40px) scale(1.1); }
}

/* ========== HONEYCOMB PATTERN ========== */
.honeycomb-pattern {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* ========== FLOATING MOLECULES ========== */
.molecule-layer {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.molecule {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.15), transparent);
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* ========== NAV ========== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    backdrop-filter: blur(12px);
    background: rgba(10,14,26,0.7);
    border-bottom: 1px solid rgba(42,100,150,0.3);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #c8d8e8;
}

.logo-element {
    color: #f5a623;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: #8aa8c0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #f5a623;
}

/* ========== SECTIONS ========== */
.section {
    position: relative;
    z-index: 10;
    padding: 120px 40px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Diagonal cuts - even sections */
.section-about {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 calc(100% - 60px));
    margin-top: -60px;
    background: rgba(30,58,95,0.25);
}

.section-element {
    clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
    margin-top: -60px;
    background: rgba(10,14,26,0.6);
}

.section-vision {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 calc(100% - 60px));
    margin-top: -60px;
    background: rgba(30,58,95,0.25);
}

.section-data {
    clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
    margin-top: -60px;
    background: rgba(10,14,26,0.6);
}

.section-contact {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
    margin-top: -60px;
    background: rgba(30,58,95,0.25);
    min-height: 60vh;
}

/* ========== FROSTED PANELS ========== */
.frosted-panel {
    backdrop-filter: blur(8px);
    background: rgba(30,58,95,0.2);
    border: 1px solid rgba(200,216,232,0.1);
    border-radius: 12px;
    padding: 48px;
    max-width: 1000px;
    width: 100%;
    box-shadow:
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,0,0,0.3),
        0 0 40px rgba(245,166,35,0.05);
}

/* ========== HERO ========== */
.section-hero {
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-atomic {
    font-size: 120px;
    font-weight: 600;
    color: rgba(245,166,35,0.15);
    line-height: 1;
    margin-bottom: -20px;
}

.hero-atomic sub {
    font-size: 60px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: #c8d8e8;
    margin-bottom: 24px;
    min-height: 96px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #8aa8c0;
    max-width: 600px;
    margin: 0 auto 40px;
    min-height: 30px;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* ========== TYPEWRITER CURSOR ========== */
.typewriter::after {
    content: '';
    border-right: 2px solid #f5a623;
    animation: cursor-blink 0.8s step-end infinite;
    margin-left: 2px;
}

.typewriter.done::after {
    display: none;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========== BUTTONS ========== */
.btn-chrome {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 36px;
    color: #0a0e1a;
    background: linear-gradient(135deg, #f5a623, #c8d8e8);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(245,166,35,0.3);
}

.btn-chrome:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(245,166,35,0.5);
}

/* ========== SECTION HEADINGS ========== */
.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #c8d8e8;
    margin-bottom: 24px;
}

.section-body {
    font-size: 18px;
    line-height: 1.7;
    color: #8aa8c0;
    max-width: 700px;
}

.chrome-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, transparent);
    margin: 24px 0;
    border-radius: 2px;
}

/* ========== ELEMENT CARD ========== */
.section-element .frosted-panel {
    display: flex;
    gap: 48px;
    align-items: center;
}

.element-card {
    flex-shrink: 0;
    width: 200px;
    height: 240px;
    border: 2px solid #f5a623;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(245,166,35,0.05);
    box-shadow: 0 0 30px rgba(245,166,35,0.1);
}

.element-number {
    font-size: 18px;
    color: #f5a623;
    align-self: flex-start;
    margin-left: 16px;
    margin-top: 8px;
}

.element-symbol {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 90px;
    font-weight: 700;
    color: #c8d8e8;
    line-height: 1;
}

.element-name {
    font-size: 16px;
    color: #8aa8c0;
}

.element-weight {
    font-size: 14px;
    color: #f5a623;
    margin-top: 4px;
}

.element-facts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.element-facts li {
    font-size: 15px;
    color: #8aa8c0;
}

.fact-label {
    color: #f5a623;
    margin-right: 8px;
}

/* ========== VISION GRID ========== */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.vision-card {
    background: rgba(10,14,26,0.4);
    border: 1px solid rgba(200,216,232,0.08);
    border-radius: 10px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(245,166,35,0.1);
}

.vision-icon {
    margin-bottom: 20px;
}

.vision-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #c8d8e8;
    margin-bottom: 12px;
}

.vision-text {
    font-size: 15px;
    line-height: 1.6;
    color: #8aa8c0;
}

/* ========== DATA GRID ========== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.data-card {
    text-align: center;
    padding: 32px 16px;
    background: rgba(10,14,26,0.4);
    border: 1px solid rgba(200,216,232,0.08);
    border-radius: 10px;
}

.data-value {
    font-size: 42px;
    font-weight: 600;
    color: #f5a623;
    margin-bottom: 8px;
}

.data-label {
    font-size: 14px;
    color: #8aa8c0;
}

/* ========== CONTACT ========== */
.contact-row {
    margin-top: 32px;
}

/* ========== FOOTER ========== */
.footer {
    position: relative;
    z-index: 10;
    padding: 32px 40px;
    border-top: 1px solid rgba(200,216,232,0.1);
    background: rgba(10,14,26,0.8);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #c8d8e8;
}

.footer-copy {
    font-size: 13px;
    color: #8aa8c0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title { font-size: 44px; }
    .hero-atomic { font-size: 72px; }
    .section-heading { font-size: 32px; }
    .nav-links { display: none; }
    .section { padding: 100px 20px 60px; }
    .frosted-panel { padding: 32px 20px; }
    .section-element .frosted-panel { flex-direction: column; }
    .vision-grid { grid-template-columns: 1fr; }
    .data-grid { grid-template-columns: repeat(2, 1fr); }
}
