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

:root {
    --orange: #ff6b00;
    --purple: #6c5ce7;
    --bg: #0a0a0a;
    --bg-card: #111218;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 107, 0, 0.3);
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.38);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── UTILITIES ── */
.g-text {
    background: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.22);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.wwa-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 180px 0 120px;
    overflow: hidden;
    background: var(--bg);
}

/* Atmospheric glow blobs — no grid */
.wwa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 55% at 50% 0%, rgba(255, 107, 0, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 15% 80%, rgba(108, 92, 231, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 85% 80%, rgba(255, 107, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.wwa-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wwa-hero-inner .s-badge { margin-bottom: 32px; }

.wwa-hero-title {
    font-size: clamp(3rem, 7.5vw, 7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.wwa-title-line {
    display: block;
    overflow: hidden;
}

.wwa-hero-sub {
    max-width: 460px;
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
}


/* ─────────────────────────────────────────
   TEAM SECTION
───────────────────────────────────────── */
.wwa-team {
    padding: 100px 0;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(108, 92, 231, 0.05) 0%, transparent 55%);
}

.wwa-sec-head {
    text-align: center;
    margin-bottom: 64px;
}

.wwa-sec-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 14px 0 12px;
    line-height: 1.15;
}

.wwa-sec-sub {
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Team grid */
.wwa-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Member card — horizontal layout: image left, content right */
.wwa-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr auto;
    min-height: 270px;
}

.wwa-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 107, 0, 0.08);
}

/* Photo — spans both content rows, fully visible */
.wwa-card-photo {
    position: relative;
    grid-row: 1 / 3;
    overflow: hidden;
}

.wwa-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    display: block;
}

.wwa-card:hover .wwa-card-photo img { transform: scale(1.05); }

/* Right-edge fade + bottom darkening for exp counter readability */
.wwa-card-photo-grad {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, transparent 60%, rgba(17, 18, 24, 0.85) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 35%);
}

/* Badges */
.wwa-card-rolebadge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wwa-card-exp {
    position: absolute;
    bottom: 14px;
    left: 14px;
    text-align: left;
    z-index: 2;
}

.wwa-card-exp-num {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
    background:white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wwa-card-exp-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.3px;
}

/* Body — right column, top row */
.wwa-card-body {
    padding: 22px 22px 0;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
}

.wwa-card-name {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 3px;
    line-height: 1.2;
}

.wwa-card-role {
    font-size: 0.78rem;
    color: var(--orange);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.wwa-card-desc {
    font-size: 0.84rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 14px;
}

/* Skills */
.wwa-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 16px;
}

.wwa-skill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Card footer — right column, bottom row */
.wwa-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    border-top: 1px solid var(--border);
    grid-column: 2;
    grid-row: 2;
}

.wwa-card-hook {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-style: italic;
    flex: 1;
    padding-right: 12px;
    line-height: 1.4;
}

/* Socials */
.wwa-socials {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.wwa-social {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition);
}

.wwa-social:hover {
    transform: translateY(-2px);
    color: #fff;
}

.wwa-social--linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
}

.wwa-social--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e1306c;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

/* Founder card — same size as others, just accent styling */
.wwa-card--founder {
    border-color: rgba(255, 107, 0, 0.22);
    background: linear-gradient(160deg, #13120e 0%, var(--bg-card) 55%);
}

.wwa-card--founder .wwa-card-photo-grad {
    background:
        linear-gradient(to right, transparent 60%, rgba(19, 18, 14, 0.85) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 35%);
}

.wwa-card--founder .wwa-card-rolebadge {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.35);
}

/* ─────────────────────────────────────────
   CTA
───────────────────────────────────────── */
.wwa-cta {
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg) 0%, #1a1a1a 100%);
}

.wwa-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 107, 0, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.wwa-cta-inner { position: relative; z-index: 2; }

.wwa-cta-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 16px 0 18px;
}

.wwa-cta-sub {
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 44px;
    font-size: 1rem;
    line-height: 1.7;
}

.wwa-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.93rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-glow:hover {
    background: #ff8a00;
    color: #fff;
    box-shadow: 0 0 36px rgba(255, 107, 0, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
    transform: translateY(-2px);
}

/* Floating buttons — shared styles now live in navfoot.css */

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
    .wwa-team-grid { grid-template-columns: 1fr; }
    .wwa-card--founder { grid-template-columns: 240px 1fr; }
}

@media (max-width: 640px) {
    .wwa-hero { padding: 130px 0 70px; min-height: auto; }
    .wwa-hero-title { letter-spacing: -1px; }
    .wwa-cta-title { font-size: 2rem; }

    /* Mobile: photo fills card, description overlays as glass panel */
    .wwa-card,
    .wwa-card--founder {
        display: flex;
        flex-direction: column;
        min-height: unset;
        position: relative;
        overflow: hidden;
    }

    .wwa-card-photo {
        position: relative;
        width: 100%;
        height: 300px;
        flex-shrink: 0;
    }

    .wwa-card-photo img {
        object-position: center 15%;
    }

    .wwa-card-photo-grad,
    .wwa-card--founder .wwa-card-photo-grad {
        background: linear-gradient(to bottom,
            transparent 40%,
            rgba(17, 18, 24, 0.55) 100%
        );
    }

    .wwa-card-body {
        grid-column: unset;
        grid-row: unset;
        padding: 18px 18px 0;
        background: rgba(17, 18, 24, 0.55);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .wwa-card-footer {
        grid-column: unset;
        grid-row: unset;
        padding: 12px 18px;
        background: rgba(17, 18, 24, 0.55);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .wwa-card-exp { left: auto; right: 14px; text-align: right; }
}
