/* index.css — TIMBUKTU LLC */

/* ── FONT ──────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Cinzel';
    src: url('/assets/fonts/Cinzel-VariableFont_wght.ttf') format('truetype');
}

/* ── TOKENS ────────────────────────────────────────────────────────── */
:root {
    --gold:      #FFD700;
    --gold-d:    #B8860B;
    --gold-l:    #FFC200;
    --purple:    #7B35C2;
    --purple-l:  #A56DD4;
    --black:     #000;
    --ink:       #0a0814;
    --dark:      #0d0d0d;
    --silver:    #C0C0C0;
    --white:     #fff;
    --header-h:  84px;
    --fade-dur:  1.25s;
    --radius:    12px;
}

/* ── RESET ─────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
::-webkit-scrollbar { display: none; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}
body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
}

/* ── PAGE LOAD ─────────────────────────────────────────────────────── */
.header-container { animation: slideDown 1.25s ease 0.1s both; }
main              { animation: fadeUp   1.5s  ease 0.8s both; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* ── SCROLL FADE ───────────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--fade-dur) ease, transform var(--fade-dur) ease;
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* ── HEADER ────────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.22);
    padding: 10px 28px;
    gap: 16px;
    height: var(--header-h);
}

/* Logo cycling */
.logo-images {
    position: relative;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
}
.logo-images img {
    position: absolute;
    opacity: 0;
    animation: switchImg 9s steps(1) infinite;
}
.logo-rock { width: 60px; height: 60px; }
.logo-coin { width: 34px; height: 34px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.logo-bar  { width: 60px; height: 60px; }
.logo-images img:nth-child(1) { animation-delay: 0s; }
.logo-images img:nth-child(2) { animation-delay: 3s; }
.logo-images img:nth-child(3) { animation-delay: 6s; }
@keyframes switchImg {
    0%    { opacity: 1; }
    33.5% { opacity: 0; }
    100%  { opacity: 0; }
}

/* Brand name */
.header-logo {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 6px;
    white-space: nowrap;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}

/* Mobile toggle */
.nav-toggle-input { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    transition: border-color 0.2s;
}
.hamburger:hover { border-color: var(--gold); }
.hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Nav */
.header-links {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
}
.nav-item a {
    display: block;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 8px 13px;
    font-size: 13px;
    white-space: nowrap;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}
.nav-item a:hover        { color: var(--gold); background: rgba(255, 215, 0, 0.07); }
.nav-item a:hover::after { width: calc(100% - 26px); }
.nav-item a:active       { color: var(--gold-d); }

@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        padding: 10px 16px;
        height: auto;
    }
    .hamburger    { display: flex; order: 3; }
    .logo-images  { order: 1; }
    .header-logo  { order: 2; flex: 1; }
    .header-links {
        order: 4;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        flex: 1 0 100%;
        border-top: 0 solid transparent;
        transition: max-height 0.4s ease, border-top 0.4s;
    }
    .nav-toggle-input:checked ~ .header-links {
        max-height: 500px;
        border-top: 1px solid rgba(255, 215, 0, 0.15);
    }
    .nav-list {
        flex-direction: column;
        gap: 4px;
        padding: 10px 0;
        width: 100%;
        align-items: stretch;
    }
    .nav-item { width: 100%; text-align: center; }
    .nav-item a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.85);
    }
    .nav-item a::after { display: none; }
    .nav-item a:hover  { color: var(--gold); background: rgba(255, 215, 0, 0.08); }
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--ink);
    padding-top: var(--header-h);
    overflow: hidden;
}

/* Background shape + orb container */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Glowing orbs — no JS, pure CSS radial blobs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.orb-1 {
    width: clamp(260px, 45vw, 560px);
    height: clamp(260px, 45vw, 560px);
    top: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    animation: pulseOrb 11s ease-in-out infinite;
}
.orb-2 {
    width: clamp(180px, 32vw, 420px);
    height: clamp(180px, 32vw, 420px);
    bottom: -12%;
    right: -8%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    animation: pulseOrb 14s ease-in-out infinite;
    animation-delay: -5s;
}
.orb-3 {
    width: clamp(120px, 22vw, 300px);
    height: clamp(120px, 22vw, 300px);
    top: 38%;
    left: 44%;
    background: radial-gradient(circle, var(--purple-l) 0%, transparent 70%);
    animation: pulseOrb 9s ease-in-out infinite;
    animation-delay: -8s;
}
@keyframes pulseOrb {
    0%, 100% { opacity: 0.07; transform: scale(1); }
    50%       { opacity: 0.14; transform: scale(1.18); }
}

/* Floating geometric shapes */
.shape {
    position: absolute;
    border: 1.5px solid;
    animation: floatShape linear infinite;
}
.s1 {
    width: 90px; height: 90px;
    top: 15%; left: 8%;
    border-color: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.18;
    animation-duration: 22s;
    animation-delay: 0s;
    filter: drop-shadow(0 0 8px var(--gold));
}
.s2 {
    width: 60px; height: 60px;
    top: 60%; left: 15%;
    border-color: var(--gold-d);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.13;
    animation-duration: 18s;
    animation-delay: -5s;
    filter: drop-shadow(0 0 6px var(--gold-d));
}
.s3 {
    width: 110px; height: 110px;
    top: 30%; left: 80%;
    border-color: var(--gold-l);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.15;
    animation-duration: 26s;
    animation-delay: -9s;
    filter: drop-shadow(0 0 10px var(--gold-l));
}
.s4 {
    width: 50px; height: 50px;
    top: 75%; left: 70%;
    border-color: var(--gold-d);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.11;
    animation-duration: 15s;
    animation-delay: -3s;
    filter: drop-shadow(0 0 6px var(--gold-d));
}
.s5 {
    width: 80px; height: 80px;
    top: 20%; left: 50%;
    border-color: var(--gold);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.09;
    animation-duration: 20s;
    animation-delay: -12s;
    filter: drop-shadow(0 0 8px var(--gold));
}
.s6 {
    width: 70px; height: 70px;
    top: 80%; left: 40%;
    border-color: #FFA500;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.14;
    animation-duration: 24s;
    animation-delay: -7s;
    filter: drop-shadow(0 0 7px #FFA500);
}
/* Purple-tinted shapes (new) */
.s7 {
    width: 75px; height: 75px;
    top: 45%; left: 25%;
    border-color: var(--purple-l);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.13;
    animation-duration: 19s;
    animation-delay: -4s;
    filter: drop-shadow(0 0 8px var(--purple-l));
}
.s8 {
    width: 55px; height: 55px;
    top: 10%; left: 65%;
    border-color: var(--purple);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.12;
    animation-duration: 17s;
    animation-delay: -10s;
    filter: drop-shadow(0 0 6px var(--purple));
}

@keyframes floatShape {
    0%   { transform: translateY(0)    rotate(0deg); }
    50%  { transform: translateY(-40px) rotate(180deg); }
    100% { transform: translateY(0)    rotate(360deg); }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(32px, 4vw, 64px);
    padding: clamp(48px, 7vh, 80px) clamp(20px, 5vw, 80px);
    width: 100%;
    max-width: 1200px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 300px;
    max-width: 540px;
}

.hero-right {
    flex: 1 1 280px;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-tag {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    width: fit-content;
}

.hero-headline {
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}

.hero-sub {
    font-size: 15px;
    color: var(--silver);
    line-height: 1.85;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-img {
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    border: 3px solid rgba(255, 215, 0, 0.35);
    transition: border-color 0.3s;
    display: block;
}
.hero-img:hover { border-color: rgba(255, 215, 0, 0.7); }

/* ── TRUST BAR ─────────────────────────────────────────────────────── */
.trust-bar {
    background: rgba(255, 215, 0, 0.06);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 28px 40px;
}

.trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.trust-number { font-size: 22px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.trust-label  { font-size: 11px; color: var(--silver); letter-spacing: 2px; text-transform: uppercase; text-align: center; }
.trust-divider { width: 1px; height: 40px; background: rgba(255, 215, 0, 0.2); }

/* ── SECTION SHARED ────────────────────────────────────────────────── */
.section-title {
    font-size: clamp(20px, 2.8vw, 30px);
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 14px;
    color: var(--silver);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.85;
}

/* ── WHY US ────────────────────────────────────────────────────────── */
.section-why {
    background: var(--dark);
    padding: 80px 40px;
}

.why-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 16px 0 32px;
}

.why-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.why-card {
    flex: 1 1 260px;
    max-width: 300px;
    background: #111;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover {
    border-color: rgba(255, 215, 0, 0.35);
    transform: translateY(-4px);
}

.why-icon  { font-size: 32px; }
.why-title { font-size: 16px; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }
.why-text  { font-size: 13px; color: var(--silver); line-height: 1.85; }

/* ── INDUSTRIES ────────────────────────────────────────────────────── */
.section-industries {
    background: var(--black);
    padding: 80px 0;
}

.industries-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 0 40px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.industry-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 215, 0, 0.15);
    background: rgba(255, 215, 0, 0.03);
    transition: border-color 0.25s, background 0.25s;
    cursor: pointer;
}
.industry-card:hover,
.industry-card.open {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.06);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    user-select: none;
}
.industry-icon    { font-size: 26px; flex-shrink: 0; }
.industry-name    { font-size: 14px; color: var(--white); letter-spacing: 0.5px; flex: 1; }
.industry-chevron { font-size: 14px; color: var(--gold); transition: transform 0.35s ease; flex-shrink: 0; }
.industry-card.open .industry-chevron { transform: rotate(180deg); }

.industry-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    background-image: var(--ind-bg);
    background-size: cover;
    background-position: center;
    position: relative;
}
.industry-card.open .industry-body { max-height: 280px; }

.industry-overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(10, 8, 20, 0.75) 100%);
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
    justify-content: center;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
}

.industry-quote       { font-size: 13px; color: rgba(240, 236, 224, 0.9); line-height: 1.85; font-style: italic; max-width: 360px; }
.industry-client-name { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

@media (max-width: 900px) {
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .industry-grid       { grid-template-columns: 1fr; }
    .industries-inner    { padding: 0 16px; }
}

/* ── CONTACT ───────────────────────────────────────────────────────── */
.section-contact {
    background: var(--dark);
    padding: 80px 40px;
}

.contact-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 440px;
    flex: 1 1 280px;
}

.contact-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.contact-title { font-size: 28px; color: var(--white); line-height: 1.3; }
.contact-body  { font-size: 14px; color: var(--silver); line-height: 1.9; }

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 300px;
    flex: 1 1 220px;
}

.info-item   { display: flex; flex-direction: column; gap: 6px; }
.info-label  { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.info-value  { font-size: 14px; color: var(--silver); line-height: 1.7; }
.info-value a { color: var(--silver); text-decoration: none; transition: color 0.2s; }
.info-value a:hover { color: var(--gold); }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9px;
    color: var(--white);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, transform 0.18s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.social-link svg   { width: 15px; height: 15px; fill: currentColor; }

/* ── EARLY BIRD ────────────────────────────────────────────────────── */
.section-earlybird {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 40px;
    gap: 32px;
    background: var(--black);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.earlybird-title { font-size: 20px; font-weight: 500; color: var(--white); }
.earlybird-sub   { font-size: 13px; color: var(--silver); margin-top: 5px; }
.earlybird-form  { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.earlybird-input {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: var(--white);
    background: var(--black);
    border: 2px solid var(--white);
    border-radius: var(--radius);
    padding: 10px 18px;
    outline: none;
    flex: 1;
    min-width: 200px;
    transition: border-color 0.2s;
}
.earlybird-input:focus { border-color: var(--gold); }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    gap: 12px;
    background: var(--gold);
    color: var(--black);
    font-size: 12px;
}
.footer-bar a         { color: var(--black); text-decoration: none; }
.footer-bar a:hover   { text-decoration: underline; }

/* ── BUTTONS ───────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--ink);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
    transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover  { background: var(--gold-l); border-color: var(--gold-l); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(255, 215, 0, 0.5); }
.btn-primary:active { transform: none; }

.btn-ghost {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, color 0.2s, transform 0.18s;
}
.btn-ghost:hover  { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-ghost:active { transform: none; }