/* HOKTER — Enterprise Cybersecurity Website */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-tertiary: #eef1f5;
  --bg-card: #ffffff;
  --text-primary: #0f1a2b;
  --text-secondary: #3d4b5c;
  --text-muted: #64748b;
  --border-color: #dde2e8;
  --border-light: #eaeef3;
  --navy: #0A1F3A;
  --navy-light: #142b4a;
  --muted-blue: #3b6e9c;
  --emerald: #1a7a5a;
  --shadow-sm: 0 1px 2px rgba(10, 31, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 31, 58, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 31, 58, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.2s ease;
  --focus-ring: 0 0 0 3px rgba(59, 110, 156, 0.4);
  --header-height: 72px;
}

[data-theme="dark"] {
  --bg-primary: #0b1221;
  --bg-secondary: #111a2c;
  --bg-tertiary: #16213a;
  --bg-card: #131d32;
  --text-primary: #e8edf5;
  --text-secondary: #b0bcd0;
  --text-muted: #7d8ba3;
  --border-color: #24304a;
  --border-light: #1d2942;
  --navy: #e8edf5;
  --navy-light: #cbd5e1;
  --muted-blue: #6ea0d0;
  --emerald: #34d399;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --focus-ring: 0 0 0 3px rgba(110, 160, 208, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--muted-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] a:hover { color: var(--text-primary); }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; color: var(--text-primary); letter-spacing: -0.01em; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { color: var(--text-secondary); }
.text-center { text-align: center; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; top: -100px; left: 16px; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm); z-index: 1000; font-weight: 600; }
.skip-link:focus { top: 16px; outline: none; box-shadow: var(--focus-ring); }

.site-header { position: sticky; top: 0; z-index: 100; background-color: var(--bg-primary); border-bottom: 1px solid var(--border-color); transition: background-color 0.3s ease, border-color 0.3s ease; }
.header-container { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 16px; }
.logo-area { flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { display: inline-block; width: 32px; height: 32px; background: var(--navy); border-radius: 6px; position: relative; flex-shrink: 0; }
[data-theme="dark"] .logo-mark { background: var(--emerald); }
.logo-mark::before, .logo-mark::after { content: ''; position: absolute; background: #fff; }
[data-theme="dark"] .logo-mark::before, [data-theme="dark"] .logo-mark::after { background: #0b1221; }
.logo-mark::before { width: 3px; height: 18px; top: 7px; left: 9px; }
.logo-mark::after { width: 3px; height: 18px; top: 7px; right: 9px; }
.logo-text { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; color: var(--navy); }
[data-theme="dark"] .logo-text { color: var(--text-primary); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { display: inline-block; padding: 8px 12px; font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap; }
.nav-link:hover { background-color: var(--bg-tertiary); color: var(--text-primary); text-decoration: none; }
.nav-link.active { color: var(--navy); font-weight: 600; }
[data-theme="dark"] .nav-link.active { color: var(--emerald); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border-color); border-radius: 50%; background: var(--bg-secondary); color: var(--text-secondary); cursor: pointer; padding: 0; }
.theme-toggle:hover { background: var(--bg-tertiary); border-color: var(--text-muted); }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.btn-header { padding: 10px 20px; font-size: 0.95rem; }
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1px solid var(--border-color); border-radius: var(--radius-sm); cursor: pointer; padding: 10px; }
.mobile-menu-toggle:hover { background: var(--bg-tertiary); }
.mobile-menu-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.hamburger-line { display: block; width: 100%; height: 2px; background: var(--text-primary); border-radius: 1px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.4; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none; min-height: 48px; transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform 0.1s ease; }
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn:active { transform: translateY(1px); }
.btn-primary { background-color: var(--navy); color: #ffffff; border-color: var(--navy); }
.btn-primary:hover { background-color: var(--navy-light); border-color: var(--navy-light); color: #ffffff; text-decoration: none; }
[data-theme="dark"] .btn-primary { background-color: var(--emerald); color: #0b1221; border-color: var(--emerald); }
[data-theme="dark"] .btn-primary:hover { background-color: #2bb584; border-color: #2bb584; color: #0b1221; }
.btn-outline { background-color: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background-color: var(--navy); color: #ffffff; text-decoration: none; }
[data-theme="dark"] .btn-outline { color: var(--emerald); border-color: var(--emerald); }
[data-theme="dark"] .btn-outline:hover { background-color: var(--emerald); color: #0b1221; }
.btn-large { padding: 14px 32px; font-size: 1.075rem; }

.section { padding: 80px 0; }
.section-alt { background-color: var(--bg-secondary); }
.section-title { font-size: 2rem; margin-bottom: 16px; color: var(--text-primary); }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 48px; }

.hero { padding: 80px 0 100px; background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); margin-bottom: 16px; }
.hero-title { font-size: 3rem; font-weight: 700; line-height: 1.15; margin-bottom: 24px; color: var(--text-primary); letter-spacing: -0.02em; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 520px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-note { font-size: 0.9rem; color: var(--text-muted); }
.hero-visual { display: flex; justify-content: center; align-items: center; color: var(--muted-blue); opacity: 0.9; }
.grid-graphic { width: 100%; max-width: 420px; }
.grid-graphic svg { width: 100%; height: auto; }

.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 32px 24px; transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition); }
.pillar-card:hover { box-shadow: var(--shadow-md); border-color: var(--muted-blue); transform: translateY(-2px); }
.pillar-icon { color: var(--muted-blue); margin-bottom: 16px; }
[data-theme="dark"] .pillar-icon { color: var(--emerald); }
.pillar-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 16px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px 24px; display: flex; flex-direction: column; transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition); }
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--muted-blue); transform: translateY(-2px); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-primary); }
.service-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 0.95rem; color: var(--muted-blue); align-self: flex-start; text-decoration: none; }
.card-link:hover { color: var(--navy); text-decoration: underline; }
[data-theme="dark"] .card-link { color: var(--emerald); }
[data-theme="dark"] .card-link:hover { color: #34d399; }

.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 16px; }
.why-item { padding: 24px 0; border-top: 3px solid var(--emerald); }
.why-marker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--emerald); margin-bottom: 12px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 16px; }
.support-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 36px 32px; }
.support-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.support-card-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; }
.support-form .form-group { margin-bottom: 18px; }
.contact-methods { margin-bottom: 8px; }
.contact-method { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-secondary); }
.contact-method a { font-weight: 500; }
.divider { border: none; border-top: 1px solid var(--border-light); margin: 28px 0; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 600; cursor: pointer; background: var(--bg-secondary); color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--text-muted); margin-left: 12px; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--bg-tertiary); }
.faq-item summary:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.faq-item p { padding: 14px 18px; font-size: 0.95rem; color: var(--text-secondary); background: var(--bg-card); border-top: 1px solid var(--border-light); }

.contact-form { max-width: 800px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 40px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.required { color: #dc2626; }
[data-theme="dark"] .required { color: #f87171; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-primary); color: var(--text-primary); width: 100%; min-height: 48px; transition: border-color var(--transition), box-shadow var(--transition); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--muted-blue); box-shadow: var(--focus-ring); }
input.error, select.error, textarea.error { border-color: #dc2626; }
[data-theme="dark"] input.error, [data-theme="dark"] select.error, [data-theme="dark"] textarea.error { border-color: #f87171; }
.error-message { font-size: 0.85rem; color: #dc2626; min-height: 18px; display: block; }
[data-theme="dark"] .error-message { color: #f87171; }
.form-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 16px; text-align: center; }
textarea { resize: vertical; min-height: 100px; }

.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 64px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { display: block; margin-bottom: 12px; font-size: 1.3rem; }
.footer-tagline { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-domain { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.footer-col h4 { font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.95rem; color: var(--text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.footer-disclaimer { font-size: 0.8rem !important; opacity: 0.8; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .hero-title { font-size: 2.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: var(--bg-primary); padding: 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; border-top: 1px solid var(--border-color); z-index: 99; }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .mobile-menu-toggle { display: flex; }
  .btn-header { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2rem; }
  .hero { padding: 48px 0 64px; }
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; }
  .btn-large { width: 100%; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.65rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .support-card { padding: 24px 20px; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible { outline: 2px solid var(--muted-blue); outline-offset: 2px; }
[data-theme="dark"] :focus-visible { outline-color: var(--emerald); }

/* ============================================
   PAGE-LEVEL STYLES (about, services, detail, legal)
   ============================================ */

.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-color);
}
.page-hero-inner { max-width: 820px; }
.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.page-hero .hero-eyebrow { margin-bottom: 12px; }

.content-block {
  max-width: 860px;
  margin: 0 auto;
}
.content-block h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  margin-top: 8px;
}
.content-block h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.content-block p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.content-block ul,
.content-block ol {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}
.content-block ul li,
.content-block ol li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}
.content-block ul li strong,
.content-block ol li strong { color: var(--text-primary); }

.feature-list {
  list-style: none;
  padding-left: 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0 !important;
}
.feature-list li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--emerald);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 1rem !important;
  color: var(--text-secondary) !important;
}
.feature-list li strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cta-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 28px;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 22px;
  margin-bottom: 20px;
  list-style: disc;
}
.legal-content ul li { margin-bottom: 8px; }
.legal-content .legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: 1.05rem; }
  .content-block h2 { font-size: 1.5rem; }
  .feature-list { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band p { font-size: 1rem; }
}
