:root {
    --navy: #0B2B60;
    --navy-dark: #071d42;
    --teal: #00C5C7;
    --teal-dark: #00a3a5;
    --bg: #FFFFFF;
    --surface: #f4f8fb;
    --text: #2c3e50;
    --muted: #5a6c7d;
    --border: #dce5ee;
    --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); line-height: 1.65; background: var(--bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header & Responsive Navigation */
.site-header { background: var(--white); border-bottom: 2px solid var(--surface); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(11, 43, 96, 0.06); }
.nav-container { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: 16px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 52px; width: auto; object-fit: contain; }

.main-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.main-nav a { font-weight: 600; color: var(--navy); transition: color 0.2s; font-size: 0.96rem; position: relative; padding: 6px 0; }
.main-nav a:not(.btn-nav):hover,
.main-nav a:not(.btn-nav).active { color: var(--teal-dark); }
.main-nav a:not(.btn-nav).active::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2.5px; background: var(--teal); border-radius: 2px; }

.btn-nav { background: var(--navy); color: var(--white) !important; padding: 10px 20px !important; border-radius: 6px; transition: background 0.2s, transform 0.15s; }
.btn-nav:hover, .btn-nav.active { background: var(--teal); color: var(--navy) !important; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1.5px solid var(--navy); border-radius: 6px; cursor: pointer; padding: 7px; }
.nav-toggle span { display: block; width: 100%; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero & Banners */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #123e85 100%); color: var(--white); padding: 90px 0; text-align: center; position: relative; }
.badge { display: inline-block; background: rgba(0, 197, 199, 0.18); color: var(--teal); border: 1px solid rgba(0, 197, 199, 0.45); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); max-width: 820px; margin: 0 auto 18px; line-height: 1.22; }
.hero p { font-size: clamp(1rem, 2vw, 1.15rem); max-width: 680px; margin: 0 auto 32px; color: #dbeafe; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.page-banner { background: var(--navy); color: var(--white); padding: 58px 0; text-align: center; border-bottom: 4px solid var(--teal); }
.page-banner h1 { font-size: clamp(1.75rem, 3.5vw, 2.3rem); margin-bottom: 8px; }
.page-banner p { color: #cbd5e1; max-width: 680px; margin: 0 auto; }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: 6px; font-weight: 700; cursor: pointer; border: none; transition: 0.2s; text-align: center; font-size: 0.98rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; font-size: 1rem; }

/* Sections & Grids */
.section { padding: 72px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-header h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); color: var(--navy); margin-bottom: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: start; }

.card, .service-card { background: var(--white); border: 1px solid var(--border); padding: 28px; border-radius: 10px; box-shadow: 0 4px 14px rgba(11, 43, 96, 0.04); transition: transform 0.2s, border-color 0.2s; }
.card:hover, .service-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.card-accent { width: 42px; height: 4px; background: var(--teal); border-radius: 2px; margin-bottom: 14px; }
.card h3, .service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-link { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 700; font-size: 0.95rem; border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.service-link:hover { color: var(--teal-dark); }

/* Pricing Cards */
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px 26px; display: flex; flex-direction: column; position: relative; box-shadow: 0 6px 18px rgba(11, 43, 96, 0.05); transition: transform 0.2s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border: 2.5px solid var(--teal); box-shadow: 0 12px 28px rgba(0, 197, 199, 0.16); }
.ribbon { position: absolute; top: -14px; right: 20px; background: var(--teal); color: var(--navy); font-size: 0.78rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px; }
.plan-tag { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.pricing-card h3 { font-size: 1.35rem; color: var(--navy); margin-bottom: 14px; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--navy); margin-bottom: 20px; line-height: 1; }
.price .currency { font-size: 1.4rem; vertical-align: super; margin-right: 2px; color: var(--teal-dark); }
.price .period { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan-features { flex-grow: 1; margin-bottom: 24px; font-size: 0.95rem; }

/* Case Studies */
.case-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--navy); border-radius: 10px; padding: 30px; }
.case-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 0.82rem; font-weight: 700; }
.case-industry { background: var(--navy); color: var(--white); padding: 4px 10px; border-radius: 4px; }
.case-service { color: var(--teal-dark); padding: 4px 0; }
.case-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; }
.case-metric { display: inline-block; background: rgba(0, 197, 199, 0.16); color: var(--navy); border-left: 3px solid var(--teal); font-weight: 700; padding: 6px 12px; border-radius: 4px; margin-bottom: 16px; font-size: 0.95rem; }
.case-card p { margin-bottom: 10px; font-size: 0.96rem; }

/* Legal Pages */
.legal-content { max-width: 860px; }
.legal-content h2 { color: var(--navy); font-size: 1.35rem; margin: 28px 0 10px; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 18px 22px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.highlight-box { background: var(--surface); border-left: 4px solid var(--teal); padding: 30px; border-radius: 8px; }
.highlight-box h3 { color: var(--navy); margin-bottom: 10px; }
.highlight-box hr { margin: 20px 0; border: 0; border-top: 1px solid var(--border); }
.check-list { list-style: none; }
.check-list li { margin-bottom: 10px; padding-left: 24px; position: relative; }
.check-list li::before { content: "✓"; color: var(--teal-dark); font-weight: 800; position: absolute; left: 0; }

/* CTA Banner */
.cta-banner { background: var(--navy); color: var(--white); text-align: center; padding: 64px 20px; border-top: 4px solid var(--teal); }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.cta-banner p { margin-bottom: 26px; color: #dbeafe; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Contact Form & CAPTCHA */
.contact-info h2 { color: var(--navy); margin-bottom: 12px; }
.info-item { margin-top: 22px; padding-left: 14px; border-left: 3px solid var(--teal); }
.info-item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.contact-form-box { background: var(--surface); padding: 32px; border-radius: 10px; border: 1px solid var(--border); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; font-size: 1rem; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 197, 199, 0.18); }

.captcha-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.captcha-img { border-radius: 6px; border: 1px solid var(--navy); height: 44px; width: 140px; }
.captcha-refresh { background: var(--white); border: 1px solid var(--navy); color: var(--navy); padding: 8px 12px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.88rem; }
.captcha-refresh:hover { background: var(--navy); color: var(--white); }
.captcha-math { background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 6px; font-size: 0.98rem; }

.alert { padding: 14px; border-radius: 6px; margin-bottom: 20px; font-weight: 600; }
.alert.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Footer */
.site-footer { background: var(--navy); color: #dbeafe; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 35px; padding-bottom: 40px; }
.footer-logo-wrap { display: inline-block; background: var(--white); padding: 8px 14px; border-radius: 8px; margin-bottom: 14px; }
.footer-logo { height: 44px; width: auto; }
.site-footer h4 { color: var(--teal); margin-bottom: 14px; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); text-align: center; padding: 20px 0; font-size: 0.9rem; color: #cbd5e1; }

.text-center { text-align: center; }
.mt-2 { margin-top: 32px; }
.link-arrow { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--teal); padding-bottom: 3px; }
.link-arrow:hover { color: var(--teal-dark); }

/* Responsive Breakpoints */
@media (max-width: 920px) {
    .nav-toggle { display: flex; }
    .nav-container { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .main-nav { display: none; width: 100%; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 8px; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
    .main-nav a { display: block; padding: 10px 12px; border-radius: 6px; }
    .main-nav a:not(.btn-nav).active::after { display: none; }
    .main-nav a:not(.btn-nav).active { background: var(--surface); }
    .btn-nav { text-align: center; margin-top: 4px; }
}

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 30px; }
    .section { padding: 52px 0; }
    .hero { padding: 68px 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .contact-form-box { padding: 22px; }
}
