/* ============================================
   SUDO ANALYTICS — Main Stylesheet
   Brand Color: #7012E8 (Wisteria Sudo Color)
   Font: Space Grotesk + Inter
   ============================================ */

/* ---- CSS VARIABLES ---- */
:root {
    /* Brand Colors */
    --purple:       #7012E8;
    --purple-dark:  #5208C0;
    --purple-light: #9B4CF4;
    --purple-xlight:#C084FC;
    --purple-ghost: #F3E8FF;
    --purple-glow:  rgba(112, 18, 232, 0.35);
    --purple-glow2: rgba(112, 18, 232, 0.12);

    /* Neutrals */
    --white:        #FFFFFF;
    --bg-light:     #F8F5FF;
    --bg-mid:       #F0EAFC;
    --gray-100:     #F4F4F6;
    --gray-200:     #E4E4E8;
    --gray-300:     #C8C8D2;
    --gray-400:     #9090A0;
    --gray-500:     #606070;
    --gray-600:     #505060;
    --gray-700:     #3A3A4A;
    --gray-800:     #252530;
    --dark:         #12121A;
    --dark-card:    #1A1A28;
    --dark-mid:     #0E0E1A;

    /* Typography */
    --font-head:    'Space Grotesk', 'Inter', sans-serif;
    --font-body:    'Inter', 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-pad:  100px;
    --container:    1240px;

    /* Transitions */
    --trans:        all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:    0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg:    0 20px 60px rgba(0,0,0,0.2);
    --shadow-purple:0 8px 30px rgba(112,18,232,0.3);

    /* Border radius */
    --radius-sm:    8px;
    --radius-md:    16px;
    --radius-lg:    24px;
    --radius-xl:    32px;
    --radius-full:  9999px;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---- CONTAINER ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- SECTION UTILITIES ---- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple-ghost);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(112, 18, 232, 0.2);
}

.section-tag-light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.25);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    border-color: var(--purple);
    box-shadow: 0 4px 20px var(--purple-glow);
}

.btn-primary:hover {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    box-shadow: 0 8px 30px var(--purple-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--purple);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--purple-ghost);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--trans);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(112, 18, 232, 0.2);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Brand Logo — official icon artwork (background removed) + real text set in
   Comfortaa (closest available match to the brand's rounded geometric wordmark).
   The icon image is sized to match the height of the wordmark text block,
   keeping its native aspect ratio (width: auto) so it never looks stretched. */
.brand-mark {
    flex-shrink: 0;
    width: auto;
    height: 38px;
    object-fit: contain;
}

.brand-mark-footer {
    height: 46px;
}

.brand-word {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: 'Comfortaa', var(--font-head);
}

.brand-word-sudo {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
}

.brand-word-analytics {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.06em;
    margin-top: 1px;
}

.footer-brand .brand-word-sudo,
.brand-word-footer .brand-word-sudo {
    font-size: 1.75rem;
}

.footer-brand .brand-word-analytics,
.brand-word-footer .brand-word-analytics {
    font-size: 0.82rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: var(--trans);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-link.active {
    color: var(--purple-xlight);
}

.nav-cta {
    background: var(--purple);
    color: var(--white) !important;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-cta:hover {
    background: var(--purple-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--trans);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg-abstract.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0%   { transform: scale(1.05) translateX(0); }
    100% { transform: scale(1.12) translateX(-2%); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(12, 8, 24, 0.82) 0%,
        rgba(18, 10, 40, 0.70) 40%,
        rgba(12, 8, 24, 0.55) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--purple-xlight);
    border-radius: 50%;
    opacity: 0;
    animation: particleFade var(--dur, 4s) linear var(--delay, 0s) infinite;
}

@keyframes particleFade {
    0%   { opacity: 0; transform: translateY(0); }
    20%  { opacity: 0.7; }
    80%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100px); }
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(112, 18, 232, 0.2);
    border: 1px solid rgba(112, 18, 232, 0.4);
    border-radius: var(--radius-full);
    padding: 6px 16px 6px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--purple-xlight);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--purple-light), var(--purple-xlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    transition: var(--trans);
}

.tag:hover {
    background: rgba(112, 18, 232, 0.2);
    border-color: rgba(112, 18, 232, 0.4);
    color: var(--purple-xlight);
}

.tag i {
    font-size: 0.75rem;
    color: var(--purple-xlight);
}

/* Hero Visual / Dashboard Mockup */
.hero-visual {
    perspective: 1000px;
}

.dashboard-mockup {
    background: rgba(26, 26, 40, 0.9);
    border: 1px solid rgba(112, 18, 232, 0.3);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(112,18,232,0.15);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
    50%       { transform: rotateY(-5deg) rotateX(2deg) translateY(-10px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.mockup-card {
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mockup-card.urgent {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.mockup-card.soon {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.mockup-card.safe {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.card-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.card-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
}

.card-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
}

.mockup-card.urgent .card-icon { color: rgba(239,68,68,0.7); }
.mockup-card.soon .card-icon   { color: rgba(245,158,11,0.7); }
.mockup-card.safe .card-icon   { color: rgba(34,197,94,0.7); }

/* Bar chart in mockup */
.mockup-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    width: 100px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: left;
}

.bar-fill-1 { background: linear-gradient(90deg, var(--purple), var(--purple-light)); width: 87%; }
.bar-fill-2 { background: linear-gradient(90deg, #22c55e, #4ade80); width: 73%; }
.bar-fill-3 { background: linear-gradient(90deg, #f59e0b, #fbbf24); width: 15%; }

@keyframes barGrow {
    from { width: 0; }
}

.bar-pct {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}

/* Hero Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    z-index: 1;
}

.scroll-arrow {
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ============================================
   STATS SECTION
============================================ */
.stats-section {
    background: var(--dark);
    border-top: 1px solid rgba(112, 18, 232, 0.2);
    border-bottom: 1px solid rgba(112, 18, 232, 0.2);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(112,18,232,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--trans);
}

.stat-item:nth-child(3n) { border-right: none; }
.stat-item:nth-child(n+4) { border-bottom: none; }

.stat-item:hover {
    background: rgba(112, 18, 232, 0.08);
}

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--purple-light);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    display: inline-block;
    perspective: 400px;
    opacity: 0;
}

.stat-number.stat-flip {
    animation: statFlipIn 0.9s cubic-bezier(0.22, 0.9, 0.25, 1) forwards;
}

@keyframes statFlipIn {
    0%   { opacity: 0; transform: rotateX(-100deg) translateY(14px); }
    55%  { opacity: 1; transform: rotateX(18deg) translateY(0); }
    80%  { transform: rotateX(-6deg); }
    100% { opacity: 1; transform: rotateX(0deg); }
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   CLIENTS TRUST STRIP
============================================ */
.clients-strip {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-200);
}

.clients-strip-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin: 0 auto 28px;
    max-width: 520px;
    line-height: 1.5;
}

.clients-strip-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    row-gap: 24px;
}

.clients-strip-logos img {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: var(--trans);
}

.clients-strip-logos img:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .clients-strip-logos { gap: 24px; row-gap: 18px; }
    .clients-strip-logos img { height: 28px; max-width: 88px; }
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-grid-single {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

/* About Content */
.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-body {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.7;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 36px;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    background: var(--purple-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1rem;
    flex-shrink: 0;
}

.pillar div strong {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.pillar div span {
    font-size: 0.88rem;
    color: var(--gray-400);
}

/* Credential Pills (Summit Advisors style) */
.about-cred-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0 36px;
}

.cred-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    white-space: nowrap;
}

.cred-pill:hover {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 4px 16px var(--purple-glow2);
    transform: translateY(-2px);
}

.cred-pill-star {
    font-size: 1rem;
    line-height: 1;
}

/* ============================================
   SERVICES SECTION
============================================ */
.services-section {
    padding: var(--section-pad) 0;
    background: var(--bg-light);
}

.services-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--trans);
    position: relative;
}

.service-card:hover {
    border-color: rgba(112, 18, 232, 0.3);
    box-shadow: 0 20px 60px rgba(112, 18, 232, 0.1);
    transform: translateY(-4px);
}

.service-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--purple-light));
}

.service-card-inner {
    padding: 36px 32px;
}

.service-icon-wrap {
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 8px 20px var(--purple-glow);
}

.service-badge-featured {
    display: inline-block;
    background: var(--purple-ghost);
    color: var(--purple);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    border: 1px solid rgba(112, 18, 232, 0.2);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 14px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.service-features li i {
    color: var(--purple);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.service-btn {
    margin-top: 4px;
}

/* Mini Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-mini-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--trans);
}

.service-mini-card:hover {
    border-color: rgba(112, 18, 232, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-mini-icon {
    width: 48px;
    height: 48px;
    background: var(--purple-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.1rem;
    margin-bottom: 16px;
    transition: var(--trans);
}

.service-mini-card:hover .service-mini-icon {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 6px 16px var(--purple-glow);
}

.service-mini-card h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.service-mini-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ============================================
   APPROACH SECTION
============================================ */
.approach-section {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 64px;
}

.approach-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 14px;
}

.approach-body {
    font-size: 0.97rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.approach-question {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, var(--purple-ghost), rgba(112,18,232,0.06));
    border: 1px solid rgba(112, 18, 232, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 28px 0 36px;
}

.approach-question i {
    color: var(--purple);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.approach-question p {
    font-size: 0.97rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* Steps */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 60px;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    transition: var(--trans);
    position: relative;
}

.step-card:hover {
    border-color: rgba(112, 18, 232, 0.3);
    background: var(--purple-ghost);
    transform: translateX(4px);
}

.step-num {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--purple);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
    transition: var(--trans);
}

.step-card:hover .step-num {
    opacity: 1;
}

.step-body h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Problem / Solution Grid */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.problem-card, .solution-card {
    border-radius: var(--radius-md);
    padding: 28px 28px 28px;
    border: 1px solid;
}

.problem-card {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.2);
}

.solution-card {
    background: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.2);
}

.ps-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.problem-card .ps-header i { color: #ef4444; }
.solution-card .ps-header i { color: #22c55e; }

.ps-header h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
}

.problem-card ul li,
.solution-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    line-height: 1.4;
}

.problem-card ul li:last-child,
.solution-card ul li:last-child { border-bottom: none; }

.problem-card ul li::before {
    content: '✕';
    color: #ef4444;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-card ul li::before {
    content: '✓';
    color: #22c55e;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.arrow-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    font-size: 1.5rem;
    padding: 8px;
}

/* ============================================
   CASES SECTION
============================================ */
.cases-section {
    padding: var(--section-pad) 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: rgba(112, 18, 232, 0.3);
    box-shadow: 0 20px 60px rgba(112, 18, 232, 0.12);
    transform: translateY(-6px);
}

.case-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: var(--trans-slow);
}

.case-card:hover .case-img img {
    opacity: 0.55;
    transform: scale(1.05);
}

.case-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.case-stat-big {
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-stat-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.8);
}

.case-stat-num.highlight {
    color: var(--purple-xlight);
    font-size: 2.2rem;
}

.case-stat-arrow i {
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
}

.case-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 0 16px;
}

.case-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.case-body h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.35;
}

.case-body p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.case-metrics {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.case-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-val {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple);
}

.metric-desc {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* ============================================
   HEATMAP SECTION
============================================ */
.heatmap-section {
    padding: var(--section-pad) 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.heatmap-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.heatmap-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(112, 18, 232, 0.12) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(60px);
}

.heatmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.heatmap-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 28px;
}

.heatmap-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.hm-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-num {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--purple-light);
    line-height: 1;
}

.hm-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.heatmap-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.heatmap-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.65);
}

.heatmap-features li i {
    color: var(--purple-xlight);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Heatmap Visual — static illustrative image */
.heatmap-video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 50px rgba(112,18,232,0.15);
    border: 1px solid rgba(112, 18, 232, 0.25);
    aspect-ratio: 16 / 10;
    background: #0a0a14;
}

.heatmap-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.heatmap-video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(34,197,94,0.4);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-section {
    padding: var(--section-pad) 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-lead {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
}

.contact-form h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--trans);
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-glow2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239090A0'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-300);
    margin-top: 12px;
    line-height: 1.4;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-top: 16px;
    color: #16a34a;
}

.form-success.show {
    display: flex;
}

.form-success i { font-size: 1.3rem; }

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--dark-mid);
    padding: 64px 0 0;
    border-top: 1px solid rgba(112, 18, 232, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    transition: var(--trans);
}

.footer-links a:hover {
    color: var(--purple-xlight);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom i { color: #ef4444; font-size: 0.7rem; }

/* ============================================
   WHATSAPP FAB
============================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
    z-index: 999;
    transition: var(--trans);
}

.whatsapp-fab:hover {
    background: #16a34a;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.whatsapp-fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.fab-tooltip {
    position: absolute;
    right: 68px;
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: var(--trans);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   ANIMATIONS / TRANSITIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================ */
@media (max-width: 1024px) {
    :root { --section-pad: 80px; }

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

    .about-grid { grid-template-columns: 1fr; gap: 48px; }

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

    .approach-grid { grid-template-columns: 1fr; gap: 40px; }
    .approach-steps { padding-top: 0; }
    .problem-solution-grid { grid-template-columns: 1fr; }
    .arrow-divider { transform: rotate(90deg); padding: 0; }

    .cases-grid { grid-template-columns: 1fr 1fr; }

    .heatmap-grid { grid-template-columns: 1fr; gap: 48px; }
    .heatmap-visual { order: -1; }

    .contact-grid { grid-template-columns: 1fr; gap: 48px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
============================================ */
@media (max-width: 768px) {
    :root { --section-pad: 60px; }

    /* Nav */
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(14, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 8px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(112, 18, 232, 0.2);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .nav-cta { text-align: center; }

    /* Hero */
    .hero { padding: 80px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    /* Stats — 2 columns x 3 rows */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .stat-item {
        border-right: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(n+5) { border-bottom: none; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Cases */
    .cases-grid { grid-template-columns: 1fr; }

    /* Credential Pills — stack on mobile */
    .about-cred-pills { gap: 8px; }
    .cred-pill { font-size: 0.82rem; padding: 8px 16px; }

    /* Form */
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Mockup */
    .mockup-cards { grid-template-columns: 1fr 1fr; }
    .mockup-card:last-child { grid-column: span 2; }

    /* Problem/Solution */
    .problem-solution-grid { grid-template-columns: 1fr; }

    /* Heatmap stats */
    .heatmap-stats { flex-wrap: wrap; gap: 16px; }

    /* Section title */
    .section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.9rem; }
    .hero-tags { display: none; }
    .stat-number { font-size: 1.8rem; }
    .cam-grid { grid-template-columns: repeat(3, 1fr); }
    .whatsapp-fab { bottom: 20px; right: 20px; }
}
