/* ═══════════════════════════════════════════
   RMads - Performance Marketing Agency
   Design System & Styles
   ═══════════════════════════════════════════ */

/* ── CSS Variables / Design Tokens ── */
:root {
    /* Colors */
    --bg-primary: #07080C;
    --bg-secondary: #0D0F14;
    --bg-tertiary: #12151C;
    --bg-card: rgba(18, 21, 28, 0.7);
    --bg-glass: rgba(18, 21, 28, 0.5);

    --text-primary: #F1F2F6;
    --text-secondary: #9BA1B0;
    --text-muted: #5C6370;

    --accent: #6C5CE7;
    --accent-light: #A29BFE;
    --accent-glow: rgba(108, 92, 231, 0.3);

    --gradient-start: #6C5CE7;
    --gradient-mid: #A855F7;
    --gradient-end: #EC4899;

    --blue: #3B82F6;
    --green: #10B981;
    --purple: #8B5CF6;
    --orange: #F59E0B;
    --pink: #EC4899;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-out);
}

ul {
    list-style: none;
}

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

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

/* ── Selection ── */
::selection {
    background: var(--accent);
    color: white;
}

/* ── Gradient Text Utility ── */
.gradient-text,
.hero-gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(108, 92, 231, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    box-shadow: 0 4px 25px var(--accent-glow), 0 0 80px rgba(108, 92, 231, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow), 0 0 120px rgba(108, 92, 231, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
}

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

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-rm {
    color: var(--text-primary);
}

.logo-ads {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--pink));
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: blur(1px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 8, 12, 0.6) 0%,
        rgba(7, 8, 12, 0.4) 40%,
        rgba(7, 8, 12, 0.85) 80%,
        var(--bg-primary) 100%
    );
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-gradient-text {
    display: inline;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-clients {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s var(--ease-out) 1s both;
}

.hero-clients-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-clients-avatars {
    display: flex;
    gap: 0;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-left: -8px;
    animation: scaleIn 0.5s var(--ease-bounce) calc(1.2s + var(--delay) * 0.1s) both;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s var(--ease-out) 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Hero Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ══════════════════════════════════════
   STATS TICKER
   ══════════════════════════════════════ */
.stats-ticker {
    padding: 24px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    padding-right: 48px;
}

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

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    color: var(--accent);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ══════════════════════════════════════
   WHAT WE DO (NO FLUFF) SECTION
   ══════════════════════════════════════ */
.what-we-do {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.25;
    pointer-events: none;
}

.what-we-do-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
    position: relative;
}

.what-we-do-header-text {
    flex: 1;
    max-width: 680px;
}

.what-we-do-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0 14px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.what-we-do-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

.highlight-coral {
    color: #FF5353;
    font-weight: 700;
    text-shadow: 0 0 24px rgba(255, 83, 83, 0.4);
}

.what-we-do-skyline {
    width: 380px;
    flex-shrink: 0;
    margin-bottom: -15px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.skyline-svg {
    width: 100%;
    height: auto;
    max-height: 200px;
    filter: drop-shadow(0 0 20px rgba(108, 92, 231, 0.25));
}

/* ── Architectural 5-Box Grid ── */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wwd-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 40px 32px;
    background: var(--bg-card);
    position: relative;
    transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.wwd-card:hover {
    background: rgba(22, 26, 36, 0.85);
}

/* Top Row: 3 columns */
.wwd-card.card-top {
    grid-column: span 2;
    border-bottom: 1px solid var(--border);
}

.wwd-card.card-top:not(:nth-child(3)) {
    border-right: 1px solid var(--border);
}

/* Bottom Row: 2 columns (50% each) */
.wwd-card.card-bottom {
    grid-column: span 3;
}

.wwd-card.card-bottom:first-of-type {
    border-right: 1px solid var(--border);
}

.wwd-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform 0.35s var(--ease-bounce), color 0.3s ease;
}

.wwd-card:hover .wwd-icon {
    transform: translateY(-3px) scale(1.08);
}

.wwd-body {
    flex: 1;
}

.wwd-title {
    font-family: var(--font-heading);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.wwd-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.about-content .section-tag {
    display: inline-flex;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}

.highlight-item:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.highlight-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* About Visual / Metric Cards */
.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    height: 400px;
}

.about-metric-card {
    position: absolute;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    width: 320px;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateX(40px);
}

.about-metric-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.card-1 {
    top: 0;
    left: 0;
    z-index: 3;
}

.card-2 {
    top: 100px;
    left: 60px;
    z-index: 2;
}

.card-3 {
    top: 200px;
    left: 30px;
    z-index: 1;
}

.about-metric-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    z-index: 10;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.metric-bar {
    height: 6px;
    background: var(--bg-primary);
    border-radius: 100px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 100px;
    transition: width 1.5s var(--ease-out);
}

.metric-bar-fill.animated {
    width: var(--width);
}

/* ══════════════════════════════════════
   PROCESS SECTION
   ══════════════════════════════════════ */
.process {
    padding: var(--section-padding);
    position: relative;
}

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateX(-30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.step-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-left: auto;
}

.process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    margin: 0 auto;
    opacity: 0.3;
}

/* ══════════════════════════════════════
   RESULTS SECTION
   ══════════════════════════════════════ */
.results {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.filter-btn:hover {
    border-color: var(--accent-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

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

.result-card {
    position: relative;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateY(40px);
}

.result-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.result-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.result-card:hover .result-glow {
    opacity: 1;
}

.result-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-glow);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    margin-bottom: 24px;
}

.result-metric {
    display: flex;
    flex-direction: column;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.result-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════ */
.testimonials {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-carousel {
    flex: 1;
    position: relative;
    min-height: 360px;
    width: 100%;
}

.testimonial-card {
    display: none;
    padding: 24px 28px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.testimonial-card.active {
    display: block;
    animation: testimonialFadeIn 0.45s var(--ease-out) forwards;
}

@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.testimonial-client-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 50px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.badge-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.testimonial-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.highlight-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    background: rgba(108, 92, 231, 0.12);
    border: 1px solid rgba(108, 92, 231, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
}

.testimonial-stars {
    color: var(--orange);
    font-size: 1.05rem;
    letter-spacing: 3px;
}

.testimonial-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: #090B10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease-out);
}

.testimonial-image-frame:hover {
    border-color: rgba(162, 155, 254, 0.4);
    box-shadow: 0 12px 36px -8px rgba(108, 92, 231, 0.25);
}

.testimonial-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s var(--ease-out);
}

.testimonial-image-frame:hover .testimonial-img {
    transform: scale(1.015);
}

.testimonial-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 12, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.testimonial-image-frame:hover .testimonial-zoom-overlay {
    opacity: 1;
}

.zoom-badge {
    background: rgba(18, 21, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transform: translateY(6px);
    transition: transform 0.3s var(--ease-out);
}

.testimonial-image-frame:hover .zoom-badge {
    transform: translateY(0);
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--accent-glow);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    padding: 0;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-glow);
    border-radius: 8px;
    width: 24px;
}

.dot:hover:not(.active) {
    background: var(--accent-light);
}

/* ── Lightbox Modal ── */
.testimonial-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.testimonial-lightbox[hidden] {
    display: none !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox-dialog {
    position: relative;
    max-width: 950px;
    width: 100%;
    max-height: 92vh;
    z-index: 2;
    animation: lightboxZoomIn 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxZoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: #EC4899;
    border-color: #EC4899;
    transform: rotate(90deg);
}

.lightbox-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-wrapper {
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-md);
    background: #080A0F;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
}

.lightbox-caption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* ══════════════════════════════════════
   CONTACT / CTA SECTION
   ══════════════════════════════════════ */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1), transparent);
    pointer-events: none;
}

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

.contact-content .section-tag {
    display: inline-flex;
}

.contact-content .section-title {
    text-align: left;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
    outline: none;
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239BA1B0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .nav-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links-group li,
.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links-group a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* ══════════════════════════════════════
   FLOATING PARTICLES
   ══════════════════════════════════════ */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float var(--duration) var(--delay) infinite;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: var(--opacity);
        transform: translateY(0) scale(1);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0);
    }
}

/* ══════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .what-we-do-skyline {
        width: 300px;
    }

    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wwd-card.card-top,
    .wwd-card.card-bottom {
        grid-column: span 1;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .wwd-card:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .wwd-card:last-child {
        grid-column: span 2;
        border-bottom: none;
    }

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

    .about-card-stack {
        height: 320px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 8, 12, 0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 998;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.3rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 999;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .section-header {
        margin-bottom: 48px;
    }

    .what-we-do-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .what-we-do-skyline {
        display: none;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
    }

    .wwd-card.card-top,
    .wwd-card.card-bottom {
        grid-column: span 1 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding: 26px 20px;
    }

    .wwd-card:last-child {
        border-bottom: none;
    }

    .wwd-icon {
        width: 44px;
        height: 44px;
    }

    .wwd-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-card {
        padding: 28px;
    }

    .process-step {
        flex-wrap: wrap;
        padding: 24px;
    }

    .step-icon {
        order: -1;
        width: 100%;
        text-align: right;
    }

    .about-card-stack {
        height: 340px;
    }

    .about-metric-card {
        width: 280px;
    }

    .card-2 {
        left: 30px;
    }

    .card-3 {
        left: 10px;
    }

    .testimonials-carousel-wrapper {
        gap: 8px;
    }

    .testimonial-arrow {
        width: 36px;
        height: 36px;
    }

    .testimonial-arrow svg {
        width: 18px;
        height: 18px;
    }

    .testimonial-card {
        padding: 14px;
        border-radius: var(--radius-lg);
    }

    .testimonial-card-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .testimonial-img {
        max-height: 400px;
    }

    .lightbox-close {
        top: -40px;
        width: 34px;
        height: 34px;
    }

    .contact-form {
        padding: 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .hero-clients {
        flex-direction: column;
        gap: 8px;
    }

    .result-metrics {
        gap: 12px;
    }

    .result-value {
        font-size: 1.4rem;
    }
}

/* ── Scroll Reveal Animation Base ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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