/* ============================================
   CSS Variables & Base Styles
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #0A0E27;
    --bg-secondary: #0F1629;
    --bg-tertiary: #151B2E;
    --accent-blue: #00D9FF;
    --accent-cyan: #00F5FF;
    --accent-purple: #7B61FF;
    --accent-purple-glow: rgba(123, 97, 255, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #6B7A8F;
    --glass-bg: rgba(15, 22, 41, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 120px 0;
    --section-padding-mobile: 80px 0;

    /* Effects */
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.2);
    --shadow-glow-purple: 0 0 40px rgba(123, 97, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    position: relative;
    flex-wrap: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.logo-img {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--accent-blue));
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-secondary-nav {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary-nav:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-primary-nav {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding-top: calc(120px + 60px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    word-break: break-word;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--section-padding);
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    word-break: break-word;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15);
}

.glass-card:hover::before {
    opacity: 1;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 97, 255, 0.1));
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 16px;
    color: var(--accent-blue);
}

.feature-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

/* ============================================
   Publisher & Advertiser Sections
   ============================================ */

.publishers,
.advertisers {
    background: var(--bg-primary);
}

.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.section-layout.reverse {
    direction: rtl;
}

.section-layout.reverse>* {
    direction: ltr;
}

.section-content {
    max-width: 600px;
}

.benefits-list {
    margin: 32px 0;
}

.benefit-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

.benefit-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.benefit-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

/* Dashboard Mockup */
.dashboard-mockup {
    padding: 0;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.dashboard-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-controls {
    display: flex;
    gap: 6px;
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.dashboard-content {
    padding: 24px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-stat {
    padding: 16px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

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

/* Realistic Publisher Dashboard Mockup */
.pub-real-dash {
    padding: 0;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(123, 97, 255, 0.15);
}

.pub-dash-inner {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pub-dash-greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pub-dash-main-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.pub-greeting-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pub-range-indicator {
    font-size: 12px;
    color: var(--text-muted);
}

.pub-dash-range-filter {
    display: flex;
    background: #1e293b;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    gap: 2px;
}

.pub-range-btn {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: default;
}

.pub-range-btn.active {
    background: #7B61FF;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.4);
}

.pub-range-indicator {
    font-size: 11px;
    color: var(--text-muted);
}

.pub-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #00FF88;
}

/* 4-KPI Grid */
.pub-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.pub-kpi-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.pub-kpi-card:hover {
    border-color: rgba(123, 97, 255, 0.3);
    transform: translateY(-2px);
}

.pub-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pub-kpi-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purple-box { background: rgba(123, 97, 255, 0.15); color: #7B61FF; }
.blue-box { background: rgba(0, 217, 255, 0.15); color: #00D9FF; }
.emerald-box { background: rgba(0, 255, 136, 0.15); color: #00FF88; }
.orange-box { background: rgba(255, 149, 0, 0.15); color: #FF9500; }

.pub-kpi-range-badge {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
}

.pub-kpi-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.pub-kpi-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.pub-kpi-value.text-purple { color: #FFFFFF; }
.pub-kpi-value.text-blue { color: #FFFFFF; }
.pub-kpi-value.text-emerald { color: #FFFFFF; }
.pub-kpi-value.text-orange { color: #FFFFFF; }

/* Performance Trend Chart Card */
.pub-chart-section {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    backdrop-filter: blur(12px);
}

.pub-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pub-chart-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
}

.pub-chart-legend {
    display: flex;
    gap: 12px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.dot-earnings { background: #8B5CF6; box-shadow: 0 0 6px rgba(139, 92, 246, 0.6); }
.dot-clicks { background: #00D9FF; box-shadow: 0 0 6px rgba(0, 217, 255, 0.6); }

.pub-chart-canvas-mock {
    position: relative;
    width: 100%;
}

.pub-chart-wrapper {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.pub-chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    padding: 2px 0 10px 0;
    min-width: 28px;
    text-align: right;
    user-select: none;
}

.pub-chart-svg-container {
    position: relative;
    flex: 1;
}

.pub-chart-svg {
    width: 100%;
    height: 125px;
    display: block;
}

.pub-chart-tooltip-hud {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(139, 92, 246, 0.25);
    padding: 5px 9px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    pointer-events: none;
    white-space: nowrap;
    animation: floatHud 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes floatHud {
    0%, 100% { transform: translate(-50%, -100%) translateY(0); }
    50% { transform: translate(-50%, -100%) translateY(-3px); }
}

.pub-chart-tooltip-hud .hud-value {
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.pub-chart-tooltip-hud .hud-meta {
    font-size: 8px;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pub-chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    margin-left: 40px;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    padding: 0 4px;
}

/* Recent Conversions Section */
.pub-recent-conversions {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.pub-recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
}

.pub-conversion-list {
    display: flex;
    flex-direction: column;
}

.pub-conv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.pub-conv-row:last-child {
    border-bottom: none;
}

.pub-conv-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.pub-conv-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.pub-conv-img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pub-conv-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.pub-conv-icon.purple-bg { background: rgba(123, 97, 255, 0.15); }
.pub-conv-icon.emerald-bg { background: rgba(0, 255, 136, 0.15); }
.pub-conv-icon.pink-bg { background: rgba(255, 75, 145, 0.15); }

.pub-conv-details {
    flex: 1;
    min-width: 0;
}

.pub-conv-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pub-conv-title {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pub-conv-badge {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-purple { background: rgba(123, 97, 255, 0.15); color: #a78bfa; border: 1px solid rgba(123, 97, 255, 0.3); }
.badge-emerald { background: rgba(0, 255, 136, 0.15); color: #34d399; border: 1px solid rgba(0, 255, 136, 0.3); }
.badge-orange { background: rgba(255, 149, 0, 0.15); color: #fb923c; border: 1px solid rgba(255, 149, 0, 0.3); }
.badge-pink { background: rgba(255, 75, 145, 0.15); color: #f472b6; border: 1px solid rgba(255, 75, 145, 0.3); }

.pub-conv-meta {
    font-size: 9px;
    color: #64748b;
}

.pub-conv-country {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0 12px;
}

.pub-conv-profit {
    font-size: 12px;
    font-weight: 700;
    color: #00FF88;
}

@media (max-width: 640px) {
    .pub-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Realistic Advertiser Dashboard Mockup */
.adv-real-dash {
    padding: 0;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 217, 255, 0.12);
}

.adv-dash-inner {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.adv-dash-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 10px;
}

.adv-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.adv-dash-main-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

.adv-header-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adv-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adv-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: default;
}

.adv-type-filter {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    gap: 2px;
}

.adv-type-btn {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: default;
    transition: all 0.2s ease;
}

.adv-type-btn.active {
    background: #7B61FF;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(123, 97, 255, 0.4);
}

/* Advertiser 6-KPI Grid */
.adv-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.adv-kpi-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.adv-kpi-card.highlight-spend {
    border-color: rgba(123, 97, 255, 0.3);
    background: rgba(123, 97, 255, 0.08);
}

.adv-kpi-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-2px);
}

.adv-kpi-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.adv-kpi-value {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.adv-kpi-value.text-purple { color: #a78bfa; }
.adv-kpi-value.text-emerald { color: #00FF88; }

/* Advertiser Chart Card */
.adv-chart-section {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    backdrop-filter: blur(12px);
}

.adv-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.adv-chart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
}

.adv-chart-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.adv-chart-dot.purple {
    background: #8B5CF6;
    box-shadow: 0 0 6px #8B5CF6;
}

.adv-chart-legend {
    display: flex;
    gap: 12px;
}

.dot-spend { background: #8B5CF6; box-shadow: 0 0 6px rgba(139, 92, 246, 0.6); }
.dot-convs { background: #00D9FF; box-shadow: 0 0 6px rgba(0, 217, 255, 0.6); }

.adv-chart-canvas-mock {
    position: relative;
    width: 100%;
}

.adv-chart-wrapper {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.adv-chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    padding: 2px 0 10px 0;
    min-width: 28px;
    text-align: right;
    user-select: none;
}

.adv-chart-svg-container {
    position: relative;
    flex: 1;
}

.adv-chart-svg {
    width: 100%;
    height: 125px;
    display: block;
}

.adv-chart-tooltip-hud {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 217, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 217, 255, 0.25);
    padding: 5px 9px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    pointer-events: none;
    white-space: nowrap;
    animation: floatHud 3s ease-in-out infinite;
    z-index: 10;
}

.adv-chart-tooltip-hud .hud-value {
    font-size: 11px;
    font-weight: 800;
    color: #00D9FF;
    line-height: 1.2;
}

.adv-chart-tooltip-hud .hud-meta {
    font-size: 8px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.adv-chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    margin-left: 40px;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    padding: 0 4px;
}

/* Combined Campaigns Table */
.adv-campaigns-section {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.adv-camp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
}

.adv-camp-filter-input {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 11px;
    color: #64748b;
}

.adv-camp-table {
    display: flex;
    flex-direction: column;
}

.adv-table-head {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.adv-table-body {
    display: flex;
    flex-direction: column;
}

.adv-table-row {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 11px;
    color: var(--text-secondary);
    transition: background 0.2s ease;
}

.adv-table-row:last-child {
    border-bottom: none;
}

.adv-table-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.col-entity { flex: 2.2; min-width: 0; }
.col-type { flex: 0.8; text-align: center; }
.col-clicks { flex: 0.9; text-align: center; }
.col-convs { flex: 0.8; text-align: center; }
.col-cr { flex: 0.8; text-align: center; }
.col-spend { flex: 1.1; text-align: center; }
.col-status { flex: 0.8; text-align: right; }

.adv-entity-col {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adv-entity-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.adv-entity-icon.purple-bg { background: rgba(123, 97, 255, 0.15); color: #a78bfa; }
.adv-entity-icon.blue-bg { background: rgba(0, 217, 255, 0.15); color: #00D9FF; }

.adv-entity-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.adv-entity-title {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.adv-entity-sub {
    font-size: 8px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.adv-badge-type {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.adv-status-active {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 136, 0.12);
    color: #00FF88;
    border: 1px solid rgba(0, 255, 136, 0.25);
}

@media (max-width: 640px) {
    .adv-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .col-clicks, .col-cr {
        display: none;
    }
}

/* ============================================
   Technology Section
   ============================================ */

.technology {
    background: var(--bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tech-card {
    text-align: center;
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--accent-blue));
}

.tech-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1), transparent);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

/* ============================================
   Footer — FIXED
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand {
    max-width: 260px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
    line-height: 1.4;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .section-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: stretch;
    }

    .section-visual {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .section-layout.reverse {
        direction: ltr;
    }

    .adv-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer: tablet — stack brand above links, 2-col links */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 40px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-links {
        gap: 16px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .btn-secondary-nav,
    .btn-primary-nav {
        padding-inline: 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-top: 1px solid var(--glass-border);
        margin-top: 0;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-buttons {
        display: flex;
        position: static;
        margin-left: auto;
        flex-direction: row;
        gap: 8px;
    }

    .btn-secondary-nav,
    .btn-primary-nav {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        flex-shrink: 0;
    }

    section {
        padding: var(--section-padding-mobile);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

    /* Publisher & Advertiser Mockups on Mobile/Tablet */
    .pub-dash-inner, .adv-dash-inner {
        padding: 16px;
        gap: 14px;
    }

    .pub-dash-greeting, .adv-dash-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pub-dash-range-filter, .adv-header-controls {
        width: 100%;
        justify-content: space-between;
    }

    .pub-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .adv-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .adv-kpi-card {
        padding: 8px 10px;
    }

    .adv-kpi-value {
        font-size: 13px;
    }

    .col-clicks, .col-cr {
        display: none;
    }

    .pub-chart-x-axis, .adv-chart-x-axis {
        margin-left: 28px;
        font-size: 8px;
    }

    .pub-chart-y-axis, .adv-chart-y-axis {
        min-width: 24px;
        font-size: 8px;
    }

    /* Footer: mobile */
    .footer {
        padding: 44px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 28px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 40px 24px;
    }

    .glass-card {
        padding: 20px 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    /* Small Phone Dashboard Adjustments */
    .pub-dash-inner, .adv-dash-inner {
        padding: 12px;
        gap: 12px;
    }

    .pub-dash-main-title, .adv-dash-main-title {
        font-size: 16px;
    }

    .pub-range-indicator, .adv-header-subtitle {
        font-size: 10px;
    }

    .pub-range-btn {
        flex: 1;
        text-align: center;
        padding: 4px 6px;
        font-size: 10px;
    }

    .adv-type-btn {
        flex: 1;
        text-align: center;
        padding: 3px 6px;
        font-size: 9px;
    }

    .pub-kpi-card {
        padding: 8px 10px;
    }

    .pub-kpi-value {
        font-size: 14px;
    }

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

    .col-type, .col-convs {
        display: none;
    }

    .pub-conv-row {
        padding: 8px 10px;
    }

    .pub-conv-country {
        display: none;
    }

    .pub-conv-title {
        max-width: 140px;
    }

    .pub-chart-tooltip-hud, .adv-chart-tooltip-hud {
        display: none;
    }

    /* Footer: keep 2 columns even on small phones */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
    }

    .footer-column h4 {
        font-size: 11px;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .footer-column ul li a {
        font-size: 12px;
    }
}

/* ============================================
   Landing Mobile Stabilization
   ============================================ */

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 52px);
    }

    .logo-img {
        width: auto;
        max-width: min(150px, 42vw);
        height: auto;
        max-height: 30px;
    }

    .logo-text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        flex: 0 0 auto;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 14px;
        background: rgba(10, 14, 39, 0.98);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
    }

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

    .nav-links .nav-menu {
        display: flex;
        position: static;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .nav-links .nav-menu a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .nav-links .nav-menu a:hover {
        background: rgba(0, 217, 255, 0.08);
    }

    .nav-links .nav-menu a::after {
        display: none;
    }

    .nav-links .nav-buttons {
        display: flex;
        position: static;
        width: 100%;
        margin: 0;
        padding-top: 14px;
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .nav-links .btn-secondary-nav,
    .nav-links .btn-primary-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 14px;
    }

    section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding: 112px 0 72px;
    }

    .hero-content {
        max-width: 100%;
        padding-inline: 0;
    }

    .hero-badge {
        max-width: 100%;
        text-align: left;
        line-height: 1.4;
    }

    .hero-title,
    .section-title,
    .cta-title {
        overflow-wrap: anywhere;
    }

    .hero-title {
        font-size: clamp(2.25rem, 9.5vw, 3.5rem);
    }

    .hero-cta,
    .cta-buttons {
        width: 100%;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
        padding: 13px 20px;
    }

    .scroll-indicator {
        display: none;
    }

    .features-grid,
    .tech-grid,
    .trust-stats,
    .pub-kpi-grid,
    .adv-kpi-grid,
    .footer-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .trust-stats {
        gap: 20px;
    }

    .glass-card,
    .section-content,
    .section-visual,
    .dashboard-mockup,
    .pub-real-dash,
    .adv-real-dash,
    .cta-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .pub-kpi-grid,
    .adv-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-dash-inner,
    .adv-dash-inner,
    .pub-dash-greeting,
    .adv-dash-header-row,
    .pub-chart-header,
    .adv-chart-header,
    .adv-camp-header,
    .pub-chart-legend,
    .adv-chart-legend,
    .adv-header-controls {
        min-width: 0;
        max-width: 100%;
    }

    .pub-chart-header,
    .adv-chart-header,
    .adv-camp-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pub-chart-legend,
    .adv-chart-legend {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .adv-header-controls {
        flex-wrap: wrap;
    }

    .pub-conv-name-row {
        min-width: 0;
        flex-wrap: wrap;
    }

    .pub-conv-title,
    .adv-entity-title {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .adv-campaigns-section,
    .adv-camp-table,
    .adv-table-head,
    .adv-table-row {
        min-width: 0;
        max-width: 100%;
    }

    .adv-table-head,
    .adv-table-row {
        overflow: hidden;
    }

    .adv-table-row {
        gap: 6px;
    }

    .adv-entity-col {
        min-width: 0;
        gap: 6px;
    }

    .adv-chart-svg,
    .pub-chart-svg {
        max-width: 100%;
    }

    section.blog-section {
        padding: 72px 0 !important;
    }

    section.blog-section .features-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cta-content {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 16px;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 7px 12px;
    }

    .hero-subtitle,
    .section-description,
    .cta-description {
        font-size: 15px;
    }

    .pub-kpi-grid,
    .adv-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pub-kpi-card,
    .adv-kpi-card {
        min-width: 0;
        padding-inline: 9px;
    }

    .pub-kpi-label,
    .adv-kpi-label {
        overflow-wrap: anywhere;
    }

    .adv-camp-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .adv-camp-filter-input {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
