/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --accent: #7C3AED;
    --accent-dark: #6D28D9;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --success: #22C55E;
    --success-light: #DCFCE7;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1150px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.btn-secondary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 26px;
    color: var(--gray-900);
}

.logo span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav .btn-primary {
    padding: 10px 24px;
    color: #fff;
    font-size: 14px;
    margin-left: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-glow-1 {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-float 10s ease-in-out infinite reverse;
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DBEAFE;
    color: #2563EB;
    padding: 8px 20px 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fade-in 0.6s ease-out;
}

.hero-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #2563EB;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fade-in 0.7s ease-out;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 540px;
    animation: fade-in 0.8s ease-out;
}

.hero-subtitle strong {
    color: #0F172A;
}

.hero-usp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fade-in 0.9s ease-out;
}

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO ACTIONS
   ============================================================ */
.hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
    animation: fade-in 1s ease-out;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 99, 235, 0.5);
}

.btn-hero-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #0F172A;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-hero-secondary:hover {
    background: #F8FAFC;
    border-color: #2563EB;
    color: #2563EB;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.btn-hero-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* ============================================================
   HERO TRUST - BALANCED 2x2 GRID
   ============================================================ */
.hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
    animation: fade-in 1.1s ease-out;
    max-width: 520px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
    white-space: nowrap;
    justify-content: flex-start;
}

.hero-trust-item span {
    color: #16A34A;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-trust-divider {
    display: none;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-dashboard-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.hero-float-badge-1,
.hero-float-badge-2 {
    position: absolute;
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    border: 1px solid #E2E8F0;
    color: #0F172A;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.hero-float-badge-1 {
    top: -20px;
    right: -20px;
    animation: float-badge 6s ease-in-out infinite;
}

.hero-float-badge-2 {
    bottom: -20px;
    left: -20px;
    animation: float-badge 8s ease-in-out infinite reverse;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-dashboard {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: float-in 0.8s ease-out forwards;
}

@keyframes float-in {
    0% { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-dashboard:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s ease;
}

.dash-dots span:nth-child(1) { background: #EF4444; }
.dash-dots span:nth-child(2) { background: #F59E0B; }
.dash-dots span:nth-child(3) { background: #22C55E; }

.dash-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    letter-spacing: 0.3px;
}

.dash-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    color: #16A34A;
    background: #DCFCE7;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

.dash-body {
    padding: 20px;
}

.dash-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 12px 16px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #F1F5F9;
    margin-bottom: 16px;
}

.dash-stat {
    text-align: center;
}

.dash-stat-number {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
    animation: number-pop 0.6s ease-out forwards;
}

.dash-stat:nth-child(1) .dash-stat-number { animation-delay: 0.1s; }
.dash-stat:nth-child(3) .dash-stat-number { animation-delay: 0.2s; }
.dash-stat:nth-child(5) .dash-stat-number { animation-delay: 0.3s; }
.dash-stat:nth-child(7) .dash-stat-number { animation-delay: 0.4s; }

@keyframes number-pop {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

.dash-stat-label {
    display: block;
    font-size: 9px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 2px;
}

.dash-stat-divider {
    width: 1px;
    height: 32px;
    background: #E2E8F0;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}

.dash-table tbody tr {
    transition: background 0.3s ease, transform 0.2s ease;
    border-bottom: 1px solid #F1F5F9;
    animation: slide-in 0.4s ease-out forwards;
}

.dash-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.dash-table tbody tr:nth-child(2) { animation-delay: 0.15s; }
.dash-table tbody tr:nth-child(3) { animation-delay: 0.2s; }
.dash-table tbody tr:nth-child(4) { animation-delay: 0.25s; }
.dash-table tbody tr:nth-child(5) { animation-delay: 0.3s; }
.dash-table tbody tr:nth-child(6) { animation-delay: 0.35s; }

@keyframes slide-in {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

.dash-table tbody tr:last-child {
    border-bottom: none;
}

.dash-table tbody tr:hover {
    background: #F8FAFC;
    transform: scale(1.01);
}

.dash-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.dash-label {
    font-size: 12px;
    font-weight: 500;
    color: #0F172A;
    text-align: left;
    width: 45%;
}

.dash-value {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    text-align: left;
    width: 30%;
}

/* ============================================================
   DASHBOARD STATUS BADGES
   ============================================================ */
.dash-table .dash-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px 4px 8px;
    border-radius: 20px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    min-width: 80px;
    border: none;
    width: auto;
}

.dash-table .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dash-table .dash-status.paid {
    background: #DCFCE7 !important;
    color: #15803D !important;
}
.dash-table .dash-status.paid .status-dot {
    background: #22C55E !important;
}

.dash-table .dash-status.pending {
    background: #FEF3C7 !important;
    color: #B45309 !important;
}
.dash-table .dash-status.pending .status-dot {
    background: #F59E0B !important;
}

.dash-table .dash-status.overdue {
    background: #FEE2E2 !important;
    color: #B91C1C !important;
}
.dash-table .dash-status.overdue .status-dot {
    background: #EF4444 !important;
    animation: pulse-dot 2s ease-in-out infinite;
}

.dash-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 8px;
    border-top: 2px solid #F1F5F9;
    margin-top: 4px;
}

.dash-total-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
}

.dash-total-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.hero-dashboard:hover .dash-total-value {
    transform: scale(1.02);
}

.dash-bottom {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
    margin-top: 8px;
}

.dash-bottom-text {
    font-size: 11px;
    color: #94A3B8;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-dashboard:hover .dash-bottom-text {
    color: #2563EB;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 80px 0 90px;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.section-header h2 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-card .icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    transition: var(--transition);
    color: var(--primary);
}

.feature-card:hover .icon {
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.feature-card h3 .highlight {
    color: var(--primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================================
   METRICS SECTION
   ============================================================ */
.metrics-section {
    padding: 80px 0 90px;
    background: var(--gray-50);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.metric-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.metric-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 8px;
}

.metric-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.metric-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-it-works-section {
    padding: 80px 0 90px;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--white);
    padding: 40px 32px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.step-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================================
   USE CASES SECTION
   ============================================================ */
.use-cases-section {
    padding: 80px 0 90px;
    background: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.use-case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.use-case-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.use-case-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 80px 0 90px;
    background: var(--gray-50);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-item summary {
    padding: 20px 26px;
    font-weight: 600;
    font-size: 17px;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
    line-height: 1;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    background: var(--gray-50);
}

.faq-item .answer {
    padding: 0 26px 22px 26px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 16px;
}

/* ============================================================
   AUTHOR SECTION
   ============================================================ */
.author-section {
    padding: 40px 0 60px;
    background: var(--white);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
    padding: 28px 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.cta-section h2 .highlight {
    background: linear-gradient(135deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 18px;
    color: var(--gray-300);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 99, 235, 0.4);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #E2E8F0;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #2563EB;
    transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 32px 0 28px;
    border-top: 1px solid var(--gray-800);
    font-size: 14px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer .brand-small {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--white);
    font-size: 18px;
}

.footer .brand-small span {
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer .copy {
    color: var(--gray-500);
    font-size: 13px;
}

.footer .copy a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer .copy a:hover {
    color: var(--white);
}

/* ============================================================
   ██ UNIFIED POPUP SYSTEM ██
   All forms (Free Demo / Quote / Exit) share this design
   Theme: primary blue / purple, light grey header, white form
   ============================================================ */

/* ----- OVERLAY ----- */
.modal-overlay,
#exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active,
#exit-popup-overlay.active {
    display: flex;
}

/* ----- CONTAINER ----- */
.modal-container,
#exit-popup-modal {
    background: #FFFFFF;
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    animation: popupSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.modal-overlay.active .modal-container,
#exit-popup-overlay.active #exit-popup-modal {
    transform: scale(1) translateY(0);
}

@keyframes popupSlideUp {
    0% { opacity: 0; transform: translateY(30px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----- CLOSE BUTTON ----- */
.modal-close,
#exit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    color: #0F172A;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.modal-close:hover,
#exit-popup-close:hover {
    background: #2563EB;
    border-color: #2563EB;
    color: #FFFFFF;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* ============================================================
   LIGHT HEADER - THEME MATCHED
   ============================================================ */
.modal-header,
#exit-popup-header {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 32px 32px 22px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

/* Blue / purple shimmer top bar */
.modal-header::before,
#exit-popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #7C3AED, #2563EB);
    background-size: 300% 100%;
    animation: modalShimmer 3s ease-in-out infinite;
}

/* Subtle blue glow orb in header */
.modal-header::after,
#exit-popup-header::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes modalShimmer {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

/* Icon */
.modal-header .modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #DBEAFE;
    border: 2px solid #BFDBFE;
    border-radius: 18px;
    font-size: 30px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Main headline */
.modal-header h2,
#exit-popup-header h2 {
    color: #0F172A;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* Accent text */
.modal-header h2 .gold,
#exit-popup-header h2 .gold {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Subtitle */
.modal-header .subtitle,
#exit-popup-header .sub-headline {
    color: #475569;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.modal-header .subtitle strong,
#exit-popup-header .sub-headline strong,
#exit-popup-header .sub-headline .gold {
    color: #2563EB;
    font-weight: 700;
}

/* Promise text */
.modal-header .promise-text,
#exit-popup-header .promise-text {
    color:  #475569;
    font-size: 13px;
    margin: 0 0 18px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ============================================================
   USP ROW - THEME MATCHED
   ============================================================ */

.modal-header .modal-usp,
#exit-popup-header .usp-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    margin: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}

.modal-header .modal-usp span,
#exit-popup-header .usp-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155 !important;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

/* Green check circle - status colour, kept */
.modal-header .modal-usp .check,
#exit-popup-header .usp-item .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 16px !important;
    background: #22C55E;
    border-radius: 50% !important;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
    align-self: center;
}

.modal-container,
#exit-popup-modal {
    max-height: 92vh;
    overflow: hidden;           /* Container never scrolls */
    display: flex;
    flex-direction: column;
}

.modal-header,
#exit-popup-header {
    flex-shrink: 0;             /* Header keeps its size */
}

.modal-form,
#exit-popup-body {
    flex: 1;
    overflow-y: auto;           /* Only form body scrolls if needed */
    min-height: 0;
}

/* ============================================================
   FORM BODY
   ============================================================ */
.modal-form,
#exit-popup-body {
    padding: 20px 32px 18px;
    background: #FFFFFF;
}

/* ----- FORM GRID (2 COLUMNS) ----- */
.modal-form .form-grid,
#exit-popup-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.modal-form .form-group,
#exit-popup-form .form-group {
    display: flex;
    flex-direction: column;
}

.modal-form .form-group.full-width,
#exit-popup-form .form-group.full-width {
    grid-column: 1 / -1;
}

/* ----- INPUT FIELDS ----- */
.modal-form .form-group input,
#exit-popup-form input[type="text"],
#exit-popup-form input[type="email"],
#exit-popup-form input[type="tel"] {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0F172A;
    background: #FFFFFF;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.modal-form .form-group input:focus,
#exit-popup-form input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: #FFFFFF;
}

.modal-form .form-group input::placeholder,
#exit-popup-form input::placeholder {
    color: #94A3B8;
    font-size: 14px;
}
/* ----- TEXTAREA (quote form only) ----- */
.modal-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0F172A;
    background: #FFFFFF;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.modal-form .form-group textarea:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: #FFFFFF;
}

.modal-form .form-group textarea::placeholder {
    color: #94A3B8;
    font-size: 14px;
}
/* ----- HIDDEN HONEYPOT ----- */
.modal-form .honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.modal-form .honeypot input {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

/* ----- SUBMIT BUTTON ----- */
.modal-form .btn-primary,
#exit-popup-form .btn-submit {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    font-family: inherit;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-form .btn-primary:hover,
#exit-popup-form .btn-submit:hover {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.modal-form .btn-primary:active,
#exit-popup-form .btn-submit:active {
    transform: translateY(0);
}

.modal-form .btn-primary:disabled,
#exit-popup-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ----- TRUST BADGE ----- */
.modal-trust,
#exit-popup-body .footer-note {
    text-align: center;
    padding: 12px 32px 20px;
    font-size: 12px;
    color: #94A3B8;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0 0 20px 20px;
}

.modal-trust .lock,
#exit-popup-body .footer-note .lock {
    color: #2563EB;
    font-size: 14px;
}

/* ----- SUCCESS MESSAGE ----- */
.modal-success,
#exit-popup-success {
    display: none;
    text-align: center;
    padding: 40px 24px;
    background: #FFFFFF;
    border-radius: 0 0 20px 20px;
}

.modal-success .success-icon,
#exit-popup-success .icon {
    font-size: 56px;
    display: block;
    margin-bottom: 14px;
}

.modal-success h3,
#exit-popup-success h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.modal-success p,
#exit-popup-success p {
    font-size: 15px;
    color: #64748B;
    line-height: 1.6;
}

/* ============================================================
   POPUP RESPONSIVE - TABLET
   ============================================================ */
@media (max-width: 768px) {
    .modal-overlay,
    #exit-popup-overlay {
        padding: 12px;
    }

    .modal-container,
    #exit-popup-modal {
        max-height: 94vh;
        max-width: 100%;
        border-radius: 16px;
    }

    .modal-header,
    #exit-popup-header {
        padding: 24px 20px 18px;
        border-radius: 16px 16px 0 0;
    }

    .modal-header .modal-icon {
        width: 52px;
        height: 52px;
        font-size: 26px;
        margin-bottom: 10px;
    }

    .modal-header h2,
    #exit-popup-header h2 {
        font-size: 21px;
    }

    .modal-header .subtitle,
    #exit-popup-header .sub-headline {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .modal-header .promise-text,
    #exit-popup-header .promise-text {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .modal-header .modal-usp,
    #exit-popup-header .usp-row {
        gap: 6px 10px;
        padding-top: 12px;
    }

    .modal-header .modal-usp span,
    #exit-popup-header .usp-item {
        font-size: 10.5px;
        padding: 5px 10px;
    }

    .modal-header .modal-usp .check,
    #exit-popup-header .usp-item .check {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .modal-close,
    #exit-popup-close {
        width: 32px;
        height: 32px;
        font-size: 15px;
        top: 12px;
        right: 12px;
    }

    .modal-form,
    #exit-popup-body {
        padding: 16px 20px 14px;
    }

    .modal-form .form-grid,
    #exit-popup-form .form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 12px;
    }

    .modal-form .form-group input,
    #exit-popup-form input {
        height: 44px;
        font-size: 13.5px;
        padding: 0 14px;
    }

    .modal-form .btn-primary,
    #exit-popup-form .btn-submit {
        height: 48px;
        font-size: 13.5px;
    }

    .modal-trust,
    #exit-popup-body .footer-note {
        padding: 10px 20px 16px;
        font-size: 11px;
    }

    .modal-success,
    #exit-popup-success {
        padding: 32px 20px 26px;
    }

    .modal-success h3,
    #exit-popup-success h3 {
        font-size: 21px;
    }
}

/* ============================================================
   POPUP RESPONSIVE - SMALL MOBILE
   ============================================================ */
@media (max-width: 480px) {
    .modal-overlay,
    #exit-popup-overlay {
        padding: 8px;
    }

    .modal-container,
    #exit-popup-modal {
        border-radius: 14px;
        max-height: 95vh;
    }

    .modal-header,
    #exit-popup-header {
        padding: 20px 16px 14px;
        border-radius: 14px 14px 0 0;
    }

    .modal-header .modal-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
        margin-bottom: 8px;
    }

    .modal-header h2,
    #exit-popup-header h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .modal-header .subtitle,
    #exit-popup-header .sub-headline {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .modal-header .promise-text,
    #exit-popup-header .promise-text {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .modal-header .modal-usp,
    #exit-popup-header .usp-row {
        gap: 5px 8px;
        padding-top: 10px;
    }

    .modal-header .modal-usp span,
    #exit-popup-header .usp-item {
        font-size: 9.5px;
        padding: 4px 8px;
        gap: 4px;
    }

    .modal-header .modal-usp .check,
    #exit-popup-header .usp-item .check {
        width: 12px;
        height: 12px;
        font-size: 7px;
    }

    .modal-close,
    #exit-popup-close {
        width: 30px;
        height: 30px;
        font-size: 14px;
        top: 10px;
        right: 10px;
    }

    .modal-form,
    #exit-popup-body {
        padding: 14px 16px 12px;
    }

    .modal-form .form-grid,
    #exit-popup-form .form-grid {
        gap: 8px;
        margin-bottom: 10px;
    }

    .modal-form .form-group input,
    #exit-popup-form input {
        height: 42px;
        font-size: 13px;
        padding: 0 12px;
    }

    .modal-form .btn-primary,
    #exit-popup-form .btn-submit {
        height: 46px;
        font-size: 12.5px;
    }

    .modal-trust,
    #exit-popup-body .footer-note {
        padding: 8px 16px 14px;
        font-size: 10px;
    }

    .modal-success,
    #exit-popup-success {
        padding: 26px 16px 22px;
    }

    .modal-success h3,
    #exit-popup-success h3 {
        font-size: 19px;
    }

    .modal-success p,
    #exit-popup-success p {
        font-size: 13px;
    }
}
/* ============================================================
   RESPONSIVE - LANDING PAGE (TABLET)
   ============================================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-usp-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-float-badge-1,
    .hero-float-badge-2 {
        display: none;
    }

    .features-grid,
    .metrics-grid,
    .use-cases-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   RESPONSIVE - LANDING PAGE (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
    .header {
        padding: 14px 0;
    }

    .nav a:not(.btn-primary) {
        display: none;
    }

    .nav .btn-primary {
        padding: 8px 18px;
        font-size: 13px;
    }

    .hero {
        padding: 40px 0 56px;
        min-height: auto;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 30px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        white-space: normal;
    }

    .hero-trust {
        gap: 12px 16px;
    }

    .dash-stats {
        grid-template-columns: 1fr auto 1fr;
        gap: 0;
    }

    .dash-stats .dash-stat-divider:nth-child(2),
    .dash-stats .dash-stat-divider:nth-child(4),
    .dash-stats .dash-stat-divider:nth-child(6) {
        display: none;
    }

    .dash-table td {
        padding: 6px 8px;
    }

    .dash-label { font-size: 11px; }
    .dash-value { font-size: 11px; }
    .dash-status { font-size: 10px; padding: 3px 10px 3px 8px; }

    .section-header h2 {
        font-size: 28px;
    }

    .features-section,
    .metrics-section,
    .how-it-works-section,
    .use-cases-section,
    .faq-section {
        padding: 56px 0 64px;
    }

    .features-grid,
    .metrics-grid,
    .use-cases-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card,
    .metric-card,
    .use-case-card {
        padding: 24px 18px;
    }

    .metric-number {
        font-size: 32px;
    }

    .faq-item summary {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-item .answer {
        padding: 0 20px 18px 20px;
        font-size: 15px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .cta-section {
        padding: 56px 0;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0 16px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        white-space: normal;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ============================================================
   RESPONSIVE - LANDING PAGE (SMALL MOBILE)
   ============================================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 40px;
    }

    .dash-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px 0;
    }

    .dash-stats .dash-stat-divider {
        display: none !important;
    }

    .dash-stats .dash-stat-number {
        font-size: 15px;
    }

    .dash-table td {
        padding: 4px 6px;
    }

    .dash-label { font-size: 10px; }
    .dash-value { font-size: 10px; }
    .dash-status { font-size: 9px; padding: 2px 8px 2px 6px; gap: 4px; }

    .dash-total-value { font-size: 15px; }

    .features-grid,
    .metrics-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 16px;
    }

    .metric-number {
        font-size: 28px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 40px;
    }
}
/* ============================================================
   WHAT IS AN SI AGENT SECTION
   ============================================================ */
.definition-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.definition-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.definition-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.definition-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.definition-content h2 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.definition-lead {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 16px;
}

.definition-lead strong {
    color: var(--gray-900);
    font-weight: 700;
}

.definition-detail {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.definition-detail strong {
    color: var(--gray-900);
    font-weight: 600;
}

/* Definition Points */
.definition-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.definition-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: var(--transition);
}

.definition-point:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
    transform: translateX(4px);
}

.definition-point .point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.definition-point strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.definition-point p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
}

/* Definition Visual Card */
.definition-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.definition-card:hover {
    transform: translateY(-6px);
}

.definition-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

.definition-card-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.definition-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arch-layer {
    padding: 14px 18px;
    background: var(--gray-50);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.arch-layer:hover {
    background: var(--primary-light);
    transform: translateX(4px);
}

.arch-layer-final {
    border-left-color: #16A34A;
    background: #F0FDF4;
}

.arch-layer-final:hover {
    background: #DCFCE7;
}

.arch-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    margin-bottom: 2px;

}

.arch-layer-final .arch-label {
    color: #16A34A;
}

.arch-layer p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

.arch-arrow {
    text-align: center;
    color: var(--gray-300);
    font-size: 16px;
    line-height: 1;
    margin: 2px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .definition-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .definition-content h2 {
        font-size: 32px;
    }

    .definition-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .definition-section {
        padding: 56px 0 64px;
    }

    .definition-content h2 {
        font-size: 28px;
    }

    .definition-lead {
        font-size: 17px;
    }

    .definition-detail {
        font-size: 15px;
    }

    .definition-point {
        padding: 12px 14px;
    }

    .definition-point .point-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .definition-content h2 {
        font-size: 24px;
    }

    .definition-lead {
        font-size: 16px;
    }

    .definition-detail {
        font-size: 14px;
    }

    .definition-card-body {
        padding: 18px;
    }

    .arch-layer {
        padding: 12px 14px;
    }
}
/* ============================================================
   STANDARDS SECTION
   ============================================================ */
.standards-section {
    padding: 80px 0 90px;
    background: var(--gray-50);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.standard-item {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.standard-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.standard-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.standard-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}
/* ============================================================
   MOBILE OVERFLOW FIX — Targeted (Desktop untouched)
   ============================================================ */

/* Only apply on mobile — desktop is untouched */
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Cap all sections to viewport on mobile */
    .hero,
    .definition-section,
    .features-section,
    .metrics-section,
    .how-it-works-section,
    .standards-section,
    .use-cases-section,
    .faq-section,
    .author-section,
    .cta-section,
    .footer {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Container cap */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Hide float badges on mobile */
    .hero-float-badge-1,
    .hero-float-badge-2 {
        display: none !important;
    }

    /* Cap glows on mobile */
    .hero-glow-1 {
        width: 300px !important;
        height: 300px !important;
        right: -80px !important;
    }

    .hero-glow-2 {
        width: 280px !important;
        height: 280px !important;
        left: -80px !important;
    }

    /* Force single-column hero */
    .hero-container {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero-content,
    .hero-visual,
    .hero-dashboard-wrapper,
    .hero-dashboard {
        max-width: 100%;
        width: 100%;
    }

    /* Definition grid overflow fix */
    .definition-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px;
        max-width: 100%;
        width: 100%;
    }

    .definition-content,
    .definition-visual,
    .definition-card {
        max-width: 100%;
        width: 100%;
    }

    /* Modals — cap width */
    .modal-container,
    #exit-popup-modal {
        max-width: 100% !important;
    }
}
/* ============================================================
   HERO TRUST — MOBILE: 2 COLUMNS, PERFECTLY ALIGNED
   ============================================================ */
@media (max-width: 768px) {
    .hero-trust {
        display: grid;
        grid-template-columns: 200px 200px;   /* Fixed equal columns */
        gap: 12px 20px;
        justify-content: center;              /* Center the grid itself */
        justify-items: start;                 /* Left-align items in their cells */
        max-width: 100%;
        margin: 0 auto;
        padding-top: 20px;
    }

    .hero-trust-item {
        justify-content: flex-start;
        text-align: left;
        white-space: normal;
        font-size: 13px;
        width: 100%;
        padding-left: 0;
    }

    .hero-trust-item span {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero-trust {
        grid-template-columns: 155px 155px;   /* Equal fixed columns */
        gap: 10px 16px;
        justify-content: center;
        justify-items: start;
    }

    .hero-trust-item {
        font-size: 12px;
        gap: 5px;
        align-items: flex-start;
    }

    .hero-trust-item span {
        font-size: 11px;
        margin-top: 2px;
    }
}
/* ============================================================
   STANDARDS SECTION — MOBILE LAYOUT FIX
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 768px) {
    .standards-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        max-width: 100%;
        overflow-x: hidden;
    }

    .standard-item {
        padding: 22px 18px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .standard-item h3 {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .standard-item p {
        font-size: 13.5px;
        line-height: 1.55;
    }
}

/* Mobile: 1 column — one card per row */
@media (max-width: 480px) {
    .standards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .standard-item {
        padding: 20px 18px;
        text-align: left;
    }

    .standard-item h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .standard-item p {
        font-size: 13px;
        line-height: 1.55;
    }
}