/* ==========================================================================
   Scan & Review - Core Styles (Shared across all pages)
   Primary Color: #097aa6
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary: #097aa6;
    --primary-dark: #065a7a;
    --primary-light: #0a8fc2;
    --accent-light: #e8f4f8;
    --accent-lighter: #f5fafc;

    --white: #ffffff;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;

    /* Success/Warning */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --gap: 24px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 3px;
    --radius-lg: 4px;
    --radius-xl: 6px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 16px;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(9, 122, 166, 0.08);
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin: 0 auto 80px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border-color: var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header.scrolled {
    background: var(--white);
    border-bottom: 1px solid #dadada;
}

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

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

.logo-image {
    height: 55px;
    width: auto;
    display: block;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

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

.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Page Hero (Shared for inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--accent-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(9, 122, 166, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(9, 122, 166, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

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

.page-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.page-hero .lead {
    max-width: 700px;
    margin: 0 auto 32px;
}

/* --------------------------------------------------------------------------
   Cards (Shared base styles)
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px -8px rgba(9, 122, 166, 0.15);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Forms (Shared)
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--dark);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(9, 122, 166, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

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

/* --------------------------------------------------------------------------
   CTA Section (Shared)
   -------------------------------------------------------------------------- */
.cta {
    background: #097aa6;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.cta>.container>.cta-content>p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 3px;
    background: var(--white);
    color: #065a7a;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #044a65;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary i {
    font-size: 14px;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 3px;
    background: rgb(12 124 167);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: rgba(0, 40, 60, 0.75);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-cta-secondary i {
    font-size: 14px;
}

.cta-trust-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Footer - Premium Classic Design
   -------------------------------------------------------------------------- */
.footer {
    background: #1D232F;
    padding: 0 0 0 0;
    color: #a0aec0;
    position: relative;
}

/* Decorative Top Accent Line */
.footer-top-accent {
    height: 4px;
    background: linear-gradient(90deg,
            var(--primary) 0%,
            #0fb4e3 25%,
            var(--primary) 50%,
            #065a7a 75%,
            var(--primary) 100%);
    background-size: 200% 100%;
    animation: footerGradientShift 8s ease-in-out infinite;
}

@keyframes footerGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Main Footer Area */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
    padding: 70px 0 50px;
}

/* Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    margin-left: -10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-logo .logo-image {
    height: 52px;
    width: auto;
}

.footer-tagline {
    font-size: 0.938rem;
    line-height: 1.75;
    color: #8b95a5;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-social .social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4cdd8;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -5px rgba(9, 122, 166, 0.4);
}

/* Trust Badges */
.footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #8b95a5;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.trust-badge i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Navigation Columns Wrapper */
.footer-nav-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Footer Column */
.footer-column {
    /* Individual column styling */
}

.footer-heading {
    color: var(--white);
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #8b95a5;
    font-size: 0.938rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-links a span {
    position: relative;
}

.footer-links a span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.footer-links a:hover span::after {
    width: 100%;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 15%,
            rgba(255, 255, 255, 0.1) 85%,
            transparent 100%);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom .copyright {
    font-size: 0.875rem;
    color: #6b7585;
    margin: 0;
}

.footer-bottom .copyright strong {
    color: #9aa3b0;
    font-weight: 600;
}

.footer-bottom .company-info {
    font-size: 0.813rem;
    color: #5a6370;
    margin: 0;
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal-links li {
    display: flex;
    align-items: center;
}

.footer-legal-links li.divider {
    color: #4a5260;
    padding: 0 14px;
    font-size: 0.75rem;
}

.footer-legal-links a {
    font-size: 0.875rem;
    color: #6b7585;
    text-decoration: none;
    transition: color 0.25s ease;
    padding: 4px 0;
}

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

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   Responsive Design (Core)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

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

    .footer-nav-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

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

    .page-hero {
        padding: 140px 0 60px;
    }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

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

    .nav-links li {
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav .btn {
        display: none;
    }

    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0 40px;
    }

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

    .footer-column:last-child {
        grid-column: span 2;
    }

    .footer-trust {
        justify-content: flex-start;
    }

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

    .footer-bottom-left {
        flex-direction: column;
        gap: 4px;
    }

    .footer-bottom .company-info {
        border-left: none;
        padding-left: 0;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta {
        padding: 60px 0;
    }
}

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}