/* Aether Pulse Akademia UE5 — Vibrant Energetic UI
   Mobile-first, flexbox-only layouts, high-contrast neon accents
*/

/* --------------------------------------
   1) Reset & Base
-------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Orbitron:wght@600;700;800&display=swap');

* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #EAF1FF;
  background: #111A2F; /* dark, energetic stage */
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: #00C2FF; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid #00C2FF; outline-offset: 2px; }

/* Color system (brand) */
:root {
  --primary: #1E2A44; /* brand primary */
  --secondary: #00C2FF; /* electric cyan */
  --accent: #F5F7FB; /* light surface */
  --ink: #0E1528; /* dark text for light surfaces */
  --surface: #162443; /* panels */
  --surface-2: #0F1C3B; /* deeper panels */
  --muted: #9CB2D9; /* muted text */
  --shadow: 0 10px 24px rgba(0,0,0,0.35);
  --glow: 0 0 0 4px rgba(0,194,255,0.18);
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Inter', Arial, sans-serif;
  margin: 0 0 12px 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}
h1 { font-size: 32px; }
h2 { font-size: 24px; margin-top: 8px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }

p { margin: 0 0 12px 0; color: #EAF1FF; }
small, .muted { color: var(--muted); }
strong { font-weight: 700; }

/* Lists: remove defaults and use flex for layout */
ul, ol { margin: 0; padding: 0; list-style: none; }

/* Buttons / CTAs */
button, .cta-primary, .cta-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; user-select: none; text-align: center;
  padding: 12px 18px; border-radius: 12px; border: 0; font-weight: 700;
  transition: all 0.25s ease; position: relative;
}
.cta-primary {
  background: var(--secondary); color: #05101D;
  box-shadow: 0 8px 18px rgba(0,194,255,0.35);
  text-transform: uppercase; letter-spacing: 0.6px;
}
.cta-primary:hover { filter: brightness(1.07); box-shadow: 0 10px 22px rgba(0,194,255,0.45); transform: translateY(-1px); }
.cta-primary:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(0,194,255,0.35); }

.cta-secondary {
  background: transparent; color: var(--secondary); border: 2px solid var(--secondary);
}
.cta-secondary:hover { background: rgba(0,194,255,0.08); box-shadow: var(--glow); }

/* Chips / badges */
.badge, .rating-badge, .money-back-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #12254A; color: #D9E6FF; border: 1px solid rgba(0,194,255,0.35);
  padding: 10px 14px; border-radius: 999px; font-weight: 600;
}
.rating-badge img, .money-back-badge img { width: 20px; height: 20px; }

/* Containers & Layout (flex-only) */
.container {
  display: flex; flex-direction: column; gap: 20px;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.content-wrapper {
  display: flex; flex-direction: column; gap: 16px;
}

/* Sections: breathing room and dynamic cards */
section { margin-bottom: 60px; padding: 40px 0; }
/* Mandatory spacing class (as requested) */
.section { margin-bottom: 60px; padding: 40px 20px; }

/* Header / Nav */
header {
  position: sticky; top: 0; z-index: 50; background: rgba(15,30,59,0.9);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(0,194,255,0.15);
}
header .container { padding-top: 12px; padding-bottom: 12px; }
header nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
header nav a { color: #EAF1FF; font-weight: 600; opacity: 0.92; }
header nav a:hover { opacity: 1; text-shadow: 0 0 10px rgba(0,194,255,0.4); }
header nav a img { height: 32px; width: auto; }
/* Push CTA to the end */
header nav a.cta-primary { margin-left: auto; }

/* Footer */
footer { background: #0E1B39; border-top: 1px solid rgba(0,194,255,0.15); }
footer .content-wrapper {
  display: flex; flex-direction: column; gap: 20px; padding: 24px 0;
}
footer nav { display: flex; flex-wrap: wrap; gap: 12px 16px; }
footer nav a { color: #CFE0FF; }
footer .contact-info { display: flex; flex-wrap: wrap; gap: 12px 20px; color: #B9CDED; }
footer .contact-info img { width: 16px; height: 16px; }

/* Newsletter */
.newsletter-signup { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.newsletter-signup label { font-weight: 600; color: #DCE8FF; }
.newsletter-signup input[type="email"] {
  flex: 1 1 220px; min-height: 42px; padding: 10px 12px;
  border-radius: 10px; border: 1px solid rgba(0,194,255,0.3);
  background: #0E1C39; color: #EAF1FF;
}
.newsletter-signup button { height: 42px; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #AFC6EA; font-size: 14px; }
.breadcrumbs a { color: #8ECFFF; }

/* Trust badges / socials */
.trust-badges, .social-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-badges img, .social-links img { width: 22px; height: 22px; }

/* Stats and counters */
.stat-counters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.stat-counters span {
  display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px;
  background: #12254A; border: 1px solid rgba(0,194,255,0.25); color: #D9E6FF; font-weight: 600;
}

/* Feature grid, instructors, cards */
.feature-grid, .instructor-profiles, .content-grid, .card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.feature-grid > div, .instructor-profiles > div, .card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid rgba(0,194,255,0.15);
  box-shadow: var(--shadow);
}
.feature-grid img, .instructor-profiles img { width: 40px; height: 40px; }

/* Mandatory spacing classes (as requested) */
.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; }

/* Text-image layout utility */
.text-image-section > * { flex: 1 1 280px; }

/* Lists in sections — present as vibrant bullets */
.content-wrapper ul, .content-wrapper ol {
  display: flex; flex-direction: column; gap: 10px; padding-left: 0;
}
.content-wrapper ul li, .content-wrapper ol li {
  display: flex; align-items: flex-start; gap: 10px; position: relative;
  padding-left: 14px; color: #EAF1FF;
}
.content-wrapper ul li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px;
  background: var(--secondary); box-shadow: 0 0 0 3px rgba(0,194,255,0.18);
}
.content-wrapper ol { counter-reset: step; }
.content-wrapper ol li::before { counter-increment: step; content: counter(step) '.'; color: var(--secondary); font-weight: 700; margin-right: 6px; margin-top: 0; width: auto; height: auto; background: transparent; box-shadow: none; }

/* Highlight blocks */
.support-highlight, .mentoring-model, .accreditation-info, .delivery-formats, .difficulty-levels, .time-commitment,
.project-difficulty-labels, .evaluation-criteria, .assignments-overview, .estimated-time-per-week, .version-control-info,
.workflow-diagram-legend, .hardware-specs, .grading-policy, .certificate-criteria, .what-happens-next, .timeline,
.student-corporate-discounts, .grant-info, .access-duration, .installment-options, .vat-invoice-info, .refund-policy-summary,
.response-sla, .billing-support-info, .expected-response-time, .hardware-checklist, .community-invite, .delivery-note {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px;
  background: #0F1C39; border: 1px solid rgba(0,194,255,0.18); color: #D7E6FF;
}

/* Testimonial slider (accessible, high-contrast cards) */
.testimonial-slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.testimonial-slider::-webkit-scrollbar { height: 8px; }
.testimonial-slider::-webkit-scrollbar-thumb { background: rgba(0,194,255,0.4); border-radius: 999px; }
.testimonial-card {
  flex: 0 0 85%; scroll-snap-align: start; background: var(--accent); color: var(--ink);
  border: 1px solid rgba(0,0,0,0.06); border-left: 6px solid var(--secondary); border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.testimonial-card p { color: var(--ink); font-weight: 600; }
.testimonial-card span { color: #2B3C58; font-weight: 600; }
.star-ratings { color: #FFD166; font-size: 20px; letter-spacing: 2px; }

/* Tables to flex (no grid/columns; flex layout) */
.pricing-tables {
  display: block; width: 100%; overflow-x: auto; border: 1px solid rgba(0,194,255,0.25);
  border-radius: 14px; background: #0F1C39; box-shadow: var(--shadow);
}
.pricing-tables tr { display: flex; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pricing-tables tr:last-child { border-bottom: 0; }
.pricing-tables th, .pricing-tables td {
  flex: 1 1 180px; padding: 14px; color: #EAF1FF; border-right: 1px solid rgba(255,255,255,0.06);
}
.pricing-tables th { background: #14254A; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.pricing-tables td:last-child, .pricing-tables th:last-child { border-right: 0; }

/* FAQ accordion (static styles; JS can toggle .open) */
.faq-accordion { display: flex; flex-direction: column; gap: 14px; }
.faq-accordion > div { background: #12254A; border: 1px solid rgba(0,194,255,0.2); border-radius: 14px; padding: 16px; }
.faq-accordion h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.faq-accordion p { color: #CFE0FF; margin-top: 6px; }

/* Contact details / social */
.contact-details { display: flex; flex-direction: column; gap: 10px; }
.contact-details li { display: flex; align-items: center; gap: 10px; color: #EAF1FF; }
.contact-details img { width: 18px; height: 18px; }
.map-embed { display: flex; align-items: center; justify-content: center; min-height: 160px; background: #0E1C39; border: 1px dashed rgba(0,194,255,0.3); border-radius: 12px; color: #B9CDED; }

/* Contact prompt */
.contact-prompt { display: flex; align-items: center; gap: 8px; color: #D7E6FF; }
.contact-prompt a { font-weight: 700; }

/* Steps lists */
.steps-list { display: flex; flex-direction: column; gap: 8px; }
.steps-list li { background: #12254A; border: 1px solid rgba(0,194,255,0.18); padding: 12px 14px; border-radius: 10px; }

/* Hero confirmation icon */
.confirmation-icon img { width: 64px; height: 64px; filter: drop-shadow(0 6px 18px rgba(0,194,255,0.35)); }

/* Panels to emphasize sections */
.curriculum-overview, .pricing-summary, .plan-comparison { background: #0F1C39; border: 1px solid rgba(0,194,255,0.18); border-radius: 12px; padding: 14px 16px; }

/* Pills & labels */
.included-list, .bonus-list, .plan-highlights, .guarantee-terms, .risk-reversal-points, .discounts-list, .eligibility-criteria,
.tools-used, .support-channels, .weekly-plan, .milestones, .learning-paths, .experience-levels, .audience-segments,
.requirements-list, .software-setup-steps, .portfolio-submission-steps, .rights-list, .processors-list, .cookie-categories-list,
.opt-out-links, .project-list, .code-reviews, .supporting-bullets, .portfolio-examples-list, .software-prereqs,
.next-steps-resources, .success-metric-stats, .module-list, .module-list-compact, .learning-objectives, .feature-inclusions {
  display: flex; flex-direction: column; gap: 8px;
}

/* Instructor credentials */
.credentials-list { display: flex; flex-direction: column; gap: 6px; color: #CFE0FF; }

/* Rating and metrics */
.success-metric-stats ul { display: flex; flex-direction: column; gap: 8px; }

/* Review snippets */
.review-snippets ul { display: flex; flex-direction: column; gap: 8px; }

/* Mobile Navigation */
.mobile-menu-toggle {
  position: fixed; right: 16px; top: 14px; z-index: 100; display: inline-flex;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  color: #05101D; background: var(--secondary); border-radius: 10px; border: 0;
  box-shadow: 0 8px 18px rgba(0,194,255,0.35);
}
/* Hidden on desktop */
@media (min-width: 992px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; background: rgba(10,18,36,0.96);
  display: flex; flex-direction: column; padding: 20px; gap: 16px;
  transform: translateX(100%); transition: transform 0.35s ease; z-index: 99;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end; background: transparent; color: #EAF1FF; font-size: 24px;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(0,194,255,0.35);
}
.mobile-nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a {
  display: flex; padding: 12px 14px; border-radius: 10px; color: #EAF1FF;
  border: 1px solid rgba(0,194,255,0.18); background: #0E1C39;
}
.mobile-nav a:hover { background: #12254A; }

/* Hide main nav on mobile, show on tablet+ */
@media (max-width: 991px) {
  header nav a:not(.cta-primary) { display: none; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none; }
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; gap: 12px;
  background: #0E1C39; color: #EAF1FF; border-top: 2px solid rgba(0,194,255,0.35);
  padding: 16px 20px; transform: translateY(110%); transition: transform 0.35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .cookie-actions .accept { composes: cta-primary; }
.cookie-banner .cookie-actions .reject { background: transparent; color: #FFD4D4; border: 2px solid #FF5C5C; border-radius: 12px; padding: 10px 16px; font-weight: 700; }
.cookie-banner .cookie-actions .settings { composes: cta-secondary; }

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 95; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.cookie-modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.96);
  background: #0F1C39; color: #EAF1FF; border: 1px solid rgba(0,194,255,0.3);
  border-radius: 16px; width: calc(100% - 40px); max-width: 680px; padding: 20px; z-index: 96;
  display: flex; flex-direction: column; gap: 16px; opacity: 0; pointer-events: none; transition: all 0.25s ease;
}
.cookie-modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; background: #12254A; }
.cookie-category .toggle { display: inline-flex; width: 48px; height: 28px; border-radius: 999px; background: #2C3D66; position: relative; }
.cookie-category .toggle::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #EAF1FF; left: 3px; top: 3px; transition: transform 0.2s ease; }
.cookie-category .toggle.on { background: rgba(0,194,255,0.5); }
.cookie-category .toggle.on::after { transform: translateX(20px); }
.cookie-modal .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Page-specific small helpers */
.supporting-bullets li, .review-snippets li, .success-metric-stats li { background: #12254A; border: 1px solid rgba(0,194,255,0.18); padding: 10px 12px; border-radius: 10px; }

.money-back-badge { background: #12254A; }

/* Tables within different pages share same .pricing-tables style above */

/* Form stand-ins in enroll page */
.form-fields, .coupon-field, .privacy-consent-checkbox { display: flex; flex-direction: column; gap: 10px; }
.privacy-consent-checkbox { align-items: flex-start; }
.privacy-consent-checkbox a { text-decoration: underline; }

/* Legal pages blocks */
.legal-text-section { background: #0F1C39; border: 1px solid rgba(0,194,255,0.15); border-radius: 12px; padding: 14px 16px; color: #D7E6FF; }
.data-controller-info, .contact-for-privacy, .third-country-transfers-info, .retention-table-placeholder, .exercise-rights-instructions {
  display: flex; align-items: center; gap: 8px; color: #CFE0FF;
}

/* Visibility & spacing rules between cards/sections */
section .content-wrapper > * + * { margin-top: 4px; }

/* Hover micro-interactions for cards */
.feature-grid > div:hover, .instructor-profiles > div:hover, .faq-accordion > div:hover {
  transform: translateY(-2px); transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

/* Alignment utilities */
.center { display: flex; align-items: center; justify-content: center; }
.align-start { align-items: flex-start; }
.space-between { justify-content: space-between; }

/* Ensure min spacing between content blocks */
.content-wrapper > * { margin-bottom: 8px; }
.content-wrapper > *:last-child { margin-bottom: 0; }

/* Responsive rules */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }

  .content-wrapper { gap: 20px; }
  .testimonial-card { flex: 0 0 46%; }
  .feature-grid > div, .instructor-profiles > div { flex: 1 1 calc(50% - 24px); }

  .text-image-section { flex-direction: row; }
}

@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  .container { gap: 24px; }
  .testimonial-card { flex: 0 0 32%; }
  .feature-grid > div, .instructor-profiles > div { flex: 1 1 calc(33.333% - 24px); }

  footer .content-wrapper { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  footer nav { flex: 1 1 100%; }
  footer .contact-info { flex: 1 1 auto; }
  .newsletter-signup { flex: 1 1 360px; justify-content: flex-end; }
}

/* Accessibility: ensure dark text on light testimonial cards already enforced */

/* Z-index layering safety */
header { z-index: 50; }
.mobile-menu { z-index: 99; }
.mobile-menu-toggle { z-index: 100; }
.cookie-banner { z-index: 90; }
.cookie-modal { z-index: 96; }
.cookie-modal-backdrop { z-index: 95; }

/* Prevent overlapping by spacing */
section + section { margin-top: 0; }

/* Additional elements from pages */
.money-back-badge, .rating-badge { gap: 8px; font-weight: 700; }

/* Social links spacing */
.social-links { gap: 10px; }
.social-links a { display: inline-flex; padding: 8px; border-radius: 10px; background: #0F1C39; border: 1px solid rgba(0,194,255,0.18); }
.social-links a:hover { background: #12254A; }

/* Contact info in footer */
footer .contact-info span { display: inline-flex; align-items: center; gap: 8px; }

/* Tables paragraph in cells */
.pricing-tables td, .pricing-tables th { text-align: left; }

/* Breadcrumb arrow spacing tweak */
.breadcrumbs a + * { opacity: 0.9; }

/* Ensure all layouts use flex where container layout is needed */
.plan-comparison, .pricing-summary, .curriculum-overview { display: flex; flex-direction: column; gap: 8px; }

/* Contact / office hours chips */
.office-hours, .availability-hours, .live-chat-note, .placement-rate, .time-to-first-project, .salary-uplift-estimates {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px;
  background: #0E1C39; border: 1px solid rgba(0,194,255,0.18); color: #D7E6FF;
}

/* Review quotes */
.quote-highlights blockquote { margin: 0; padding: 12px 14px; border-left: 4px solid var(--secondary); background: #F5F7FB; color: var(--ink); border-radius: 10px; }

/* Video placeholders */
.video-testimonial-placeholders { display: flex; align-items: center; justify-content: center; min-height: 140px; background: #0E1C39; border: 1px dashed rgba(0,194,255,0.3); border-radius: 12px; color: #B9CDED; }

/* Inputs generic */
input[type="text"], input[type="email"], select {
  background: #0E1C39; border: 1px solid rgba(0,194,255,0.3); color: #EAF1FF; border-radius: 10px; padding: 10px 12px;
}

/* Toggle body state when mobile menu open */
body.menu-open { overflow: hidden; }

/* End of stylesheet */
