/* ==========================================================================
   SAN NETWORK — PREMIUM ENTERPRISE STYLESHEET
   Refined, Clean, Elite & Trust-worthy Design
   Typography: DM Sans (headings) + Inter (body)
   Palette: Pure White base · Soft neutral sections · #1570ef blue accent
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* Background Layers */
    --bg-base:         #ffffff;
    --bg-subtle:       #f8f9fb;
    --bg-muted:        #f1f3f7;
    --bg-card:         #ffffff;

    /* Borders */
    --border:          #e4e7ec;
    --border-light:    #f0f2f6;
    --border-hover:    #c8cdd8;
    --border-focus:    #1570ef;

    /* Primary — SAN Blue */
    --primary:         #1570ef;
    --primary-hover:   #1155cc;
    --primary-light:   #eff6ff;
    --primary-mid:     #dbeafe;
    --primary-border:  #bfdbfe;
    --primary-glow:    rgba(21, 112, 239, 0.12);

    /* Accent — Emerald Green (live/active indicators) */
    --accent-green:        #059669;
    --accent-green-light:  #ecfdf5;
    --accent-green-border: #a7f3d0;

    /* Accent — Amber (stats highlights, premium feel) */
    --accent-amber:        #d97706;
    --accent-amber-light:  #fffbeb;

    /* Text Hierarchy */
    --text-primary:    #0f172a;
    --text-secondary:  #475569;
    --text-muted:      #64748b;
    --text-placeholder:#94a3b8;

    /* Border Radii */
    --radius-xs:   6px;
    --radius-sm:   10px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* Elevation Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.10), 0 6px 16px -4px rgba(15, 23, 42, 0.05);
    --shadow-blue: 0 8px 24px rgba(21, 112, 239, 0.20);

    /* Typography */
    --font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition:       all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow:  all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & GLOBAL
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

p {
    font-family: var(--font-body);
}

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

.text-gradient {
    background: linear-gradient(135deg, #1570ef 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Labels */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: var(--primary-light);
    border: 1px solid var(--primary-mid);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.80rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

.section-badge i {
    font-size: 0.75rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   SCROLL FADE-UP ANIMATION
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }
.fade-up-delay-4 { transition-delay: 0.32s; }
.fade-up-delay-5 { transition-delay: 0.40s; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-xs), 0 0 0 0 var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-xs);
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.07);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.logo-img-wrapper {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-brand {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

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

.logo-subtitle {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* Nav Links */
nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.90rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    position: relative;
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-light);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--border-hover);
}

/* Header Actions */
.header-actions .btn-primary {
    font-size: 0.86rem;
    padding: 9px 18px;
    border-radius: var(--radius-xs);
}

/* ==========================================================================
   PAGE HERO BANNER (INNER PAGES)
   ========================================================================== */
.page-hero {
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    padding: 76px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(21, 112, 239, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   HOME HERO SECTION
   ========================================================================== */
.hero {
    padding: 100px 0 88px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Decorative radial glow — top right */
.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21, 112, 239, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative radial glow — bottom left */
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.04) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* Trust Metrics */
.hero-trust-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.03em;
}

.metric-value span.highlight {
    color: var(--primary);
}

.metric-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hero Card Preview */
.hero-card-preview {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Subtle top accent line */
.hero-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-radius: 2px;
}

.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--accent-green-light);
    border: 1px solid var(--accent-green-border);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.preview-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.08); }
}

.preview-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preview-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: var(--transition);
}

.preview-list-item:hover {
    border-color: var(--primary-border);
    background: var(--primary-light);
}

.preview-list-item span.title {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-list-item span.status {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.80rem;
    background: var(--accent-green-light);
    border: 1px solid var(--accent-green-border);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   INDUSTRIES STRIP
   ========================================================================== */
.trust-banner {
    padding: 32px 0;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.industry-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.industry-pill:hover {
    border-color: var(--primary-border);
    color: var(--primary);
    background: var(--primary-light);
}

.industry-pill i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ==========================================================================
   SOLUTIONS GRID & CARDS
   ========================================================================== */
.section-solutions {
    padding: 100px 0;
    background: #ffffff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.solution-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #60a5fa);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    border: 1px solid var(--primary-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 22px;
    transition: var(--transition);
}

.solution-card:hover .solution-icon-wrapper {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.solution-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.68;
    margin-bottom: 20px;
    flex-grow: 1;
}

.solution-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 24px;
}

.solution-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.solution-feature-list li i {
    color: var(--accent-green);
    font-size: 0.82rem;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.tech-pill {
    font-size: 0.74rem;
    padding: 3px 9px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.solution-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.91rem;
    transition: var(--transition);
    margin-top: auto;
}

.solution-cta-link:hover {
    color: var(--primary-hover);
    gap: 10px;
}

/* ==========================================================================
   ERP SHOWCASE (TABS)
   ========================================================================== */
.section-showcase {
    padding: 100px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.90rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: var(--shadow-xs);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.tab-pane {
    display: none;
    animation: fadeUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-pane.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.showcase-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.showcase-info h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.showcase-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.93rem;
    line-height: 1.5;
}

.showcase-features li i {
    color: var(--accent-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.showcase-mockup {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.mockup-tile {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 16px;
    transition: var(--transition);
}

.mockup-tile:hover {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-xs);
}

.mockup-tile-title {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    font-weight: 600;
}

.mockup-tile-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   TRUST GUARANTEE GRID
   ========================================================================== */
.section-trust {
    padding: 100px 0;
    background: #ffffff;
}

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

.trust-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.trust-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.trust-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    border: 1px solid var(--primary-mid);
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.trust-body h4 {
    font-size: 1.08rem;
    margin-bottom: 7px;
    font-weight: 700;
}

.trust-body p {
    color: var(--text-secondary);
    font-size: 0.89rem;
    line-height: 1.65;
}

/* ==========================================================================
   ESTIMATOR COMPONENT
   ========================================================================== */
.section-estimator {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.estimator-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
    max-width: 860px;
    margin: 0 auto;
}

.calc-step {
    margin-bottom: 36px;
}

.calc-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.calc-step-number {
    width: 26px;
    height: 26px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.calc-option {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
    user-select: none;
}

.calc-option:hover {
    border-color: var(--primary-border);
    background: var(--primary-light);
}

.calc-option.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 0 0 1.5px var(--primary);
}

.calc-option-name {
    font-weight: 600;
    font-size: 0.90rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calc-option-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.calc-summary-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.calc-estimate-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 4px;
}

.calc-estimate-time {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.section-process {
    padding: 100px 0;
    background: #ffffff;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.process-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--border);
    position: absolute;
    top: 14px;
    right: 16px;
    line-height: 1;
    transition: var(--transition);
}

.process-card:hover .process-step-num {
    color: var(--primary-mid);
}

.process-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: var(--shadow-blue);
}

.process-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.87rem;
    line-height: 1.65;
}

/* ==========================================================================
   CASE STUDIES & TESTIMONIALS
   ========================================================================== */
.section-cases {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 26px;
}

.case-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.case-category {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 10px;
}

.case-card h3 {
    font-size: 1.28rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.case-card p {
    color: var(--text-secondary);
    font-size: 0.91rem;
    margin-bottom: 24px;
    line-height: 1.65;
}

.case-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    margin-top: auto;
    border: 1px solid var(--border);
}

.case-metric-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: -0.02em;
}

.case-metric-label {
    font-size: 0.70rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.section-testimonials {
    padding: 100px 0;
    background: #ffffff;
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stars-row {
    color: #f59e0b;
    font-size: 0.88rem;
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-quote {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.author-details h5 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-weight: 700;
}

.author-details p {
    font-size: 0.80rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.section-faq {
    padding: 100px 0;
    background: var(--bg-subtle);
}

.faq-accordion {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    padding: 0 24px 22px;
    max-height: 380px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.section-contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-panel h2 {
    font-size: 2.3rem;
    margin-bottom: 14px;
    font-weight: 800;
}

.contact-info-panel > p {
    color: var(--text-secondary);
    font-size: 1.04rem;
    margin-bottom: 34px;
    line-height: 1.7;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card-item:hover {
    border-color: var(--primary-border);
    background: var(--primary-light);
    transform: translateX(3px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    border: 1px solid var(--primary-mid);
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-item-text p {
    font-size: 0.86rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
    font-size: 1.55rem;
    margin-bottom: 6px;
    font-weight: 800;
}

.contact-form-wrapper > p {
    color: var(--text-secondary);
    font-size: 0.91rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.94rem;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-control::placeholder {
    color: var(--text-placeholder);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.10);
    background: #ffffff;
}

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

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
    padding: 80px 0;
    background: #0b1120;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Subtle top blue gradient line */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 112, 239, 0.7) 40%, rgba(59, 130, 246, 0.5) 60%, transparent);
    pointer-events: none;
}

/* Decorative blue glow */
.cta-banner::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(21, 112, 239, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-banner h2 {
    color: #f1f5f9;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin-bottom: 12px;
    font-weight: 800;
}

.cta-banner p {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-banner .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.cta-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

/* Primary button in the CTA banner gets a blue glow */
.cta-banner .btn-primary {
    box-shadow: 0 0 20px rgba(21, 112, 239, 0.35);
}

.cta-banner .btn-primary:hover {
    box-shadow: 0 0 30px rgba(21, 112, 239, 0.50);
}

/* ==========================================================================
   FOOTER — DARK PREMIUM NAVY STYLE
   ========================================================================== */
footer {
    background: #0b1120;
    border-top: none;
    padding: 80px 0 0;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

/* Subtle top gradient border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(21, 112, 239, 0.6) 30%, rgba(59, 130, 246, 0.4) 60%, transparent 100%);
}

/* Decorative glow blob */
footer::after {
    content: '';
    position: absolute;
    top: -160px;
    right: -160px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(21, 112, 239, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin: 16px 0 22px;
    color: #64748b;
    max-width: 280px;
}

/* Override logo text for dark footer */
footer .logo-title {
    color: #f1f5f9;
}

footer .logo-title span {
    color: #60a5fa;
}

footer .logo-subtitle {
    color: #475569;
}

.footer-col h4 {
    font-size: 0.76rem;
    color: #f1f5f9;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a,
.footer-links span {
    color: #64748b;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

.footer-links i {
    font-size: 0.72rem;
    opacity: 0.5;
}

/* Footer divider stripe */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0 0 28px;
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: #475569;
}

.footer-bottom a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: #93c5fd;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.88rem;
}

.social-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(21, 112, 239, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   MODAL POPUP
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-dialog {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 38px;
    position: relative;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-xs);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
}

/* ==========================================================================
   SOLUTIONS HERO GRID (solutions.php)
   ========================================================================== */
.solutions-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.thankyou-section {
    padding: 120px 0;
    text-align: center;
    background: #ffffff;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-green-light);
    border: 2px solid var(--accent-green-border);
    color: var(--accent-green);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.thankyou-section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.thankyou-section p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }

.divider {
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 28px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .hero-cta-group {
        justify-content: center;
    }

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

    .showcase-display {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 36px;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 20px;
        gap: 4px;
        box-shadow: var(--shadow-md);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 10px 14px;
        border-radius: var(--radius-sm);
    }

    .solutions-grid,
    .cases-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .estimator-card,
    .contact-form-wrapper {
        padding: 24px 20px;
    }

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

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

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

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

    .showcase-display {
        padding: 24px;
    }

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

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn {
        text-align: center;
        justify-content: center;
    }

    .tab-nav {
        gap: 8px;
    }

    .tab-btn {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .calc-options-grid {
        grid-template-columns: 1fr 1fr;
    }
}
