/* ========================================
   FINTWIN PAY - Elevated Stylesheet
   "Precision Finance" Design Language
   ======================================== */

/* CSS Variables */
:root {
    --brand-blue: #3B75EF;
    --brand-blue-dark: #2563EB;
    --brand-blue-light: #6B9CFF;
    --brand-dark: #0F141A;
    --brand-dark-mid: #161D27;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --glow-blue: rgba(59, 117, 239, 0.15);
    --glow-blue-strong: rgba(59, 117, 239, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.text-brand-blue { color: var(--brand-blue); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-light { background-color: var(--bg-light); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.625rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 117, 239, 0.3), 0 0 0 0 rgba(59, 117, 239, 0);
}

.btn-primary:hover {
    background-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 117, 239, 0.35), 0 0 0 4px rgba(59, 117, 239, 0.1);
}

.btn-dark {
    background-color: var(--brand-dark);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline::after { display: none; }

.btn-outline:hover {
    background-color: var(--bg-light);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

@media (min-width: 640px) {
    .header-inner { height: 5rem; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo svg {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(-5deg) scale(1.05);
}

@media (min-width: 640px) {
    .logo svg {
        width: 2.5rem;
        height: 2.5rem;
    }
    .logo { gap: 0.75rem; }
}

.logo-text {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .logo-text { font-size: 1.25rem; }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-desktop a:hover {
    color: var(--brand-blue);
}

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

/* Header Actions */
.header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-actions { display: flex; }
}

.header-actions .login-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.header-actions .login-link:hover {
    color: var(--brand-blue);
}

/* Mobile Menu Button */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .burger-btn { display: none; }
}

.burger-line {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 20rem;
    background: white;
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu.open {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .mobile-menu { display: none; }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-secondary);
}

.mobile-menu-nav {
    padding: 1.5rem 1rem;
}

.mobile-menu-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.mobile-menu-footer .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.mobile-menu-footer .btn:last-child {
    margin-bottom: 0;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .menu-overlay { display: none; }
}

/* Main Content */
main {
    padding-top: 4rem;
}

@media (min-width: 640px) {
    main { padding-top: 5rem; }
}

/* Section Styles */
.section {
    padding: 4rem 0;
    position: relative;
}

@media (min-width: 640px) {
    .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
    .section { padding: 6rem 0; }
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .section-header p { font-size: 1.125rem; }
}

/* ========================================
   HERO SECTION — Dark Atmospheric
   ======================================== */
.hero {
    background: var(--brand-dark);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hero { padding: 5rem 0 4rem; }
}

@media (min-width: 1024px) {
    .hero { padding: 6rem 0 5rem; }
}

/* Animated gradient mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(59, 117, 239, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 30%, rgba(59, 117, 239, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 60% 80%, rgba(107, 156, 255, 0.06) 0%, transparent 70%);
    animation: heroMesh 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroMesh {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, -1%) rotate(1deg); }
    50% { transform: translate(-1%, 2%) rotate(-0.5deg); }
    75% { transform: translate(1%, -2%) rotate(0.5deg); }
}

/* Subtle grid overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 117, 239, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 117, 239, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

/* Hero entrance animation */
.hero-content h1,
.hero-content .hero-description,
.hero-content .hero-buttons,
.hero-content .hero-trust {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .hero-description { animation-delay: 0.15s; }
.hero-content .hero-buttons { animation-delay: 0.3s; }
.hero-content .hero-trust { animation-delay: 0.45s; }

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

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 .text-brand-blue {
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
    .hero-description { margin-left: 0; margin-right: auto; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-buttons { justify-content: flex-start; }
}

.hero .btn-dark {
    background: white;
    color: var(--brand-dark);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.hero .btn-dark:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.hero .btn-outline {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

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

/* Hero Trust Strip */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
    .hero-trust {
        justify-content: flex-start;
    }
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.01em;
}

.hero-trust-item svg {
    color: rgba(59, 117, 239, 0.8);
    flex-shrink: 0;
}

.hero-trust-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Hero Visual — Floating Dashboard Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    opacity: 0;
    animation: heroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes heroCardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (min-width: 640px) {
    .hero-visual {
        min-height: 400px;
    }
}

/* Glow behind card */
.hero-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-blue-strong) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 300px;
    width: 100%;
    animation: cardFloat 6s ease-in-out infinite;
    overflow: hidden;
    min-height: 340px;
}

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

@media (min-width: 640px) {
    .hero-card {
        border-radius: 1.25rem;
        max-width: 320px;
    }
}

.dash-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .dash-screen { padding: 1.5rem; }
}

.dash-screen.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dash-screen.exiting {
    opacity: 0;
    transform: translateY(-12px);
}

/* Shared label */
.dash-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.875rem;
}

/* Exchange fields */
.dash-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    position: relative;
}

.dash-field-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-field-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    min-height: 1.5rem;
}

.dash-mono {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.dash-field-tag {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
}

/* Typing cursor */
.dash-typing {
    display: inline;
}

.dash-cursor {
    display: inline-block;
    width: 2px;
    height: 1.125rem;
    background: var(--brand-blue-light);
    margin-left: 1px;
    animation: blink 0.7s steps(1) infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Swap icon */
.dash-swap {
    display: flex;
    justify-content: center;
    padding: 0.375rem 0;
    color: rgba(255, 255, 255, 0.25);
}

/* Rate text */
.dash-rate {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    margin: 0.5rem 0;
}

/* Dashboard buttons */
.dash-btn {
    width: 100%;
    padding: 0.625rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    border: none;
    cursor: default;
    text-align: center;
    transition: all 0.2s ease;
}

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

/* Screen 2: Send Money */
.dash-recipient {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    padding: 0.625rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
}

.dash-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f472b6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.dash-recipient-info {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.dash-recipient-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: white;
}

.dash-recipient-country {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
}

.dash-amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-amount-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.dash-amount-value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

.dash-amount-value small {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 0.125rem;
}

/* Progress bar */
.dash-progress-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin: 0.875rem 0 0.5rem;
    overflow: hidden;
}

.dash-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--brand-blue);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.dash-status-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.dash-status-label.sent {
    color: var(--success);
}

/* Screen 3: Complete */
.dash-screen[data-screen="2"] {
    justify-content: center;
    align-items: center;
}

.dash-check-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.dash-checkmark {
    width: 3rem;
    height: 3rem;
}

.dash-check-circle {
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.dash-check-tick {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
}

.dash-screen.active .dash-check-circle {
    animation: drawCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.dash-screen.active .dash-check-tick {
    animation: drawTick 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawTick {
    to { stroke-dashoffset: 0; }
}

.dash-complete-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.dash-complete-amount {
    font-size: 1.375rem;
    font-weight: 800;
    color: white;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.dash-complete-detail {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.6;
}

.dash-complete-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem auto 0;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    width: fit-content;
}

/* Indicator dots */
.dash-dots {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    z-index: 2;
}

.dash-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dash-dot.active {
    background: var(--brand-blue);
    box-shadow: 0 0 6px rgba(59, 117, 239, 0.5);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

/* Featured Service — Full-width horizontal card */
.service-featured {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #2563EB 50%, #1d4ed8 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-featured::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.service-featured::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 640px) {
    .service-featured {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .service-featured {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3rem;
        align-items: center;
    }
}

.service-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(59, 117, 239, 0.35);
}

.service-featured-content {
    position: relative;
    z-index: 1;
}

.service-featured-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .service-featured-content h3 {
        font-size: 1.75rem;
    }
}

.service-featured-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-featured-btn {
    background: white;
    color: var(--brand-blue);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.service-featured-btn::after { display: none; }

.service-featured-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Featured Highlights — right column */
.service-featured-highlights {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.service-highlight:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.service-highlight > svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.service-highlight div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.service-highlight strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
}

.service-highlight span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

/* Secondary Services Row */
.services-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .services-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Service Cards */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
    .service-card {
        padding: 1.75rem;
    }
}

.service-card:hover {
    box-shadow: 0 15px 50px rgba(59, 117, 239, 0.1);
    transform: translateY(-4px);
    border-color: rgba(59, 117, 239, 0.2);
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
    .service-card h3 {
        font-size: 1.125rem;
    }
}

.service-card p {
    font-size: 0.8125rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .service-card p { font-size: 0.875rem; }
}


/* ========================================
   HOW IT WORKS — Connected Steps
   ======================================== */
.steps-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Connecting line between steps (desktop only) */
@media (min-width: 768px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 3rem;
        left: calc(16.67% + 1.5rem);
        right: calc(16.67% + 1.5rem);
        height: 2px;
        background: linear-gradient(90deg, var(--brand-blue), var(--border-light) 50%, var(--brand-blue));
        z-index: 0;
    }
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--brand-blue);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(59, 117, 239, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 117, 239, 0.4);
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========================================
   AUDIENCE SECTION
   ======================================== */
.audience-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .audience-card {
        padding: 2.5rem;
    }
}

.audience-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.audience-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.audience-card h3 svg {
    width: 2rem;
    height: 2rem;
    color: var(--brand-blue);
    flex-shrink: 0;
    background: rgba(59, 117, 239, 0.08);
    padding: 0.375rem;
    border-radius: 0.5rem;
}

.audience-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.audience-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-gray);
}

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

.audience-card li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

.audience-card .btn {
    width: 100%;
}

/* ========================================
   WHY CHOOSE US — Features Grid
   ======================================== */
.features-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    box-shadow: 0 15px 50px rgba(59, 117, 239, 0.08);
    transform: translateY(-4px);
    border-color: rgba(59, 117, 239, 0.15);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(59, 117, 239, 0.08);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(59, 117, 239, 0.14);
    transform: scale(1.08);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--brand-blue);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========================================
   COMPLIANCE SECTION
   ======================================== */

/* Team Experience Story Block */
.compliance-story {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .compliance-story {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
}

.compliance-story-text h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .compliance-story-text h3 {
        font-size: 1.5rem;
    }
}

.compliance-story-text p {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.compliance-story-text p:last-child {
    margin-bottom: 0;
}

.compliance-story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.compliance-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.compliance-stat:hover {
    box-shadow: 0 8px 25px rgba(59, 117, 239, 0.08);
    transform: translateY(-2px);
}

.compliance-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.compliance-stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Tools Label */
.compliance-tools-label {
    text-align: center;
    margin-bottom: 1.5rem;
}

.compliance-tools-label span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.compliance-tools-label span::before,
.compliance-tools-label span::after {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--border-medium);
}

@media (min-width: 640px) {
    .compliance-tools-label span::before,
    .compliance-tools-label span::after {
        width: 4rem;
    }
}

.compliance-tools {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .compliance-tools {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .compliance-tools {
        grid-template-columns: repeat(4, 1fr);
    }
}

.compliance-tool {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.compliance-tool:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.compliance-tool-logo {
    height: 4.5rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: saturate(0.9);
    transition: filter 0.3s ease;
}

.compliance-tool:hover .compliance-tool-logo {
    filter: saturate(1.1);
}

.compliance-tool p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   CTA SECTION — Elevated
   ======================================== */
.cta {
    background: var(--brand-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 160%;
    height: 200%;
    background:
        radial-gradient(ellipse 500px 400px at 30% 50%, rgba(59, 117, 239, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 70% 50%, rgba(59, 117, 239, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons { flex-direction: row; }
}

.cta .btn-primary {
    background: var(--brand-blue);
    box-shadow: 0 4px 20px rgba(59, 117, 239, 0.35);
}

.cta .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(59, 117, 239, 0.45);
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta .btn-outline::after { display: none; }

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0 1.5rem;
}

@media (min-width: 640px) {
    .footer { padding: 4rem 0 2rem; }
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand p {
    font-size: 0.875rem;
    margin: 1rem 0;
    max-width: 20rem;
    line-height: 1.6;
}

.footer-contact {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-contact strong {
    color: var(--text-primary);
}

.footer-contact a {
    color: var(--brand-blue);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-column h4 {
    font-size: 0.75rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

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

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

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

.footer-bottom strong {
    color: var(--text-secondary);
}

.footer-disclaimer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.footer-disclaimer p {
    font-size: 0.6875rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ========================================
   POLICY PAGES
   ======================================== */
.policy-page {
    padding: 2rem 0 4rem;
}

@media (min-width: 640px) {
    .policy-page { padding: 3rem 0 5rem; }
}

.policy-content {
    max-width: 48rem;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 0.5rem;
}

.policy-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.policy-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.policy-content a {
    color: var(--brand-blue);
}

.policy-content a:hover {
    text-decoration: underline;
}


