/* Cyber Controller Static Site - Design System */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1e2a3a;
  --navy-light: #3d5a80;
  --white: #ffffff;
  --gray-light: #f5f6f8;
  --gray-medium: #e2e5ea;
  --gray-dark: #64748b;
  --yellow: #f0b429;
  --yellow-dark: #c49000;
  --red: #ef4444;
  --green: #22c55e;
  --radius: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(30,42,58,0.1);
  --shadow-md: 0 4px 12px rgba(30,42,58,0.1);
  --shadow-lg: 0 8px 24px rgba(30,42,58,0.12);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-light); }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--gray-medium); }
.btn-secondary:hover { background: var(--gray-light); }
.btn-accent { background: var(--yellow); color: var(--navy); }
.btn-accent:hover { background: var(--yellow-dark); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-outline { background: transparent; border: 1px solid var(--gray-medium); color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.topbar {
  background: var(--gray-light); border-bottom: 1px solid var(--gray-medium);
  padding: 0.5rem 0; font-size: 0.875rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar a { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-dark); transition: color 0.2s; }
.topbar a:hover { color: var(--navy); }
.topbar-left { display: flex; gap: 1.5rem; }
.nav-main { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a, .nav-links button {
  color: var(--gray-dark); font-weight: 500; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s;
  background: none; border: none; cursor: pointer; font-family: var(--font-body);
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a:hover, .nav-links button:hover { color: var(--navy); }
.nav-cta { display: none; }
.mobile-toggle {
  display: flex; background: none; border: none; cursor: pointer; padding: 0.5rem;
  color: var(--navy); font-size: 1.5rem;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 0.5rem;
  padding: 1rem 0; border-top: 1px solid var(--gray-medium);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  padding: 0.5rem 0; color: var(--gray-dark); font-weight: 500;
  text-transform: uppercase; font-size: 0.875rem;
}
.mobile-menu a:hover { color: var(--navy); }
.mobile-sub { padding-left: 1rem; border-left: 2px solid var(--gray-medium); margin-left: 0.5rem; }
.mobile-sub-label { font-size: 0.75rem; color: var(--gray-dark); text-transform: uppercase; margin-bottom: 0.25rem; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 0.5rem;
  min-width: 14rem; background: var(--white); border: 1px solid var(--gray-medium);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0.5rem 0; z-index: 60;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.5rem 1rem; font-size: 0.875rem; color: var(--gray-dark);
  text-transform: none; letter-spacing: normal;
}
.dropdown-menu a:hover { background: var(--gray-light); color: var(--navy); }

@media (min-width: 1024px) {
  .topbar { display: block; }
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .mobile-toggle { display: none; }
}
@media (max-width: 1023px) {
  .topbar { display: none; }
}

/* Hero */
.hero {
  position: relative; padding: 6rem 0 4rem; overflow: hidden;
  margin-top: 80px; /* header height */
}
@media (min-width: 1024px) { .hero { margin-top: 116px; padding: 8rem 0 6rem; } }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.85), rgba(255,255,255,0.4));
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.9); border: 1px solid rgba(240,180,41,0.4);
  padding: 0.375rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500;
  margin-bottom: 1rem;
}
.hero-badge .accent { color: var(--yellow-dark); font-weight: 700; }
.hero h1 { margin-bottom: 1rem; color: var(--navy); }
.hero p.lead { font-size: 1.125rem; color: var(--gray-dark); margin-bottom: 2rem; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .text-muted { color: rgba(255,255,255,0.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.text-center { text-align: center; }
.text-muted { color: var(--gray-dark); }
.text-accent { color: var(--yellow-dark); }
.text-red { color: var(--red); }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.leading-relaxed { line-height: 1.75; }

/* Lists with icons */
.icon-list { list-style: none; padding: 0; }
.icon-list li {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem;
}
.icon-list .icon {
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 0.125rem;
}
.icon-check { color: var(--yellow-dark); }
.icon-x { color: var(--red); }
.icon-arrow { color: var(--yellow-dark); }
.icon-list li span { font-weight: 500; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--gray-medium);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon { width: 2rem; height: 2rem; color: var(--yellow-dark); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--gray-dark); }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Flex */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Badge Section */
.badge-section { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .badge-section { flex-direction: row; text-align: left; justify-content: center; } }
.badge-section img { height: 96px; width: auto; }

/* Steps */
.step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-number {
  flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem; color: var(--navy);
}
.step h3 { margin-bottom: 0.25rem; }
.step p { color: var(--gray-dark); }

/* System cards (dark bg) */
.system-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,0.1);
  text-align: center;
}
.system-card svg { width: 2rem; height: 2rem; }
.system-card p { font-weight: 500; }

/* Compare boxes */
.compare-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }
.compare-box { border-radius: var(--radius); padding: 2rem; }
.compare-box.other { background: var(--white); border: 1px solid var(--gray-medium); }
.compare-box.ours { background: var(--white); border: 2px solid var(--yellow); box-shadow: var(--shadow-lg); }

/* Special Offer */
.offer-box {
  background: rgba(240,180,41,0.1); border: 2px solid var(--yellow);
  border-radius: 0.75rem; padding: 2rem; text-align: center;
}
.offer-box h3 { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; }

/* FAQ */
.faq-item {
  background: var(--white); border: 1px solid var(--gray-medium);
  border-radius: var(--radius); margin-bottom: 0.5rem; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; background: none; border: none; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-align: left; color: var(--navy);
  font-family: var(--font-body);
}
.faq-question .arrow { transition: transform 0.3s; font-size: 1.25rem; color: var(--gray-dark); }
.faq-question.active .arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1rem; color: var(--gray-dark); display: none; }
.faq-answer.active { display: block; }

/* CTA dark */
.cta-dark {
  background: var(--navy); color: var(--white); padding: 4rem 0; text-align: center;
}
.cta-dark h2 { color: var(--white); margin-bottom: 1rem; }
.cta-dark p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.cta-dark .icon-list li span { color: var(--white); }

/* Footer */
.site-footer { background: #172030; color: rgba(255,255,255,0.85); }
.footer-inner { padding: 3rem 0; }
.footer-badge { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
  margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer-badge { flex-direction: row; justify-content: center; text-align: left; } }
.footer-badge img { height: 80px; width: auto; }
.footer-badge p { color: rgba(255,255,255,0.8); }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-contact { flex-direction: row; justify-content: space-between; } }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.footer-contact a:hover { color: var(--white); }
.footer-areas { margin-bottom: 2.5rem; text-align: center; }
.footer-areas h3 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.footer-pills a {
  font-size: 0.875rem; color: rgba(255,255,255,0.6); padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 9999px; transition: all 0.2s;
}
.footer-pills a:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.footer-social a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.6);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 1.5rem; }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; font-size: 0.875rem; margin-bottom: 0.375rem; color: var(--navy); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
input, select, textarea {
  width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--gray-medium);
  border-radius: var(--radius); font-size: 0.875rem; font-family: var(--font-body);
  background: var(--white); color: var(--navy); transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 2px rgba(30,42,58,0.1); }
textarea { resize: vertical; }

/* Service Page Article Cards */
.service-article {
  display: flex; flex-direction: column; gap: 2rem; padding: 2rem;
  border: 1px solid var(--gray-medium); border-radius: 0.75rem; background: var(--white);
}
@media (min-width: 1024px) { .service-article { flex-direction: row; align-items: flex-start; } }
.service-article.reverse { }
@media (min-width: 1024px) { .service-article.reverse { flex-direction: row-reverse; } }
.service-icon {
  flex-shrink: 0; width: 5rem; height: 5rem; border-radius: 0.75rem;
  background: rgba(30,42,58,0.1); display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 2.5rem; height: 2.5rem; color: var(--navy); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.875rem; color: var(--gray-dark); }
.breadcrumbs a { color: var(--gray-dark); text-decoration: underline; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs span { margin: 0 0.5rem; }

/* Pillar cards */
.pillar { margin-bottom: 2rem; }
.pillar-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.pillar-num {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy);
}

/* Trust signals */
.trust-signals { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray-dark); }
.trust-item svg { width: 1.25rem; height: 1.25rem; color: var(--navy); }

/* Inline link accent */
a.link-accent { color: var(--yellow-dark); text-decoration: underline; }
a.link-accent:hover { color: var(--yellow); }

/* Responsive helper */
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: block; } }

/* Map embed */
.map-container { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-medium); }
.map-container iframe { width: 100%; height: 300px; border: 0; }

/* Contact info cards */
.contact-card {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem;
  border: 1px solid var(--gray-medium); border-radius: 0.75rem; background: var(--white);
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--navy); }
.contact-card svg { flex-shrink: 0; width: 1.5rem; height: 1.5rem; color: var(--navy); margin-top: 0.25rem; }
.contact-card .label { font-weight: 500; color: var(--navy); }
.contact-card .detail { font-size: 0.875rem; color: var(--gray-dark); }

/* Trust badge box */
.trust-badge-box {
  padding: 1.5rem; background: rgba(30,42,58,0.05); border-radius: 0.75rem;
  border: 1px solid rgba(30,42,58,0.1); text-align: center;
}

/* SVG icons inline */
.svg-phone, .svg-map, .svg-msg, .svg-clock, .svg-star, .svg-users, .svg-trending { display: inline-block; vertical-align: middle; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
