/* ======================================
   VELTAS - Hyper-Modern "Ultra" Design
   ====================================== */

:root {
    /* Base - Pure Contrast */
    --bg-main: #020202;
    --bg-surface: #0A0A0A;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    /* Tight, heavy */
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    /* Tech feel */

    /* Palette - Monochrome + Electric Accent */
    --color-white: #EDEDED;
    --color-gray-100: #E1E1E1;
    --color-gray-400: #888888;
    --color-gray-700: #333333;
    --color-gray-800: #1F1F1F;
    --color-gray-900: #111111;

    /* The "Electric" Accent - Vibrant Blue/Indigo */
    --accent-core: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.5);

    /* Borders & Glass */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --container-width: 1100px;
}

/* Reset & Basics */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ======================================
   TEXTURE & ATMOSPHERE (Anti-AI Flatness)
   ====================================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.07;
}

.ambient-light {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* ======================================
   TYPOGRAPHY UTILITIES
   ====================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    letter-spacing: -0.04em;
    /* Tight editorial look */
    font-weight: 600;
}

p {
    color: var(--color-gray-400);
    letter-spacing: -0.01em;
}

.text-gradient {
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.mono-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-gray-400);
    border: 1px solid var(--color-gray-800);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    display: inline-block;
}

/* ======================================
   LAYOUT
   ====================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 8rem 0;
}

/* ======================================
   NAVBAR (Floating Island)
   ====================================== */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    /* Pill shape */
    padding: 0.8rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    color: white;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: white;
    box-shadow: 0 0 10px white;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--color-gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.btn-nav-primary {
    background: white;
    color: black;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-nav-primary:hover {
    transform: scale(1.05);
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
}

/* ======================================
   HERO
   ====================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 6rem;
    position: relative;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1;
    margin: 1.5rem 0;
    background: radial-gradient(circle at center, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-major {
    background: var(--color-white);
    color: black;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid white;
}

.btn-major:hover {
    background: transparent;
    color: white;
}

.btn-minor {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.btn-minor:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
}

/* Hero Visual - Abstract Dashboard */
.hero-visual {
    width: 100%;
    max-width: 900px;
    position: relative;
}

.dashboard-panel {
    background: #050505;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 4px;
    /* thick border look inner */
    box-shadow: 0 -20px 60px rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.panel-inner {
    background: #0A0A0A;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.panel-header {
    height: 40px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 8px;
}

.win-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.panel-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    height: 100%;
}

.sidebar-mock {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-line {
    height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    width: 100%;
}

.bar-short {
    width: 60%;
}

.main-mock {
    background: #111;
    border-radius: 8px;
    border: 1px solid var(--color-gray-800);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* Animated flow lines in dashboard */
.flow-anim-line {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: #222;
    overflow: hidden;
}

.flow-dot {
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    position: absolute;
    animation: flowMove 2s infinite linear;
}

@keyframes flowMove {
    0% {
        left: -10%;
    }

    100% {
        left: 110%;
    }
}

/* ======================================
   BENTO GRID (Modern)
   ====================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1rem;
    margin-top: 4rem;
}

.bento-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-card:hover {
    border-color: var(--color-gray-400);
    transform: translateY(-2px);
    z-index: 10;
}

.col-span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

.card-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-gray-400);
    margin-bottom: 1rem;
    display: block;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    max-width: 80%;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    max-width: 90%;
}

.card-decoration {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    opacity: 0.2;
}

/* ======================================
   MINIMAL PROCESS
   ====================================== */
.process-list {
    margin-top: 4rem;
    border-left: 1px solid var(--border-light);
}

.process-item {
    padding-left: 2rem;
    position: relative;
    padding-bottom: 3rem;
}

.process-item::before {
    content: '';
    position: absolute;
    left: -5px;
    /* (width/2 + border/2) */
    top: 0;
    width: 9px;
    height: 9px;
    background: var(--bg-main);
    border: 1px solid var(--color-gray-400);
    border-radius: 50%;
}

.process-item:hover::before {
    background: white;
}

.process-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.mail-link {
    font-size: 1.5rem;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

.mail-link:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--color-gray-700);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 800px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        grid-template: none;
        gap: 1.5rem;
    }

    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .dashboard-panel {
        display: none;
        /* Hide complex visual on mobile */
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
}