/* simulai.dev - Retro-Futurist Minimalist Styles */
/* Palette: #1a1a2e (deep), #4a90d9 (blue), #f5f0e8 (cream), #e8b84b (gold), #6c757d (gray) */
/* Fonts: Caveat (handwritten), Space Grotesk (display), Inter (body) */

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

:root {
    --deep: #1a1a2e;
    --blue: #4a90d9;
    --cream: #f5f0e8;
    --gold: #e8b84b;
    --gray: #6c757d;
    --font-hand: 'Caveat', cursive;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--deep);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== BUBBLE BACKGROUND ===== */
#bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.02));
    border: 1px solid rgba(74, 144, 217, 0.08);
}

.bubble-1 { width: 18px; height: 18px; left: 5%; animation: bubbleRise 18s linear infinite 0s; }
.bubble-2 { width: 30px; height: 30px; left: 15%; animation: bubbleRise 22s linear infinite 2s; }
.bubble-3 { width: 14px; height: 14px; left: 25%; animation: bubbleRise 16s linear infinite 4s; }
.bubble-4 { width: 24px; height: 24px; left: 35%; animation: bubbleRise 20s linear infinite 1s; }
.bubble-5 { width: 10px; height: 10px; left: 45%; animation: bubbleRise 15s linear infinite 6s; }
.bubble-6 { width: 28px; height: 28px; left: 55%; animation: bubbleRise 24s linear infinite 3s; }
.bubble-7 { width: 16px; height: 16px; left: 65%; animation: bubbleRise 17s linear infinite 5s; }
.bubble-8 { width: 22px; height: 22px; left: 72%; animation: bubbleRise 21s linear infinite 7s; }
.bubble-9 { width: 12px; height: 12px; left: 80%; animation: bubbleRise 14s linear infinite 2s; }
.bubble-10 { width: 34px; height: 34px; left: 88%; animation: bubbleRise 26s linear infinite 8s; }
.bubble-11 { width: 20px; height: 20px; left: 92%; animation: bubbleRise 19s linear infinite 4s; }
.bubble-12 { width: 15px; height: 15px; left: 50%; animation: bubbleRise 23s linear infinite 10s; }

@keyframes bubbleRise {
    0% {
        transform: translateY(110vh) translateX(0) scale(0.3);
        opacity: 0;
    }
    8% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(30px) scale(0.7);
    }
    92% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(-20px) scale(1);
        opacity: 0;
    }
}

/* ===== GEOMETRIC ACCENTS ===== */
#geometric-accents {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.geo-accent {
    position: fixed;
    animation: gentleSpin 60s linear infinite;
}

.geo-accent-1 {
    top: 8%;
    left: 5%;
    animation-duration: 50s;
}

.geo-accent-2 {
    top: 25%;
    right: 6%;
    animation-duration: 70s;
    animation-direction: reverse;
}

.geo-accent-3 {
    bottom: 20%;
    left: 4%;
    animation-duration: 65s;
}

.geo-accent-4 {
    bottom: 8%;
    right: 8%;
    animation-duration: 55s;
    animation-direction: reverse;
}

@keyframes gentleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== MAIN CONTENT ===== */
#main-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 100px 0;
}

.section-inner {
    position: relative;
}

.section-heading {
    font-family: var(--font-hand);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 48px;
    line-height: 1.2;
}

/* ===== SLIDE REVEAL ===== */
.reveal-section {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ===== HERO SECTION ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.label-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.label-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--deep);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.dot-accent {
    color: var(--gold);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 44px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 15px 34px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.35s ease;
    letter-spacing: 0.015em;
}

.cta-primary {
    background: var(--deep);
    color: var(--cream);
    border: 1px solid var(--deep);
}

.cta-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 217, 0.2);
}

.cta-secondary {
    background: transparent;
    color: var(--deep);
    border: 1px solid rgba(26, 26, 46, 0.2);
}

.cta-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ===== FLOATING NOTES ===== */
.floating-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-hand);
    font-size: 1rem;
    color: var(--gold);
    padding: 6px 16px;
    border: 1px solid rgba(232, 184, 75, 0.25);
    border-radius: 20px;
    background: rgba(232, 184, 75, 0.05);
    animation: noteFloat 7s ease-in-out infinite;
}

.note-marker {
    font-size: 1.2rem;
    opacity: 0.7;
}

.note-text {
    font-size: 0.95rem;
}

.floating-note-hero {
    animation-delay: 0s;
}

.floating-note-philosophy {
    animation-delay: 2s;
}

.floating-note-process {
    animation-delay: 4s;
}

@keyframes noteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.philosophy-block {
    padding: 36px;
    background: rgba(26, 26, 46, 0.015);
    border: 1px solid rgba(26, 26, 46, 0.06);
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
}

.philosophy-block:hover {
    background: rgba(74, 144, 217, 0.03);
    border-color: rgba(74, 144, 217, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.04);
}

.retro-ornament {
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.philosophy-block:hover .retro-ornament {
    opacity: 1;
}

.block-title {
    font-family: var(--font-hand);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 12px;
}

.block-text {
    font-size: 0.98rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== FEATURES LIST ===== */
.features-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 36px 0;
    position: relative;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.08), rgba(232, 184, 75, 0.15), rgba(26, 26, 46, 0.08));
}

.feature-number {
    font-family: var(--font-hand);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 60px;
    line-height: 1;
    opacity: 0.8;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 20px;
}

.timeline-line {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), var(--blue), var(--gold));
    opacity: 0.3;
}

.process-step {
    position: relative;
    padding: 32px 0;
}

.step-dot {
    position: absolute;
    left: -40px;
    top: 38px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--cream);
    transition: all 0.3s ease;
    z-index: 1;
}

.process-step:hover .step-dot {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(232, 184, 75, 0.3);
}

.step-label {
    font-family: var(--font-hand);
    font-size: 1rem;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 10px;
}

.step-text {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== METRICS SECTION ===== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.metric-card {
    text-align: center;
    padding: 36px 16px;
    background: rgba(26, 26, 46, 0.02);
    border: 1px solid rgba(26, 26, 46, 0.06);
    border-radius: 10px;
    transition: all 0.4s ease;
}

.metric-card:hover {
    border-color: rgba(232, 184, 75, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.04);
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.metric-label {
    display: block;
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===== CONNECT SECTION ===== */
#connect .section-heading {
    margin-bottom: 20px;
}

.connect-text {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 40px;
}

.connect-form-wrapper {
    max-width: 500px;
}

.connect-form .form-row {
    display: flex;
    gap: 12px;
}

.form-input {
    flex: 1;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(26, 26, 46, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--deep);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: rgba(108, 117, 125, 0.5);
}

.form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.08);
}

.form-submit {
    padding: 15px 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--deep);
    color: var(--cream);
    border: 1px solid var(--deep);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.35s ease;
    white-space: nowrap;
    letter-spacing: 0.015em;
}

.form-submit:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.2);
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray);
    opacity: 0.6;
    margin-top: 14px;
    font-style: italic;
}

/* ===== FOOTER ===== */
#footer {
    padding: 64px 0 40px;
    border-top: 1px solid rgba(26, 26, 46, 0.06);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep);
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray);
    opacity: 0.5;
}

.footer-separator {
    color: var(--gray);
    opacity: 0.3;
    font-size: 0.8rem;
}

.footer-motto {
    font-family: var(--font-hand);
    font-size: 0.95rem;
    color: var(--gold);
    opacity: 0.6;
}

/* ===== EARTHY TEXTURE BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(232, 184, 75, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 144, 217, 0.03) 0%, transparent 50%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    #main-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .cta-primary,
    .cta-secondary {
        text-align: center;
    }

    .section-heading {
        font-size: 2.2rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 12px;
    }

    .feature-number {
        min-width: auto;
    }

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

    .connect-form .form-row {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .footer-separator {
        display: none;
    }

    .geo-accent {
        display: none;
    }

    .process-timeline {
        padding-left: 30px;
    }

    .step-dot {
        left: -30px;
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .content-section {
        padding: 70px 0;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .metric-value {
        font-size: 1.6rem;
    }
}
