/* ========================================
   CHECK-CAP.COM - Global Styles
   Clean & Professional Design System
   ======================================== */

/* CSS Variables */
:root {
  --color-primary: #1B3A5C;
  --color-primary-light: #2A5580;
  --color-primary-dark: #0F2440;
  --color-accent: #0077B6;
  --color-accent-light: #00A1E4;
  --color-accent-hover: #005F8F;
  --color-success: #2E7D32;
  --color-text: #2D3748;
  --color-text-light: #64748B;
  --color-text-lighter: #94A3B8;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F9FC;
  --color-bg-card: #FFFFFF;
  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;
  --color-hero-bg: #0F2440;
  --color-hero-text: #FFFFFF;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--color-primary-dark); }
h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; color: var(--color-primary-dark);
}
.nav-logo-img {
  height: 36px; width: auto; display: block;
}
.nav-logo-mark {
  width: 36px; height: 36px; background: var(--color-primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.03em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--color-text); font-size: 0.9rem; font-weight: 500;
  padding: 0.5rem 0; position: relative; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--color-accent); border-radius: 1px;
}
.nav-links .nav-external {
  color: var(--color-text-light); font-size: 0.85rem;
}
.nav-links .nav-external::after { content: ' \2197'; font-size: 0.7rem; }

/* Dropdown nav */
.nav-dropdown { position: relative; }
.nav-chevron { font-size: 0.65rem; margin-left: 2px; display: inline-block; transition: transform 0.2s; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; border: 1px solid var(--color-border);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 200px; padding: 0.5rem 0; list-style: none; z-index: 1001;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block; padding: 0.5rem 1.25rem; font-size: 0.85rem;
  color: var(--color-text); white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--color-surface); color: var(--color-accent); }
.nav-dropdown-menu a::after { display: none; }
@media (min-width: 769px) {
  .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover > a .nav-chevron { transform: rotate(180deg); }
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-text); margin: 5px 0; transition: var(--transition); }

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
  background: linear-gradient(135deg, var(--color-hero-bg) 0%, var(--color-primary) 100%);
  color: var(--color-hero-text);
  padding: 10rem 0 6rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,119,182,0.15) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0,161,228,0.08) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem;
  font-weight: 500; margin-bottom: 1.5rem; color: rgba(255,255,255,0.9);
}
.hero-badge-dot { width: 6px; height: 6px; background: #4ADE80; border-radius: 50%; }
.hero h1 { color: white; margin-bottom: 1.25rem; font-size: 3rem; }
.hero p { font-size: 1.2rem; line-height: 1.7; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 600px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-hero-bg) 0%, var(--color-primary) 100%);
  color: white; padding: 10rem 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0,119,182,0.12) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 640px; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
}
.btn-primary {
  background: var(--color-accent); color: white;
  box-shadow: 0 2px 8px rgba(0,119,182,0.25);
}
.btn-primary:hover { background: var(--color-accent-hover); color: white; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.5); }
.btn-secondary {
  background: var(--color-bg-alt); color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { background: var(--color-border-light); }

/* ========================================
   TICKER STRIP
   ======================================== */
.ticker-strip {
  background: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 0; color: white;
}
.ticker-inner {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  font-size: 0.85rem; font-weight: 500;
}
.ticker-symbol { color: var(--color-accent-light); font-weight: 700; }
.ticker-divider { color: rgba(255,255,255,0.2); }

/* ========================================
   STAT CARDS
   ======================================== */
.stats-section { padding: 5rem 0; background: var(--color-bg); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem 1.5rem;
  text-align: center; transition: all var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-accent); transform: translateY(-2px); }
.stat-number {
  font-size: 2.5rem; font-weight: 800; color: var(--color-accent);
  line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.4; font-weight: 500; }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ========================================
   INDUSTRY CARDS
   ======================================== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.industry-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem 1.5rem;
  transition: all var(--transition);
}
.industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.industry-icon {
  width: 48px; height: 48px; background: var(--color-bg-alt);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.industry-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.industry-card p { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 0; }

/* ========================================
   MISSION / CTA BLOCK
   ======================================== */
.mission-block {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 3.5rem;
  text-align: center; max-width: 800px; margin: 0 auto;
}
.mission-block h2 { margin-bottom: 1rem; }
.mission-block p { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 0; }

/* ========================================
   NEWS STRIP
   ======================================== */
.news-section { padding: 4rem 0; border-top: 1px solid var(--color-border); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  padding: 1.5rem; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-accent); }
.news-date { font-size: 0.8rem; color: var(--color-text-lighter); margin-bottom: 0.5rem; font-weight: 500; }
.news-title { font-size: 0.95rem; font-weight: 600; color: var(--color-primary-dark); line-height: 1.4; }

/* ========================================
   FEATURE LIST / CHECKMARKS
   ======================================== */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; font-size: 1rem;
}
.feature-list li::before {
  content: '\2713'; color: var(--color-accent); font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* ========================================
   CONTENT GRID (2 columns)
   ======================================== */
.content-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.content-grid-text h2 { margin-bottom: 1rem; }
.content-grid-text p { color: var(--color-text-light); }
.content-grid-visual {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 3rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px; color: var(--color-text-lighter);
  font-size: 0.9rem; text-align: center;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: var(--color-border);
}
.timeline-item {
  display: flex; gap: 1.5rem; padding-bottom: 2rem; position: relative;
}
.timeline-marker {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; position: relative; z-index: 1;
}
.timeline-marker.completed {
  background: var(--color-accent); color: white;
}
.timeline-marker.pending, .timeline-marker:not(.completed):not(.pending) {
  background: var(--color-accent); color: white;
}
.timeline-content h3, .timeline-content h4 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.timeline-content p { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 0; }
.timeline-date { font-size: 0.8rem; color: var(--color-text-lighter); font-weight: 600; }

/* ========================================
   TEAM GRID
   ======================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--color-bg-alt); border: 3px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--color-text-lighter);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-card .team-title { font-size: 0.85rem; color: var(--color-accent); font-weight: 600; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; }

/* ========================================
   INFO CARDS / KEY DOCS
   ======================================== */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.info-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 2rem;
}
.info-card h3 { margin-bottom: 0.75rem; }
.info-card p { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 0; }

/* ========================================
   CALLOUT / BANNER
   ======================================== */
.callout {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white; border-radius: var(--radius-lg);
  padding: 2.5rem 3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.callout h3 { color: white; margin-bottom: 0.5rem; }
.callout p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* ========================================
   DISCLAIMER
   ======================================== */
.disclaimer {
  background: var(--color-bg-alt); border-top: 1px solid var(--color-border);
  padding: 2rem 0;
}
.disclaimer p {
  font-size: 0.75rem; color: var(--color-text-lighter);
  line-height: 1.6; max-width: 900px; margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-primary-dark); color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand h4 { color: white; margin-bottom: 0.75rem; font-size: 1.1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h5 {
  color: white; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.6); font-size: 0.85rem;
  padding: 0.3rem 0; transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: white; }
.footer-legal { display: flex; gap: 1.5rem; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .stats-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.25rem; }
  .page-hero { padding: 7rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .callout { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem; gap: 0.5rem;
  }
  .nav-dropdown-menu {
    display: none; position: static; border: none; box-shadow: none;
    padding: 0 0 0 1rem; min-width: 0;
  }
  .nav-dropdown.open > .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { padding: 0.35rem 0; font-size: 0.85rem; color: var(--color-text-light); }
  .nav-chevron { transition: transform 0.2s; }
  .nav-dropdown.open > a .nav-chevron { transform: rotate(180deg); }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-grid, .industry-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
}
