/* Crisp Nectar Oratory — tech_futuristic style.css (mobile-first, flex-only) */
/* RESET & NORMALIZE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #00E5FF; outline-offset: 2px; }

/* THEME TOKENS */
:root {
  --color-primary: #13293D; /* deep navy */
  --color-secondary: #145C9E; /* brand blue */
  --color-accent: #F5FAFF; /* light ice */
  --bg-00: #0E1726; /* deep space */
  --bg-10: #0F1E31;
  --text-light: #EAF2FF;
  --text-mid: #B8CCE6;
  --text-dark: #0D1B2A;
  --neon: #00E5FF; /* cyan neon */
  --neon-2: #7C4DFF; /* violet accent */
  --success: #2BD9A6;
  --warning: #FFC107;
  --danger: #FF4D6D;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 6px 18px rgba(0,0,0,0.24);
  --shadow-neon: 0 0 0 rgba(0,229,255,0), 0 0 0 rgba(124,77,255,0);
  --border: 1px solid rgba(255,255,255,0.08);
}

/* BASE TYPOGRAPHY */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-light);
  background-color: var(--bg-00);
  background-image: linear-gradient(180deg, rgba(20,92,158,0.08), rgba(19,41,61,0.18)); /* simple gradient with solid fallback */
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: #FFFFFF; letter-spacing: 0.2px; }
h1 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
h2 { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }
h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; }

p { font-size: 16px; color: var(--text-mid); }
strong { color: #FFFFFF; font-weight: 700; }

/* LINKS */
a {
  color: #B8E5FF;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a:hover { color: #FFFFFF; text-shadow: 0 0 12px rgba(0,229,255,0.35); }

/* LAYOUT CONTAINERS (FLEX-ONLY) */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* MANDATORY SPACING & ALIGNMENT PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* GLOBAL SECTION STYLES */
main > section { padding: 40px 0; border-top: var(--border); }
main > section:nth-child(odd) { background: rgba(255,255,255,0.02); }

/* HEADER */
header { position: sticky; top: 0; z-index: 1000; background: rgba(15, 30, 49, 0.75); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,229,255,0.12); }
header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 36px; width: auto; filter: drop-shadow(0 0 8px rgba(0,229,255,0.15)); }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a {
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.main-nav a:hover { color: #FFFFFF; background: rgba(0,229,255,0.08); box-shadow: 0 0 0 1px rgba(0,229,255,0.25) inset; }
.main-nav a[aria-current="page"] { color: #FFFFFF; background: rgba(124,77,255,0.12); box-shadow: 0 0 0 1px rgba(124,77,255,0.35) inset; }

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(184,229,255,0.4);
  color: #E7F7FF;
  background: rgba(20,92,158,0.15);
  text-decoration: none;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-soft), var(--shadow-neon);
}
.button:hover { transform: translateY(-1px); border-color: rgba(0,229,255,0.6); box-shadow: 0 10px 24px rgba(0,229,255,0.12), 0 0 20px rgba(0,229,255,0.25) inset; }
.button:active { transform: translateY(0); }

.button-primary {
  border: 1px solid rgba(0,229,255,0.7);
  background-color: var(--color-secondary);
  color: #FFFFFF;
  text-shadow: 0 0 6px rgba(0,0,0,0.25);
  box-shadow: 0 8px 22px rgba(20,92,158,0.35), 0 0 24px rgba(0,229,255,0.25);
}
.button-primary:hover { background-color: #1770C2; box-shadow: 0 10px 28px rgba(20,92,158,0.45), 0 0 28px rgba(0,229,255,0.35); }

/* HERO */
.hero { background-color: var(--color-primary); background-image: linear-gradient(135deg, rgba(19,41,61,0.9), rgba(20,92,158,0.55)); border-bottom: 1px solid rgba(0,229,255,0.15); }
.hero .container { padding-top: 48px; padding-bottom: 48px; }
.hero .content-wrapper { align-items: flex-start; gap: 16px; }
.hero h1 { font-size: 32px; }
.hero p { font-size: 16px; max-width: 800px; }
.hero img { width: 56px; height: auto; opacity: 0.95; }

/* CTA ROW */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* TRUST BADGES */
.trust-badges ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding-left: 0; }
.trust-badges li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed rgba(0,229,255,0.35); background: rgba(255,255,255,0.04); border-radius: 999px; color: #D9EEFF; }
.trust-badges img { width: 16px; height: 16px; filter: drop-shadow(0 0 4px rgba(0,229,255,0.35)); }
.trust-badges .note { font-size: 14px; color: var(--text-mid); margin-top: 6px; }

/* TEXT SECTIONS */
.text-section { display: flex; flex-direction: column; gap: 12px; }
.text-section p { color: var(--text-mid); }
.text-section ul, .text-section ol { display: flex; flex-direction: column; gap: 8px; }
.text-section li { color: #DCE9F7; }
.text-section a.button { text-decoration: none; }

/* ARTICLES AS CARDS */
article { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease; }
article:hover { transform: translateY(-2px); border-color: rgba(0,229,255,0.35); box-shadow: 0 10px 26px rgba(0,229,255,0.1); }
article p { color: var(--text-mid); }

/* TESTIMONIALS — light card for readability */
.testimonial-card {
  background: var(--color-accent);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  border: 1px solid rgba(19,41,61,0.15);
  box-shadow: 0 6px 16px rgba(19,41,61,0.12);
}
.testimonial-card p { color: var(--text-dark); }

/* LIST ICON ALIGN HELPERS */
.text-section p img, .footer-contact p img, .text-section li img { display: inline-block; vertical-align: middle; margin-right: 8px; }

/* FOOTER */
footer { background: linear-gradient(180deg, rgba(19,41,61,0.65), rgba(14,23,38,0.95)); border-top: 1px solid rgba(0,229,255,0.12); }
footer .content-wrapper { flex-direction: column; gap: 24px; padding: 24px 0; }
.footer-brand p { color: var(--text-mid); max-width: 520px; }
.footer-links nav, .footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
footer a { color: #B8E5FF; text-decoration: none; }
footer a:hover { color: #FFFFFF; }
.footer-legal p { color: var(--text-mid); margin-top: 8px; }

/* HEADER ACTIONS (RIGHT) */
header .button { white-space: nowrap; }

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: #EAF2FF; border-radius: 10px;
  border: 1px solid rgba(0,229,255,0.4);
  background: rgba(255,255,255,0.04);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.mobile-menu-toggle:hover { background: rgba(0,229,255,0.08); box-shadow: 0 0 16px rgba(0,229,255,0.2); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(10,18,30,0.9);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 20px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF; background: rgba(255,255,255,0.06);
}
.mobile-nav { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.mobile-nav a {
  display: flex; align-items: center; padding: 12px 14px;
  border-radius: 10px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #EAF2FF; text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.mobile-nav a:hover { background: rgba(0,229,255,0.08); border-color: rgba(0,229,255,0.3); }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: #0F1E31; color: #EAF2FF;
  border-top: 2px solid rgba(0,229,255,0.45);
  padding: 16px 20px;
  box-shadow: 0 -10px 24px rgba(0,0,0,0.35);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: #D6E7FA; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-buttons .button { border-color: rgba(184,229,255,0.5); background: rgba(255,255,255,0.06); }
.cookie-buttons .button-primary { background: var(--color-secondary); border-color: rgba(0,229,255,0.65); }

/* COOKIE MODAL */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(3px); display: none; z-index: 1400; }
.cookie-modal-overlay.open { display: flex; }
.cookie-modal { margin: auto; width: 92%; max-width: 640px; display: flex; flex-direction: column; gap: 16px; background: #0F1E31; color: #EAF2FF; border: 1px solid rgba(0,229,255,0.35); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.cookie-modal h3 { font-size: 20px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; background: rgba(255,255,255,0.04); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Toggle switch */
.toggle { display: inline-flex; align-items: center; gap: 8px; }
.toggle input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,0.18); position: relative; transition: background-color 0.2s ease; }
.toggle input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: transform 0.2s ease; }
.toggle input:checked { background: rgba(0,229,255,0.6); }
.toggle input:checked::after { transform: translateX(18px); }
.toggle .label { font-size: 14px; color: #CFE6FF; }

/* UTILITIES */
.muted { color: var(--text-mid); }
.hidden { display: none !important; }

/* RESPONSIVE */
@media (min-width: 600px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .cta-row { gap: 14px; }
}

@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none; }
  footer .content-wrapper { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
  footer .content-wrapper > div { min-width: 240px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  .container { gap: 24px; }
  .content-wrapper { gap: 24px; }
}

/* ACCESSIBLE STATUS BADGES (OPTIONAL) */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: #EAF2FF; }
.badge.success { border-color: rgba(43,217,166,0.4); color: #CFF7EC; }
.badge.warn { border-color: rgba(255,193,7,0.4); color: #FFF1C2; }

/* PAGE-SPECIFIC TWEAKS */
/* Index: lists and stat chips */
section ul { color: #DCE9F7; }
section ol { color: #DCE9F7; }

/* Footer sections */
.footer-links h3, .footer-contact h3, .footer-legal h3 { color: #FFFFFF; margin-bottom: 10px; font-size: 16px; }

/* Cards generic (for any future .card usage) */
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(0,229,255,0.35); box-shadow: 0 10px 26px rgba(0,229,255,0.1); }

/* Alignment helpers for common wrappers */
.content-grid > * { flex: 1 1 280px; }
.card-container > * { flex: 1 1 260px; }

/* LIST STYLING: high-clarity bullets */
ul li::marker { color: #80D8FF; }
ol { padding-left: 1.2rem; }

/* Readability in legal pages */
main section .text-section p, main section p { max-width: 880px; }

/* CURRENT PAGE BUTTON CONTRAST in light sections */
[aria-current="page"].button, .button[aria-current="page"] { box-shadow: 0 0 0 2px rgba(124,77,255,0.45) inset; }

/* HERO CTA spacing on dense pages */
.hero .cta-row { margin-top: 6px; }

/* Ensure minimum space between all content blocks */
main > section .content-wrapper > * + * { margin-top: 4px; }

/* Ensure adequate spacing between articles and other blocks */
.text-section > article + article { margin-top: 12px; }

/* Ensure testimonial light-on-dark contrast is preserved */
main .testimonial-card strong { color: #0D1B2A; }

/* Header logo sizing on small screens */
@media (max-width: 359px) { .logo img { height: 30px; } }

/* Z-INDEX MANAGEMENT */
header { z-index: 1000; }
.mobile-menu { z-index: 1300; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1400; }

/* PREVENT OVERLAPS: provide bottom padding so cookie banner doesn't cover content */
body.has-cookie-banner main { padding-bottom: 120px; }

/* VISUAL MICRO-ANIMATIONS */
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 rgba(0,229,255,0); } 50% { box-shadow: 0 0 24px rgba(0,229,255,0.25); } 100% { box-shadow: 0 0 0 rgba(0,229,255,0); } }
.button-primary:focus-visible { animation: pulseGlow 1.2s ease-in-out 1; }

/* NAV underline-on-hover micro interaction using background-size */
.main-nav a { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0% 100%; background-size: 0% 2px; }
.main-nav a:hover { background-size: 100% 2px; }

/* ALIGNMENT CONVENTIONS per requirements */
/* - Use align-items: center for vertical centering in flex containers */
/* Already applied to .text-image-section and others as needed */

/* MOBILE-FIRST LAYOUT notes: all core flex containers default to column; row at >=768px */
.text-image-section { flex-direction: column; }

/* ACCESSIBLE TABLE-ISH LAYOUTS via flex (no grid) */
/* Any multi-column blocks rely on flex-wrap with basis widths defined above */

/* End of file */
