/* Rel8 v2 - Collections & Mortgage Servicing Positioning */
/* New Brand Colors */
:root {
    --deep-navy: #0A0E27;
    --primary-blue: #0066FF;
    --cyan-accent: #00D2FF;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --yellow-accent: #fbd006;

    /* Typography */
    --font-primary: 'Aktiv Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--deep-navy);
    background-color: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Promo Banner */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--cyan-accent);
    color: var(--deep-navy);
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.promo-banner a {
    color: var(--deep-navy);
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.3s;
}

.promo-banner a:hover {
    opacity: 0.8;
}

/* Navigation */
.nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

/* Nav without promo banner */
.nav.no-banner {
    top: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

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

.logo-wordmark {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-agent {
    color: var(--deep-navy);
}

.logo-apex {
    color: var(--cyan-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Dropdown Menu */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.nav-links .dropdown-toggle::after {
    content: '';
    border: solid var(--deep-navy);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-top: -2px;
}

.nav-links .dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    background: var(--white);
    min-width: 240px;
    white-space: nowrap;
    padding: 0.75rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu li {
    list-style: none;
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--deep-navy);
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links .dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.nav-links .dropdown-menu .coming-soon {
    color: rgba(10, 14, 39, 0.4);
    pointer-events: none;
}

.nav-links .dropdown-menu .coming-soon::after {
    content: ' (Coming Soon)';
    font-size: 0.75rem;
    font-style: italic;
}

.nav-cta {
    background: var(--deep-navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-cta.mobile {
    display: none;
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 110px; /* 70px nav + 40px promo banner */
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Dark blue left half */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background:
        radial-gradient(ellipse at 15% 70%, rgba(0, 102, 255, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 30%, rgba(0, 210, 255, 0.2) 0%, transparent 45%),
        var(--deep-navy);
    pointer-events: none;
}

/* Clean dividing edge */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 58%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 102, 255, 0.3) 50%, transparent 90%);
    pointer-events: none;
}

/* Hero without promo banner */
.hero.no-banner {
    padding-top: 70px;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero h1 {
    color: var(--white);
    font-family: Tahoma, Geneva, sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--white);
}

.hero .subhead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 520px;
    color: var(--white);
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Panel Toggle - Hidden on desktop */
.hero-panel-toggle {
    display: none;
}

.hero-panel-close {
    display: none;
}

/* Hero Right Panel */
.hero-right {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: var(--white);
    width: 420px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Hero Right Title */
.hero-right-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-right-description {
    font-size: 1rem;
    color: rgba(10, 14, 39, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.hero-right-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.hero-right-section:last-of-type {
    margin-bottom: 1rem;
}

.hero-right-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.hero-right-agents,
.hero-right-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: rgba(10, 14, 39, 0.7);
}

.hero-right-agents li,
.hero-right-benefits li {
    padding: 0.25rem 0;
    line-height: 1.35;
}

.hero-right-agents li strong {
    color: var(--deep-navy);
    font-weight: 600;
}

/* Hero Right Stats - Horizontal line */
.hero-right-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.right-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0.5rem 0;
}

.right-stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--deep-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.right-stat-label {
    font-size: 0.85rem;
    color: rgba(10, 14, 39, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Compliance Badges */
.compliance-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--light-gray);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    width: 100%;
}

.badge-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
}

.badge-text {
    color: var(--deep-navy);
    font-weight: 500;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--deep-navy);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

/* Secondary Button - Professional exploration CTA */
.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.85rem;
    max-width: 600px;
}

/* Hero Notes */
.hero-pilot-note {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--white);
}

.hero-phone {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--white);
}

.hero-phone a {
    color: inherit;
    text-decoration: none;
}

.hero-phone a:hover {
    text-decoration: underline;
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cyan-accent);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Stats in light sections (not in hero) */
.section-alt .stats-bar {
    background: white;
    border: 1px solid rgba(10, 14, 39, 0.1);
    margin-top: 0;
    gap: 0;
}

.section-alt .stat {
    border-right: 1px solid rgba(10, 14, 39, 0.1);
    padding: 2rem 1.5rem;
}

.section-alt .stat:last-child {
    border-right: none;
}

.section-alt .stat-number {
    color: var(--deep-navy);
}

.section-alt .stat-label {
    color: var(--text-body);
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-alt {
    background: var(--light-gray);
}

/* Subtle section divider */
.section:not(.section-alt):not(.hero):not(.cta-section)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--cyan-accent));
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--deep-navy);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .subtitle {
    font-size: 1.25rem;
    color: rgba(10, 14, 39, 0.65);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* How It Works Grid - 2x2 layout */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(10, 14, 39, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.12);
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.2);
}

.card h3 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 210, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

/* Why Grid - Enterprise border divider design */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
}

.why-grid-item {
    padding: 2.5rem;
    position: relative;
}

/* Vertical divider line */
.why-grid-item:nth-child(1),
.why-grid-item:nth-child(3) {
    border-right: 1px solid rgba(10, 14, 39, 0.12);
}

/* Horizontal divider line */
.why-grid-item:nth-child(1),
.why-grid-item:nth-child(2) {
    border-bottom: 1px solid rgba(10, 14, 39, 0.12);
}

.why-grid-item h3 {
    color: var(--deep-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-grid-item p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-grid-item:nth-child(1),
    .why-grid-item:nth-child(3) {
        border-right: none;
    }

    .why-grid-item:nth-child(1),
    .why-grid-item:nth-child(2),
    .why-grid-item:nth-child(3) {
        border-bottom: 1px solid rgba(10, 14, 39, 0.12);
    }

    .why-grid-item:nth-child(4) {
        border-bottom: none;
    }
}

/* Industry Cards - Image-based design */
.industry-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(10, 14, 39, 0.08);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(10, 14, 39, 0.06);
}

.industry-card:hover {
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    transform: translateY(-8px);
}

.industry-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.industry-card-content {
    padding: 2rem;
    text-align: left;
}

.industry-card h3 {
    color: var(--deep-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.industry-card p {
    color: rgba(10, 14, 39, 0.6);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.industry-card .btn-learn-more {
    display: inline-block;
    background: transparent;
    color: var(--deep-navy);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: 2px solid var(--cyan-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.industry-card .btn-learn-more:hover {
    background: var(--cyan-accent);
    color: var(--deep-navy);
    transform: translateY(-2px);
}

/* Pain Points & Solutions */
.pain-point {
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid #FF6B6B;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.pain-point:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.solution-point {
    padding: 1.5rem;
    background: var(--white);
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* Case Study */
/* Case Study - Enterprise Style */
.case-study-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-narrative {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.case-study-block h3 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-block p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
}

.case-study-metrics h3 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(10, 14, 39, 0.1);
}

.metric-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(10, 14, 39, 0.1);
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.metric-item:nth-child(3n) {
    border-right: none;
}

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

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.4;
}

.case-study-quote {
    margin: 3rem 0 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(10, 14, 39, 0.1);
}

.case-study-quote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--deep-navy);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.case-study-quote cite {
    font-size: 0.95rem;
    color: var(--text-body);
    font-style: normal;
}

/* Guarantee Section - Enterprise Style */
.guarantee-section {
    background: var(--deep-navy);
    color: var(--white);
}

.guarantee-section .section-header h2 {
    color: var(--white);
}

.guarantee-section .section-header .subtitle {
    color: var(--white);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.guarantee-item:last-child {
    border-right: none;
}

.guarantee-item h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.guarantee-item p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.guarantee-footnote {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--white);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .guarantee-item:last-child {
        border-bottom: none;
    }
}

/* Compliance Grid - 2x2 Enterprise Style */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 1000px;
    margin: 0 auto;
}

.compliance-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.compliance-item:nth-child(2n) {
    border-right: none;
}

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

.compliance-item h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.compliance-item p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .compliance-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .compliance-item:last-child {
        border-bottom: none;
    }
}

/* FAQ Grid - Enterprise 2x3 layout with border dividers */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(10, 14, 39, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(10, 14, 39, 0.1);
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

.faq-item:nth-child(2n) {
    border-right: none;
}

.faq-item:nth-child(n+5) {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-item p {
    color: rgba(10, 14, 39, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        border-right: none;
        border-bottom: 1px solid rgba(10, 14, 39, 0.1);
    }

    .faq-item:last-child {
        border-bottom: none;
    }
}

/* Process Grid - Enterprise 4-column layout with border dividers */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(10, 14, 39, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.process-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(10, 14, 39, 0.1);
    text-align: center;
}

.process-item:last-child {
    border-right: none;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--deep-navy);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-item h3 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-item p {
    color: rgba(10, 14, 39, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Process grid responsive moved to 768px mobile breakpoint */

/* Use Cases Grid - Enterprise 3-column layout with border dividers */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(10, 14, 39, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.use-case-item {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(10, 14, 39, 0.1);
    border-bottom: 1px solid rgba(10, 14, 39, 0.1);
}

/* Every 3rd item - no right border (end of row) */
.use-case-item:nth-child(3n) {
    border-right: none;
}

/* Last row items - no bottom border */
.use-case-item:nth-child(n+4) {
    border-bottom: none;
}

.use-case-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.use-case-item h3 {
    color: var(--deep-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.use-case-item p {
    color: rgba(10, 14, 39, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .use-case-item {
        border-right: none;
        border-bottom: 1px solid rgba(10, 14, 39, 0.1);
    }

    .use-case-item:last-child {
        border-bottom: none;
    }
}

/* Highlight Box */
.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-left: 3px solid var(--deep-navy);
}

.highlight-box p {
    margin: 0;
    font-weight: 600;
    color: var(--deep-navy);
}

/* Legacy case study styles for other pages */
.case-study {
    background: var(--white);
    padding: 3rem;
    border: 1px solid rgba(10, 14, 39, 0.1);
}

.case-study-header {
    margin-bottom: 2rem;
}

.case-study-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.case-study-results-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.result-metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.result-label {
    font-size: 0.9rem;
    color: rgba(10, 14, 39, 0.7);
    margin-top: 0.5rem;
}

.testimonial {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(10, 14, 39, 0.8);
    padding: 2rem;
    background: var(--light-gray);
    border-left: 4px solid var(--cyan-accent);
    margin: 2rem 0;
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--deep-navy);
    margin-top: 1rem;
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.feature-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* CTA Section */
.cta-section {
    background: var(--deep-navy);
    color: var(--white);
    padding: 7rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section .subhead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .cta-button {
    position: relative;
    z-index: 1;
}

.cta-button-white {
    background: var(--white);
    color: var(--deep-navy);
}

.cta-button-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-button-dark {
    background: var(--deep-navy);
    color: var(--white);
}

.cta-button-dark:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.cta-email {
    margin-top: 2rem;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--deep-navy);
    color: var(--white);
}

.footer-main {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    line-height: 1.6;
}

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

.footer-bottom {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s;
    line-height: 1.6;
}

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

.footer-aws-advanced-partner-img {
    max-width: 120px;
    height: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--deep-navy);
    transition: all 0.3s;
}

.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(5px, -5px);
}

/* Tablet breakpoint removed - desktop layout persists on smaller laptops */

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Promo Banner Mobile */
    .promo-banner {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .nav {
        top: 36px;
    }

    .hero {
        padding-top: 100px; /* 64px nav + 36px promo banner */
        min-height: 100svh; /* Use svh for mobile browsers with address bar */
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        letter-spacing: -0.01em;
        line-height: 1.25;
    }

    h3 {
        font-size: 1.35rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header .subtitle {
        font-size: 1rem;
    }

    .cta-section {
        padding: 4rem 1rem;
    }

    .cta-button {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 1.5rem;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-wordmark {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(10, 14, 39, 0.1);
    }

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

    .nav-links li {
        border-bottom: 1px solid rgba(10, 14, 39, 0.08);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0.5rem;
    }

    .nav-cta:not(.mobile) {
        display: none;
    }

    .nav-cta.mobile {
        display: block;
        margin-top: 1rem;
        text-align: center;
    }

    /* Hero Mobile - Full dark blue on mobile */
    .hero {
        background: var(--deep-navy);
    }

    .hero::before {
        width: 100%;
    }

    .hero::after {
        display: none;
    }

    .hero-container {
        padding: 0 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

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

    /* Hero Panel Toggle - Mobile slide-out */
    .hero-panel-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 0;
        top: 140px;
        width: 36px;
        height: 48px;
        background: var(--white);
        border: none;
        border-radius: 8px 0 0 8px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        z-index: 100;
        color: var(--deep-navy);
        transition: all 0.3s;
    }

    .hero-panel-toggle:active {
        background: var(--light-gray);
    }

    .hero-panel-toggle.active svg {
        transform: rotate(180deg);
    }

    .hero-panel-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 6rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        background: var(--light-gray);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: var(--deep-navy);
        transition: all 0.2s;
    }

    .hero-panel-close:hover {
        background: rgba(10, 14, 39, 0.1);
    }

    .hero-right {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: -100%;
        top: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: 7rem 1.5rem 2rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 99;
        overflow-y: auto;
        transition: right 0.3s ease;
        transform: none;
    }

    .hero-right.active {
        right: 0;
    }

    .hero-right-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .right-stat {
        text-align: left;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stat {
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

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

    .hero-ctas .cta-button,
    .hero-ctas .cta-button-secondary {
        width: 100%;
        text-align: center;
    }

    /* Trust Bar Mobile - Stack vertically */
    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.8rem;
        max-width: 100%;
    }

    .trust-bar span:nth-child(even) {
        display: none; /* Hide separator pipes */
    }

    /* Two Column Layout */
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stats Bar */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Cards Grid */
    .cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .industry-card-image {
        height: 200px;
    }

    .industry-card-content {
        padding: 1.5rem;
    }

    .industry-card h3 {
        font-size: 1.35rem;
    }

    .industry-card p {
        font-size: 0.95rem;
    }

    .industry-card .btn-learn-more {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* How It Works Grid */
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Process Grid - Single column on mobile */
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        border-right: none;
        border-bottom: 1px solid rgba(10, 14, 39, 0.1);
    }

    .process-item:last-child {
        border-bottom: none;
    }

    /* Case Study - Enterprise Style */
    .case-study-narrative {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .metric-item:nth-child(3n) {
        border-right: 1px solid rgba(10, 14, 39, 0.1);
    }

    .metric-item:nth-child(2n) {
        border-right: none;
    }

    .metric-item:nth-child(n+5) {
        border-bottom: none;
    }

    .metric-item:nth-child(4) {
        border-bottom: 1px solid rgba(10, 14, 39, 0.1);
    }

    .metric-value {
        font-size: 2rem;
    }

    .case-study-quote p {
        font-size: 1.1rem;
    }

    /* Legacy Case Study */
    .case-study {
        padding: 1.5rem;
    }

    .case-study-results {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .case-study-results-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .result-metric {
        padding: 1rem;
    }

    .result-number {
        font-size: 1.75rem;
    }

    .result-label {
        font-size: 0.75rem;
    }

    .testimonial {
        font-size: 1rem;
        padding: 1.25rem;
    }

    /* Pain Points / Solutions */
    .pain-point,
    .solution-point {
        padding: 1rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-main {
        padding: 2.5rem 1rem 2rem;
    }

    .footer-column {
        gap: 0.5rem;
    }

    .footer-heading {
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-links {
        margin-left: 0;
    }

    /* Button variants on mobile */
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    /* Feature List */
    .feature-list li {
        padding: 0.5rem 0 0.5rem 1.75rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 90px;
    }

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

    .case-study-results,
    .case-study-results-4 {
        grid-template-columns: 1fr;
    }

    .result-number {
        font-size: 2rem;
    }

    .result-label {
        font-size: 0.8rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section .subhead {
        font-size: 0.95rem;
    }
}
