/* ============================================================
   AXO-G House Maker — Premium Minimal Design System v3.0
   Philosophy: Clean spaces, sharp type, purposeful color.
   Brand: Green #3cb526 | Navy #1b3a5c
   Font: Outfit (Google Fonts)
   ============================================================ */

/* ── Design Tokens ── */
:root {
    --green:          #3cb526;
    --green-light:    #5cd63e;
    --green-dark:     #2a8a18;
    --navy:           #1b3a5c;
    --navy-light:     #2a5282;
    --white:          #ffffff;
    --off-white:      #f7f9fc;
    --surface:        #f0f4f8;
    --border:         #e2e8f0;
    --border-strong:  #cbd5e1;
    --text-primary:   #0d1b2a;
    --text-secondary: #4a5568;
    --text-muted:     #8a9ab0;

    --grad-green:  linear-gradient(135deg, #3cb526, #2a8a18);
    --grad-navy:   linear-gradient(135deg, #1b3a5c, #0d2137);
    --grad-hero:   linear-gradient(160deg, #0d2137 0%, #1b3a5c 60%, #0d3320 100%);
    --grad-brand:  linear-gradient(135deg, #3cb526 0%, #1b3a5c 100%);

    --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
    --shadow-sm:  0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
    --shadow-md:  0 8px 24px rgba(27,58,92,.1), 0 2px 8px rgba(0,0,0,.04);
    --shadow-lg:  0 24px 48px rgba(27,58,92,.14), 0 8px 16px rgba(0,0,0,.06);
    --shadow-green: 0 8px 24px rgba(60,181,38,.3);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    --ease: cubic-bezier(.4,0,.2,1);
    --t: .22s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.axog-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    height: 68px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
    animation: navIn .5s var(--ease) both;
}
@keyframes navIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.axog-nav.scrolled {
    background: rgba(255,255,255,.98);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1rem;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--t);
}
.nav-brand:hover { opacity: .8; }
.nav-brand img  { height: 42px; width: auto; }
.nav-brand-fallback {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -.3px;
}
.nav-brand-fallback i { color: var(--green); font-size: 1.3rem; }

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    border-radius: var(--r-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--t), background var(--t);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--navy);
    background: var(--surface);
}
.nav-links a i { font-size: .85rem; }

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .5rem;
    border-radius: var(--r-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--t) var(--ease);
}

/* Notification bell */
.nav-bell {
    position: relative;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--t), color var(--t);
}
.nav-bell:hover { background: #e2e8f0; color: var(--navy); }
.nav-bell .badge {
    position: absolute;
    top: -3px; right: -3px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .55rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: .875rem;
    font-weight: 600;
    font-family: inherit;
    transition: all var(--t) var(--ease);
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn-sm  { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg  { padding: .85rem 2rem; font-size: 1rem; border-radius: var(--r-md); }
.btn-xl  { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--r-md); }

.btn-primary {
    background: var(--grad-green);
    color: #fff;
    box-shadow: var(--shadow-green);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(60,181,38,.4);
    color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--navy);
    transform: translateY(-1px);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--surface); color: var(--navy); }

.btn-navy {
    background: var(--grad-navy);
    color: #fff;
    box-shadow: 0 4px 16px rgba(27,58,92,.3);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,58,92,.4); color: #fff; }

/* Shimmer on hover */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}
.btn-primary:hover::after { animation: shimmer .55s ease forwards; }
@keyframes shimmer { from { left: -80%; } to { left: 120%; } }

/* ════════════════════════════════════
   HERO SECTION
════════════════════════════════════ */
.hero {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4rem;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(60,181,38,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,181,38,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridDrift 22s linear infinite;
    pointer-events: none;
}
@keyframes gridDrift {
    from { background-position: 0 0; }
    to   { background-position: 48px 48px; }
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orbFloat 12s ease-in-out infinite;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(0)    scale(1); }
    50%      { transform: translateY(-24px) scale(1.04); }
}
.hero-orb-1 {
    width: 520px; height: 520px;
    top: -180px; right: -120px;
    background: radial-gradient(circle, rgba(60,181,38,.18) 0%, transparent 70%);
}
.hero-orb-2 {
    width: 360px; height: 360px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(27,58,92,.35) 0%, transparent 70%);
    animation-delay: -5s;
}
#particle-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .9rem;
    border-radius: var(--r-full);
    background: rgba(60,181,38,.15);
    border: 1px solid rgba(60,181,38,.3);
    color: #7eda5e;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-eyebrow i { font-size: .7rem; }

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #fff;
    margin-bottom: 1.25rem;
}
.hero-title .accent {
    background: linear-gradient(135deg, #3cb526, #7eda5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    font-weight: 500;
}
.hero-trust-item i { color: var(--green); font-size: .85rem; }

/* Hero search card */
.search-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-xl);
    padding: 2rem;
    animation: fadeLeft .9s .15s var(--ease) both;
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}
.search-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.search-card-title i { color: var(--green); }

.search-field label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: .4rem;
}
.search-select {
    width: 100%;
    padding: .65rem .9rem;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .9rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--t), background var(--t);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.25rem;
}
.search-select:focus {
    border-color: rgba(60,181,38,.5);
    background: rgba(255,255,255,.14);
}
.search-select option { background: #1b3a5c; color: #fff; }

/* ════════════════════════════════════
   TICKER
════════════════════════════════════ */
.ticker {
    background: rgba(255,255,255,.05);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    padding: .55rem 0;
    position: relative;
    z-index: 1;
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 28s linear infinite;
    gap: 0;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0 2rem;
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.1);
}
.ticker-item i { color: var(--green); font-size: .8rem; }

/* ════════════════════════════════════
   STATS
════════════════════════════════════ */
.stats-section {
    background: var(--grad-navy);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(60,181,38,.06), transparent);
    animation: statsGlow 6s ease-in-out infinite;
}
@keyframes statsGlow {
    0%,100% { opacity: 0; }
    50%      { opacity: 1; }
}
.stat-item { text-align: center; }
.stat-num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: .25rem;
}
.stat-label {
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,.12);
    margin: auto;
}

/* ════════════════════════════════════
   SECTION UTILITIES
════════════════════════════════════ */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .8rem;
    border-radius: var(--r-full);
    background: rgba(60,181,38,.08);
    border: 1px solid rgba(60,181,38,.2);
    color: var(--green-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: .75rem;
}
.eyebrow i { font-size: .72rem; }

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.section-title .accent {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.65;
}

/* ════════════════════════════════════
   CATEGORY GRID
════════════════════════════════════ */
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
    padding: 1.75rem 1rem;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: all var(--t) var(--ease);
    cursor: pointer;
    text-decoration: none;
}
.cat-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(60,181,38,.14);
    background: #fafffe;
}
.cat-icon {
    width: 56px; height: 56px;
    border-radius: var(--r-md);
    background: rgba(60,181,38,.08);
    color: var(--green-dark);
    font-size: 1.35rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t) var(--ease);
}
.cat-card:hover .cat-icon {
    background: var(--green);
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
}
.cat-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ════════════════════════════════════
   PROCESS STEPS
════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
    align-items: center;
    gap: 0;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--r-lg);
    transition: background var(--t);
}
.step:hover { background: var(--off-white); }
.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(60,181,38,.35);
    animation: stepPulse 3s ease-in-out infinite;
}
@keyframes stepPulse {
    0%,100% { box-shadow: 0 6px 18px rgba(60,181,38,.35); }
    50%      { box-shadow: 0 6px 28px rgba(60,181,38,.6);  }
}
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-strong);
    font-size: 1.1rem;
    margin-top: -1rem;
}
.step-title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--navy);
    margin-bottom: .4rem;
}
.step-desc { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; }

/* ════════════════════════════════════
   CONTRACTOR CARDS
════════════════════════════════════ */
.c-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    transition: all var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}
.c-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.c-card:hover {
    border-color: rgba(60,181,38,.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.c-card:hover::before { transform: scaleX(1); }

.c-company {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: .25rem;
}
.c-sub-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .6rem;
    border-radius: var(--r-full);
    background: rgba(27,58,92,.06);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: .75rem;
}
.c-verified {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .6rem;
    border-radius: var(--r-full);
    background: rgba(60,181,38,.08);
    border: 1px solid rgba(60,181,38,.2);
    color: var(--green-dark);
    font-size: .72rem;
    font-weight: 600;
}
.stars { color: #f59e0b; font-size: .8rem; }
.c-meta {
    font-size: .8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .3rem;
}
.c-meta i { color: var(--green); font-size: .8rem; }
.c-blur {
    filter: blur(5px);
    user-select: none;
    opacity: .55;
    pointer-events: none;
}
.c-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(247,249,252,.7);
    border-radius: inherit;
    cursor: pointer;
    gap: .35rem;
}
.c-lock-overlay i { font-size: 1.4rem; color: var(--navy); }
.c-lock-overlay span { font-size: .8rem; font-weight: 700; color: var(--navy); }

/* ════════════════════════════════════
   CTA FEATURE LIST
════════════════════════════════════ */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
}
.feature-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.feature-text-title { font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .1rem; }
.feature-text-desc  { font-size: .8rem; color: var(--text-secondary); line-height: 1.55; }

/* ════════════════════════════════════
   MODAL
════════════════════════════════════ */
.modal-axog .modal-content {
    border: none;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.modal-axog .modal-header {
    background: var(--grad-navy);
    padding: 1.5rem 1.75rem;
    border: none;
}
.modal-axog .modal-header .modal-title { color: #fff; font-weight: 700; }
.modal-axog .modal-body { padding: 1.75rem; }
.modal-axog .modal-footer { padding: 1rem 1.75rem; background: var(--off-white); border-top: 1px solid var(--border); }

.field-group { margin-bottom: 1rem; }
.field-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .4rem; }
.field-input {
    width: 100%;
    padding: .65rem .9rem;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    font-size: .9rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--t), box-shadow var(--t);
    outline: none;
}
.field-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(60,181,38,.12);
}

/* ════════════════════════════════════
   AUTH PAGES
════════════════════════════════════ */
.auth-layout {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.auth-panel {
    background: var(--grad-hero);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(60,181,38,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,181,38,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.auth-panel-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 1.5rem 0 .75rem;
}
.auth-panel-desc { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.7; max-width: 320px; }
.auth-perks { display: flex; flex-direction: column; gap: .7rem; margin-top: 2rem; }
.auth-perk {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: rgba(255,255,255,.75);
    font-size: .875rem;
}
.auth-perk i { color: var(--green); font-size: .9rem; flex-shrink: 0; }

.auth-testimonial {
    padding: 1.25rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    position: relative;
    z-index: 1;
}
.auth-testimonial p { color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.65; margin-bottom: .75rem; }
.auth-testimonial-author { display: flex; align-items: center; gap: .6rem; }
.auth-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.auth-author-name  { font-size: .8rem;  font-weight: 600; color: #fff; }
.auth-author-role  { font-size: .72rem; color: rgba(255,255,255,.4); }

.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--white);
}
.auth-form-inner { width: 100%; max-width: 400px; }
.auth-form-title { font-size: 1.75rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; margin-bottom: .35rem; }
.auth-form-sub   { font-size: .875rem; color: var(--text-secondary); margin-bottom: 2rem; }

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
    background: var(--surface);
    padding: .25rem;
    border-radius: var(--r-md);
    margin-bottom: 1.5rem;
}
.auth-tab {
    padding: .55rem;
    border-radius: var(--r-sm);
    border: none;
    background: transparent;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}
.auth-tab.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
}

/* ════════════════════════════════════
   PROFILE PAGE
════════════════════════════════════ */
.profile-hero {
    background: var(--grad-hero);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(60,181,38,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60,181,38,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .8rem;
    border-radius: var(--r-full);
    font-size: .75rem;
    font-weight: 600;
}
.profile-stat-strip {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: .85rem 1.5rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-md);
    flex-wrap: wrap;
}
.profile-stat { text-align: center; }
.profile-stat-val { font-weight: 800; color: #fff; font-size: 1.2rem; line-height: 1; }
.profile-stat-lbl { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .5px; }
.profile-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.14); }

/* ════════════════════════════════════
   ADMIN DASHBOARD
════════════════════════════════════ */
.metric-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.metric-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.metric-label { font-size: .72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .5rem; }
.metric-value { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: .25rem; }
.metric-sub   { font-size: .78rem; color: var(--text-secondary); }
.metric-icon  {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.shortcut-card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border);
    background: var(--white);
    text-decoration: none;
    transition: all var(--t) var(--ease);
}
.shortcut-card:hover {
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(60,181,38,.12);
}
.shortcut-icon { font-size: 1.5rem; margin-bottom: .25rem; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.site-footer {
    background: #0a1929;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-brand-logo { height: 44px; width: auto; object-fit: contain; }
.footer-desc { color: #64748b; font-size: .875rem; line-height: 1.75; max-width: 280px; margin-top: .75rem; }
.footer-heading { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #475569; margin-bottom: .9rem; }
.footer-link {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    font-size: .875rem;
    transition: color var(--t);
    margin-bottom: .5rem;
}
.footer-link:hover { color: var(--green); }
.footer-contact { display: flex; align-items: center; gap: .5rem; color: #64748b; font-size: .875rem; margin-bottom: .65rem; }
.footer-contact i { color: var(--green); font-size: .85rem; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.footer-copy { color: #374151; font-size: .78rem; }
.footer-made { color: #374151; font-size: .75rem; }
.footer-made i { color: var(--green); font-size: .7rem; }

/* ════════════════════════════════════
   SCROLL & GLOBAL UI
════════════════════════════════════ */
#scroll-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #3cb526, #1b3a5c);
    z-index: 9999;
    transition: width .06s linear;
    box-shadow: 0 0 8px rgba(60,181,38,.5);
}
#btt {
    position: fixed;
    bottom: 1.75rem; right: 1.75rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    border: none;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(60,181,38,.4);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s, box-shadow .3s;
    z-index: 999;
    cursor: pointer;
}
#btt.show { opacity: 1; transform: translateY(0); }
#btt:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(60,181,38,.55); }

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Alert variants */
.alert-axog-success {
    background: rgba(60,181,38,.06);
    border: 1px solid rgba(60,181,38,.2);
    color: var(--green-dark);
    border-radius: var(--r-md);
    padding: .75rem 1rem;
    display: flex; align-items: center; gap: .5rem;
    font-size: .875rem;
}
.alert-axog-error {
    background: rgba(239,68,68,.06);
    border: 1px solid rgba(239,68,68,.2);
    color: #dc2626;
    border-radius: var(--r-md);
    padding: .75rem 1rem;
    display: flex; align-items: center; gap: .5rem;
    font-size: .875rem;
}
.alert-axog-info {
    background: rgba(27,58,92,.06);
    border: 1px solid rgba(27,58,92,.2);
    color: var(--navy);
    border-radius: var(--r-md);
    padding: .75rem 1rem;
    display: flex; align-items: center; gap: .5rem;
    font-size: .875rem;
}

/* Table */
.axog-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.axog-table thead th {
    background: var(--surface);
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .75rem 1rem;
    border-bottom: 1.5px solid var(--border);
}
.axog-table tbody td { padding: .85rem 1rem; border-bottom: 1px solid var(--surface); color: var(--text-primary); vertical-align: middle; }
.axog-table tbody tr { transition: background var(--t); }
.axog-table tbody tr:hover { background: var(--off-white); }
.axog-table tbody tr:last-child td { border-bottom: none; }

/* Badge utilities */
.badge-green  { background: rgba(60,181,38,.1);  color: var(--green-dark);  border: 1px solid rgba(60,181,38,.2);  border-radius: var(--r-full); padding: .2rem .6rem; font-size: .7rem; font-weight: 600; display: inline-flex; align-items: center; gap: .25rem; }
.badge-navy   { background: rgba(27,58,92,.08);   color: var(--navy);        border: 1px solid rgba(27,58,92,.15);  border-radius: var(--r-full); padding: .2rem .6rem; font-size: .7rem; font-weight: 600; }
.badge-amber  { background: rgba(245,158,11,.1);  color: #92400e;            border: 1px solid rgba(245,158,11,.25); border-radius: var(--r-full); padding: .2rem .6rem; font-size: .7rem; font-weight: 600; display: inline-flex; align-items: center; gap: .25rem; }
.badge-red    { background: rgba(239,68,68,.1);   color: #991b1b;            border: 1px solid rgba(239,68,68,.2);  border-radius: var(--r-full); padding: .2rem .6rem; font-size: .7rem; font-weight: 600; }
.badge-gray   { background: rgba(100,116,139,.1); color: #475569;            border: 1px solid rgba(100,116,139,.2); border-radius: var(--r-full); padding: .2rem .6rem; font-size: .7rem; font-weight: 600; }

/* Ripple */
.ripple-host { position: relative; overflow: hidden; }
.ripple-host .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transform: scale(0);
    animation: rippleGrow .6s linear;
    pointer-events: none;
}
@keyframes rippleGrow { to { transform: scale(4); opacity: 0; } }

/* Skeleton */
@keyframes skelShimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 800px 100%;
    animation: skelShimmer 1.5s linear infinite;
    border-radius: var(--r-sm);
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
/* Desktop to Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .nav-links        { display: none; }
    .nav-toggle       { display: flex; }
    
    .auth-layout      { grid-template-columns: 1fr; }
    .auth-panel       { display: none; }
    
    .steps-grid       { grid-template-columns: 1fr; gap: 1.5rem; }
    .step-connector   { display: none; }
    .step             { padding: 1.5rem; }
    
    .hero-title       { font-size: clamp(2.2rem, 5vw, 3rem); }
    .search-card      { padding: 1.5rem; }
    
    .profile-stat-strip { justify-content: center; width: 100%; }
}

/* Tablet to Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .hero             { padding: 3rem 0 2rem; }
    .hero-orb-1       { width: 300px; height: 300px; right: -50px; top: -100px; }
    .hero-orb-2       { width: 250px; height: 250px; left: -50px; bottom: -50px; }
    .hero-title       { font-size: clamp(2rem, 8vw, 2.4rem); letter-spacing: -0.5px; }
    .hero-desc        { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-trust       { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    
    .section          { padding: 3rem 0; }
    .section-sm       { padding: 2.5rem 0; }
    .section-title    { font-size: 1.75rem; letter-spacing: -0.5px; }
    .section-subtitle { font-size: 0.9rem; }
    
    .stat-num         { font-size: 2rem; }
    .stat-label       { font-size: 0.75rem; }
    
    .search-card      { padding: 1.25rem; border-radius: var(--r-lg); }
    .search-card-title{ font-size: 0.95rem; }
    
    .cat-card         { padding: 1.25rem 0.75rem; gap: 0.5rem; }
    .cat-icon         { width: 48px; height: 48px; font-size: 1.1rem; }
    .cat-name         { font-size: 0.8rem; }
    
    .c-card           { padding: 1.25rem; border-radius: var(--r-md); }
    .c-company        { font-size: 0.95rem; }
    .c-meta           { font-size: 0.75rem; }
    
    .profile-hero     { padding: 2rem 1rem !important; }
    .profile-stat-sep { display: none; }
    .profile-stat-strip { gap: 1rem; flex-direction: column; align-items: flex-start !important; padding: 1.25rem; }
    
    .auth-form-wrap   { padding: 2rem 1rem; }
    .auth-form-title  { font-size: 1.5rem; }
    
    .footer-brand-logo{ height: 36px; }
    .footer-desc      { font-size: 0.8rem; }
    .footer-bottom    { flex-direction: column; align-items: flex-start; gap: 0.5rem; text-align: left; }
    
    .modal-axog .modal-body, 
    .modal-axog .modal-header, 
    .modal-axog .modal-footer { padding: 1.25rem; }
    
    .btn-lg           { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title       { font-size: 1.8rem; }
    .ticker-item      { font-size: 0.75rem; padding: 0 1.25rem; }
    .stat-num         { font-size: 1.75rem; }
    .nav-inner        { padding: 0 1rem; }
}

/* Mobile nav menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    backdrop-filter: blur(4px);
}
.mobile-menu.open { display: flex; }
.mobile-menu-panel {
    width: 280px;
    background: var(--white);
    height: 100%;
    padding: 1.5rem;
    overflow-y: auto;
    animation: slideInLeft .3s var(--ease);
}
@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
.mobile-menu-close {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    border: none;
    background: var(--surface);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem .9rem;
    border-radius: var(--r-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: .25rem;
    transition: background var(--t), color var(--t);
}
.mobile-nav-link:hover { background: var(--surface); color: var(--navy); }
.mobile-nav-link i { font-size: .9rem; width: 16px; }
