:root {
  /* Brand Colors */
  --brand-navy: #293144;  
  --brand-blue: #045bbe;  
  
  /* Derived Palette */
  --bg-white: #ffffff;
  --bg-subtle: #f8fafc;   /* Slightly cooler/cleaner off-white */
  --bg-dark: #1e2433;     
  
  --text-main: #1f2937;   
  --text-muted: #64748b;  /* Lighter, cleaner grey for body text */
  --text-light: #94a3b8;  
  
  --border: #e2e8f0;
  --radius: 6px; /* Slightly tighter radius looks more "Swiss" */
  
  --max-width: 1100px;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Animation Vars */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.65; /* Increased for readability */
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Film Grain Texture for "Tactile" Feel */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.02em; /* Tighter tracking for headlines */
}

h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 20px; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 20px; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

.text-blue { color: var(--brand-blue); }
.text-white { color: #fff !important; }
.text-gray-300 { color: #d1d5db !important; }
.opacity-70 { opacity: 0.7; }

/* Utilities */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}
.section { padding: 100px 0; } /* More generous vertical spacing */
.bg-light { background: var(--bg-subtle); }
.bg-white { background: var(--bg-white); }
.bg-navy { background: var(--brand-navy); color: #fff; }
.text-center { text-align: center; }

.overline {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px; /* Larger hit area */
  font-weight: 600;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
}
.btn--primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 6px rgba(4, 91, 190, 0.15);
}
.btn--primary:hover {
  background: #034694;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(4, 91, 190, 0.25);
}
.btn--outline {
  background: transparent;
  border-color: #cbd5e1;
  color: var(--text-main);
}
.btn--outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(4, 91, 190, 0.03);
}
.btn--text {
  padding: 16px 0;
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--nav {
  padding: 10px 24px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 14px;
}
.btn--nav:hover { background: #034694; }
.btn--small { padding: 10px 20px; font-size: 13px; }
.full-width { width: 100%; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 18px 0;
  transition: all 0.3s ease;
}
.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo { height: 32px; width: auto; }
.brand__text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--brand-navy);
}
.navbar__links { display: flex; align-items: center; gap: 32px; }
.navbar__links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.navbar__links a:not(.btn):hover { color: var(--brand-blue); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.hamburger {
    display: block; width: 24px; height: 2px; background: var(--brand-navy);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--brand-navy);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }


/* Hero Section */
.hero {
  padding: 180px 0 140px;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.75) 100%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}
.hero__inner { max-width: 880px; text-align: center; margin: 0 auto; position: relative; z-index: 2; }

.highlight-text {
    color: var(--brand-blue);
    position: relative;
    white-space: nowrap;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-main); /* Darker for better contrast on bg */
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: 500;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
}

/* Capital Badge (Replacing Trust Bar) */
.trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(4, 91, 190, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}
.trust-item strong { color: var(--brand-blue); }
.trust-dot { color: var(--border); }

/* Comparison Table - Refined */
.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr; /* Highlight col slightly wider */
  gap: 32px;
  margin-top: 64px;
  align-items: center;
}
.compare-col {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid transparent; /* Prepare for border */
}
.compare-col:not(.highlight) {
    border-color: var(--border);
}
.compare-col h3 { font-size: 18px; margin-bottom: 24px; text-align: center; color: var(--brand-navy); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  font-size: 15px;
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}
.compare-col li.negative::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #9ca3af;
  font-weight: 400; /* Thinner X looks cleaner */
  font-size: 22px;
  line-height: 0.8;
}
/* Highlight Column */
.compare-col.highlight {
  border: 2px solid var(--brand-blue);
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(4, 91, 190, 0.15); /* Deep shadow */
  transform: scale(1.05);
  position: relative;
  z-index: 10;
  padding-top: 48px; padding-bottom: 48px;
}
.compare-col.highlight h3 { color: var(--brand-blue); margin-bottom: 0; }
.col-header { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; }
.compare-col li.positive { color: var(--text-main); font-weight: 500; }
.compare-col li.positive::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

/* Operator Split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; /* More space */
  align-items: center;
}
/* Portrait Styles */
.portrait-wrapper {
    width: 100%;
    position: relative;
}
.portrait-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 20px 20px 0px rgba(4, 91, 190, 0.05); /* Matching architectural shadow */
    display: block;
}
.portrait-card {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: #fff;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--brand-blue);
}
.portrait-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 16px;
    color: var(--brand-navy);
}
.portrait-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 64px;
}
.criteria-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px 32px;
    border-radius: var(--radius);
    transition: background 0.3s;
}
.criteria-card:hover { background: rgba(255,255,255,0.05); }
.criteria-card h3 { color: #fff; font-size: 18px; margin-top: 24px; font-family: var(--font-sans); }
.cc-icon-box {
    width: 48px; height: 48px;
    background: rgba(4, 91, 190, 0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #60a5fa; /* Lighter blue for icon */
}
.criteria-card ul { list-style: none; padding: 0; margin-top: 24px; }
.criteria-card li {
    font-size: 15px;
    margin-bottom: 12px;
    color: #cbd5e1;
    padding-left: 20px;
    position: relative;
}
.criteria-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-blue); 
    font-size: 1.4em;
    line-height: 1;
    top: -2px;
}

/* Process Cards - Clean & Crisp */
.process-steps-original {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}
.step-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-blue);
    box-shadow: 0 20px 40px -10px rgba(4, 91, 190, 0.12);
}
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.step-num {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-blue);
}
.step-time {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-navy);
    background: var(--bg-subtle);
    padding: 6px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.step-card h4 { margin-bottom: 12px; color: var(--brand-navy); font-family: var(--font-sans); font-weight: 700; font-size: 16px; }
.step-card p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: #fff;
    padding: 64px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}
.contact-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-list li { margin-bottom: 16px; font-size: 16px; }
.download-box {
    margin-top: 40px;
    padding: 32px;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--brand-navy); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: border 0.2s;
    background: #fdfdfd;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(4, 91, 190, 0.08);
}
.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin: 8px 0 0;
}
.form-status {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 20px;
}
.form-status.is-visible { display: block; }
.form-status--success {
    background: #ecfdf5;
    color: #0f766e;
    border: 1px solid #a7f3d0;
}
.form-status--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.form-status--info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.field-error {
    margin: 6px 0 0;
    font-size: 12px;
    color: #b91c1c;
}
.input-error {
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
}
.apply-list {
    list-style: disc;
    padding-left: 20px;
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}
.apply-list li { margin-bottom: 10px; }
.apply-list--tight { margin-top: 12px; }
.checkbox-group { margin-top: 8px; }
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
.checkbox input { margin-top: 3px; }
.privacy-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 16px; }

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
    background: #fff;
}
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; }
.copyright { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.footer-col a { font-size: 15px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--brand-blue); }

/* Responsive */
@media (max-width: 900px) {
    .navbar__links { display: none; }
    .nav__toggle { display: block; }
    .hero { padding: 120px 0 96px; background-attachment: scroll; }
    .hero h1 { font-size: 40px; }
    .hero__subtitle { margin-bottom: 36px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .trust-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        width: 100%;
    }
    .trust-item {
        display: inline-flex;
        justify-content: center;
        width: auto;
        padding: 10px 20px;
        background: #fff;
        border-radius: 999px;
        border: 1px solid rgba(4, 91, 190, 0.12);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        font-size: 13px;
        white-space: normal; /* Allow wrapping if text is super long */
        text-align: center;
    }
    .trust-dot {
        display: none;
    }
    .comparison-table { grid-template-columns: 1fr; gap: 48px; }
    .compare-col.highlight { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .split-layout { grid-template-columns: 1fr; gap: 48px; }
    .image-block { order: -1; }
    .criteria-grid { grid-template-columns: 1fr; }
    .process-steps-original { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 32px; gap: 48px; }
    .section { padding: 64px 0; }
    
    .navbar__links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}
