/* ============================================
   HIGH ALTITUDE RECRUITING — STYLES
   ============================================ */

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

:root {
    --blue: #046BD2;
    --blue-dark: #0355A8;
    --blue-deeper: #034A93;
    --navy: #0F1B2D;
    --navy-light: #1E293B;
    --slate: #334155;
    --gray-100: #F7F9FC;
    --gray-200: #F0F5FA;
    --gray-300: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --white: #FFFFFF;
    --accent: #D4A843;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --container: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--navy-light);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 107, 210, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ============================================
   SECTION 1: NAVIGATION
   ============================================ */
.site-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 160px;
}

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

.logo-img {
    height: 170px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-dropdown {
    position: relative;
}
.nav-dropdown > span {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.nav-dropdown > span:hover {
    color: var(--white);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(4, 107, 210, 0.9), rgba(8, 145, 178, 0.9));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    padding-top: 16px;
    margin-top: 0;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(4, 107, 210, 0.3);
}
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* Nested sub-dropdown */
.nav-sub-dropdown {
    position: relative;
}
.nav-sub-dropdown > span {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.nav-sub-dropdown > span:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}
.nav-sub-dropdown > span::after {
    content: ' ▸';
    font-size: 0.7rem;
    opacity: 0.6;
}
.nav-sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: linear-gradient(135deg, rgba(4, 107, 210, 0.92), rgba(8, 145, 178, 0.92));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 160px;
    margin-left: 4px;
    z-index: 101;
    box-shadow: 0 12px 40px rgba(4, 107, 210, 0.3);
}
@media (hover: hover) and (pointer: fine) {
    .nav-sub-dropdown:hover > .nav-sub-menu {
        display: block;
    }
}
.nav-sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}
.nav-sub-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--white);
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* ============================================
   SECTION 2: HERO — ANIMATED GRADIENT
   ============================================ */
.hero {
    position: relative;
    padding: 40px 0 120px;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* --- Animated gradient background --- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        #0A1628,
        #046BD2,
        #8B5CF6,
        #C026D3,
        #0891B2,
        #38BDF8,
        #0A1628
    );
    background-size: 400% 400%;
    animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* --- Floating shapes layer --- */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -60px;
    left: -80px;
    animation: drift1 18s ease-in-out infinite;
}

.shape-2 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 8%;
    background: rgba(255, 255, 255, 0.04);
    animation: drift2 22s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 12%;
    background: rgba(56, 189, 248, 0.08);
    animation: drift3 16s ease-in-out infinite;
}

.shape-4 {
    width: 220px;
    height: 220px;
    bottom: -80px;
    right: -60px;
    background: rgba(139, 92, 246, 0.07);
    animation: drift4 24s ease-in-out infinite;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 35%;
    left: 30%;
    background: rgba(255, 255, 255, 0.05);
    animation: drift5 14s ease-in-out infinite;
}

.shape-6 {
    width: 140px;
    height: 140px;
    top: 60%;
    left: 55%;
    background: rgba(192, 38, 211, 0.06);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: drift6 20s ease-in-out infinite;
}

.shape-7 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 50%;
    background: rgba(56, 189, 248, 0.06);
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    animation: drift7 17s ease-in-out infinite;
}

.shape-8 {
    width: 200px;
    height: 200px;
    top: 45%;
    right: 30%;
    background: rgba(255, 255, 255, 0.03);
    animation: drift8 26s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(40px, 30px) rotate(5deg); }
    66%      { transform: translate(-20px, 50px) rotate(-3deg); }
}
@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-30px, 40px) scale(1.1); }
}
@keyframes drift3 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(20px, -30px); }
    50%      { transform: translate(50px, -10px); }
    75%      { transform: translate(30px, 20px); }
}
@keyframes drift4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-40px, -30px) rotate(10deg); }
}
@keyframes drift5 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50%      { transform: translate(30px, -40px) scale(1.3); opacity: 1; }
}
@keyframes drift6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(-20px, -30px) rotate(120deg); }
    66%      { transform: translate(30px, 10px) rotate(240deg); }
}
@keyframes drift7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-40px, 30px) rotate(180deg); }
}
@keyframes drift8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(0.9); }
    66%      { transform: translate(-20px, 30px) scale(1.05); }
}

/* --- Hero content on dark bg --- */
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(56, 189, 248, 0.9);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.text-accent {
    background: linear-gradient(135deg, #FFD166, #FFAF40, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 175, 64, 0.4));
}

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

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

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

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.badge-dark .badge-icon {
    color: #38BDF8;
}

.badge-icon {
    color: var(--blue);
    font-weight: 700;
}

/* --- Hero visual / image --- */
.hero-visual {
    position: relative;
    padding-bottom: 40px;
}

.hero-image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* --- Floating stat cards --- */
.hero-float-cards {
    display: flex;
    gap: 16px;
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-float-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 18px 24px;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-float-card:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-float-card:nth-child(3) {
    animation-delay: 1s;
}

.float-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
}

.float-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

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

/* ============================================
   SECTION 3: LOGO CAROUSEL
   ============================================ */
.logos-section {
    padding: 80px 0;
    background: var(--white);
    border-top: none;
    border-bottom: 1px solid var(--gray-300);
    overflow: hidden;
}

.logos-heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #046BD2, #8B5CF6, #C026D3, #0891B2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease infinite;
    margin-bottom: 48px;
}

@keyframes gradientText {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logos-track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 48px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 140px;
    height: 50px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 500;
}

.client-logo {
    width: 140px;
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SHARED SECTION UTILS (kept for other sections)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1.2;
}

/* ============================================
   SECTION 4: WHAT MAKES US DIFFERENT
   ============================================ */
.different-section {
    position: relative;
    padding: 120px 0 140px;
    overflow: hidden;
    background-color: var(--navy);
    background-image: radial-gradient(circle, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Soft blurred blobs */
.diff-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.diff-blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(4, 107, 210, 0.15);
    top: -100px;
    right: -150px;
}

.diff-blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.12);
    bottom: -120px;
    left: -100px;
}

/* --- Layout --- */
.diff-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}

/* --- Left: Content --- */
.diff-content {
    padding-right: 20px;
}

.diff-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #38BDF8;
    margin-bottom: 20px;
}

.diff-asterisk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(4, 107, 210, 0.1);
    font-size: 0.7rem;
    color: var(--blue);
}

.diff-headline {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.diff-underline {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #FFD166, #FFAF40, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(255, 175, 64, 0.3));
}


.diff-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 500px;
}

/* --- Feature blocks --- */
.diff-features {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.diff-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.diff-feature-num {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(56, 189, 248, 0.1);
    letter-spacing: -0.04em;
    margin-top: -8px;
    user-select: none;
}

.diff-feature-body {
    padding-top: 4px;
}

.diff-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.diff-feature-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --- Right: Screenshots gallery --- */
.diff-visuals {
    position: relative;
}

.diff-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.diff-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.diff-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

.diff-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.diff-gallery-label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 50px;
    z-index: 1;
}

/* ============================================
   SECTION 5: ANIMATED STATS
   ============================================ */
.stats-section {
    padding: 48px 0;
    background: linear-gradient(135deg, #046BD2 0%, #0891B2 50%, #8B5CF6 100%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
    text-align: center;
}

.stat-block {
    padding: 24px;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

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

/* ============================================
   SECTION 6: WHY HIGH ALTITUDE PARTNERS
   ============================================ */
.why-section {
    position: relative;
    padding: 120px 0 130px;
    overflow: hidden;
    background-color: #F8FAFC;
    background-image: radial-gradient(circle, rgba(4, 107, 210, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Blobs */
.why-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}
.why-blob-1 {
    width: 450px;
    height: 450px;
    background: rgba(4, 107, 210, 0.08);
    top: -80px;
    left: -120px;
}
.why-blob-2 {
    width: 380px;
    height: 380px;
    background: rgba(139, 92, 246, 0.06);
    bottom: -60px;
    right: -100px;
}

/* Diagonal color stripes */
.why-color-stripe {
    position: absolute;
    border-radius: 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
.why-stripe-1 {
    width: 300px;
    height: 6px;
    background: linear-gradient(90deg, #046BD2, #0891B2);
    top: 18%;
    right: -40px;
    transform: rotate(-12deg);
}
.why-stripe-2 {
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, #8B5CF6, #C026D3);
    top: 55%;
    left: -30px;
    transform: rotate(8deg);
}
.why-stripe-3 {
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, #FFAF40, #FF8C42);
    bottom: 20%;
    right: 10%;
    transform: rotate(-5deg);
}

/* --- TOP HALF --- */
.why-top {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 56px;
    margin-bottom: 100px;
}

.why-top-content {
    text-align: center;
}

.why-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 16px;
}

.why-headline {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.why-accent {
    background: linear-gradient(135deg, #046BD2, #0891B2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-intro {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Evaluation gallery --- */
.why-top-visual {
    position: relative;
}

.eval-gallery {
    display: flex;
    gap: 20px;
    max-width: 1050px;
    margin: 0 auto;
}

.eval-gallery-item {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-300);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.eval-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(4, 107, 210, 0.12);
    border-color: rgba(4, 107, 210, 0.25);
}

.eval-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- BOTTOM HALF --- */
.why-bottom {
    position: relative;
    z-index: 1;
}

.why-sub-headline {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* Evaluation flow */
.eval-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
}

.eval-card {
    position: relative;
    flex: 1;
    max-width: 260px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 14px;
    padding: 32px 24px 28px;
    transition: all 0.4s ease;
}

.eval-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(4, 107, 210, 0.1);
    border-color: rgba(4, 107, 210, 0.25);
}

.eval-card-final {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(4, 107, 210, 0.03), rgba(8, 145, 178, 0.03));
}

.eval-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(4, 107, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 16px;
}

.eval-card-final .eval-card-icon {
    background: var(--blue);
    color: var(--white);
}

.eval-card-num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(4, 107, 210, 0.06);
    line-height: 1;
    user-select: none;
}

.eval-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.eval-card-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.65;
}

.eval-portal-badge {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    background: rgba(4, 107, 210, 0.08);
    border: 1px dashed rgba(4, 107, 210, 0.3);
    border-radius: 50px;
}

/* Flow arrows */
.eval-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    color: var(--gray-400);
}

/* Closing line */
.why-closing {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy);
    margin-top: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   SECTION 7: PROCESS TIMELINE
   ============================================ */
.process-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.process-timeline {
    display: flex;
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: var(--gray-300);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.step-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.step-marker:hover {
    background: var(--blue);
}

.step-marker:hover .step-num {
    color: var(--white);
}

.step-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue);
    transition: color var(--transition);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   SECTION 8: TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0A1628, #046BD2, #8B5CF6, #0891B2);
    background-size: 300% 300%;
    animation: testimonialBg 16s ease infinite;
}

@keyframes testimonialBg {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.testimonials-slider {
    max-width: 720px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
}

.testimonial-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
}

.author-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.test-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 1rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.test-nav-btn:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.test-counter {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SECTION 9: BOTTOM CTA
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTION 10: FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    padding: 64px 0 0;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-400);
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 2.8rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .diff-layout {
        gap: 48px;
    }
    .diff-headline {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    /* Header sizing */
    .nav-container { height: 100px; }
    .logo-img { height: 80px; }
    .container { padding: 0 20px; }

    /* Mobile menu toggle */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
        padding: 10px;
        margin: -10px;
    }
    .mobile-toggle span { transition: transform 0.3s ease, opacity 0.3s ease; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile nav drawer */
    .main-nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        overflow-y: auto;
        z-index: 999;
    }
    .main-nav.open {
        display: flex;
    }
    body.nav-open { overflow: hidden; }

    /* Mobile nav links — bigger tap targets */
    .main-nav a {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 8px;
        transition: background 0.2s ease;
    }
    .main-nav a:active, .main-nav a:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    .main-nav .nav-cta {
        margin-top: 12px;
        text-align: center;
        padding: 16px 24px !important;
    }

    /* Mobile dropdown triggers */
    .nav-dropdown > span,
    .nav-sub-dropdown > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        transition: background 0.2s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255,255,255,0.1);
    }
    /* Inline ▾ in HTML doubles as chevron — no ::after needed */
    .nav-sub-dropdown > span::after {
        content: '▾';
        font-size: 0.75rem;
        opacity: 0.7;
        transition: transform 0.3s ease;
    }
    .nav-sub-dropdown.open > span::after {
        transform: rotate(180deg);
    }

    /* Mobile dropdown menus — accordion style */
    .nav-dropdown-menu {
        display: none;
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 16px;
        margin: 4px 0 8px 0;
        backdrop-filter: none;
        border-radius: 8px;
        min-width: auto;
        width: auto;
    }
    .nav-dropdown.open > .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown:hover > .nav-dropdown-menu {
        display: none; /* Disable hover behavior on mobile */
    }
    .nav-dropdown.open:hover > .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown-menu a {
        padding: 12px 16px;
        font-size: 0.88rem;
    }

    .nav-sub-menu {
        display: none;
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 16px;
        margin: 4px 0 8px 0;
        backdrop-filter: none;
        border-radius: 8px;
        min-width: auto;
        width: auto;
        left: auto;
    }
    .nav-sub-dropdown.open > .nav-sub-menu {
        display: block;
    }
    .nav-sub-dropdown:hover > .nav-sub-menu {
        display: none;
    }
    .nav-sub-dropdown.open:hover > .nav-sub-menu {
        display: block;
    }
    .nav-sub-menu a {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        padding: 32px 0 60px;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-eyebrow { font-size: 0.78rem; margin-bottom: 14px; }
    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    .hero-sub {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    .hero-ctas .btn {
        width: 100%;
        padding: 16px 24px;
    }
    .hero-badges {
        gap: 8px;
    }
    .badge {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
    .hero-float-cards {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
        padding: 0 8px;
    }
    .hero-float-card {
        flex: 1 1 calc(50% - 12px);
        min-width: 0;
        padding: 14px 16px;
    }
    .float-number { font-size: 1.4rem; }
    .float-label { font-size: 0.65rem; }

    /* Section spacing tightened for mobile */
    .different-section { padding: 64px 0 80px; }
    .why-section { padding: 64px 0 80px; }
    .stats-section { padding: 40px 0; }
    .testimonials-section { padding: 64px 0; }
    .cta-section { padding: 64px 0; }
    .logos-section { padding: 48px 0; }

    /* Why HAR section */
    .why-headline { font-size: 2rem; }
    .why-top { margin-bottom: 48px; }
    .eval-flow {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .eval-card {
        max-width: 100%;
        width: 100%;
    }
    .eval-flow-arrow {
        transform: rotate(90deg);
        width: auto;
        height: 32px;
    }

    /* What Makes Us Different */
    .diff-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .diff-content { padding-right: 0; }
    .diff-headline { font-size: 1.9rem; }
    .diff-intro { font-size: 0.95rem; }
    .diff-gallery { gap: 16px; }
    .diff-feature { gap: 14px; }
    .diff-feature-num { font-size: 2.6rem; }

    /* Stats — 2x2 grid on mobile so they fit nicely */
    .stats-section { padding: 48px 0; }
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 100%;
    }
    .stat-block { padding: 12px 8px; min-width: 0; }
    .stat-number {
        font-size: clamp(1.8rem, 9vw, 2.4rem);
        white-space: nowrap;
    }
    .stat-label {
        font-size: 0.7rem;
        line-height: 1.3;
        letter-spacing: 0.05em;
    }

    /* Testimonials */
    .testimonial-quote { font-size: 1rem; }
    .quote-mark { font-size: 4rem; }

    /* Process timeline (deprecated but kept) */
    .process-timeline {
        flex-direction: column;
        gap: 32px;
    }
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: 100%;
    }
    .process-step {
        text-align: left;
        padding-left: 80px;
    }
    .step-marker {
        position: absolute;
        left: 0;
        margin: 0;
    }
    .section-title { font-size: 1.9rem; }
    .cta-headline { font-size: 1.9rem; }
    .cta-sub { font-size: 1rem; }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .cta-buttons .btn { width: 100%; max-width: 320px; padding: 16px 24px; }

    /* Footer */
    .site-footer { padding: 48px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
    .footer-brand { text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-links { text-align: center; }
    .footer-links a { padding: 4px 0; }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px 0;
    }
    .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
    .nav-container { height: 88px; }
    .logo-img { height: 68px; }
    .container { padding: 0 16px; }

    .hero-headline { font-size: 1.85rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-eyebrow { font-size: 0.72rem; }
    .badge { font-size: 0.7rem; padding: 6px 10px; }
    .hero-float-card { flex: 1 1 100%; }

    .section-title { font-size: 1.7rem; }
    .diff-headline { font-size: 1.7rem; }
    .why-headline { font-size: 1.8rem; }
    .cta-headline { font-size: 1.7rem; }

    .main-nav { top: 88px; padding: 20px; }
    body.nav-open .main-nav { top: 88px; }

    /* Stats: shrink labels so 2-column grid stays clean */
    .stats-grid { gap: 8px; }
    .stat-block { padding: 8px 4px; }
    .stat-number { font-size: 1.9rem; }
    .stat-label { font-size: 0.62rem; }
}
