/* =====================================================
   IC Council v2 — custom theme
   Palette: midnight slate / signal teal / coral spark
   Mood: cinematic terminal, glass surfaces
   ===================================================== */

:root {
  --ink: #0b1424;
  --ink-2: #101d36;
  --ink-3: #16264a;
  --paper: #eef3f8;
  --teal: #2fe0c0;
  --teal-deep: #0fbf9f;
  --coral: #ff6b5e;
  --white: #ffffff;
  --muted: #5c6b7e;
  --muted-dark: #8fa1b8;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
}

::selection { background: var(--teal); color: var(--ink); }

/* ============ shared type ============ */
.ic2-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.2rem;
}
.ic2-eyebrow i { font-size: 0.5rem; }
.ic2-eyebrow.dark { color: var(--teal-deep); }

.ic2-h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.ic2-h1 em { font-style: normal; color: var(--teal); }

.ic2-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1rem;
}
.ic2-h2 em { font-style: normal; color: var(--teal-deep); }
.ic2-h2.light { color: var(--white); }
.ic2-h2.light em { color: var(--teal); }

.ic2-lead { color: rgba(230, 240, 248, 0.82); font-size: 1.08rem; line-height: 1.75; max-width: 560px; margin: 0 auto 2rem; }
.ic2-text { color: var(--muted); line-height: 1.8; }
.ic2-text.on-dark { color: var(--muted-dark); }

.ic2-textlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; margin-top: 1.2rem;
  transition: color 0.25s;
}
.ic2-textlink i { font-size: 0.75rem; transition: transform 0.3s var(--ease-out); }
.ic2-textlink:hover { color: var(--teal-deep); }
.ic2-textlink:hover i { transform: translateX(5px); }
.ic2-textlink.on-dark { color: var(--teal); }
.ic2-textlink.on-dark:hover { color: var(--white); }

.ic2-section { padding: 7rem 0; position: relative; }
.ic2-paper { background: var(--paper); color: var(--ink); }
.ic2-dark { background: var(--ink); color: var(--white); }

/* ============ buttons ============ */
.ic2-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 0.95rem;
  border-radius: 100px; padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.3s, color 0.3s, border-color 0.3s;
}
.ic2-btn i { transition: transform 0.35s var(--ease-out); }
.ic2-btn:hover i { transform: translateX(4px); }
.ic2-btn:active { transform: scale(0.97); }

.ic2-btn-teal { background: var(--teal); color: var(--ink); }
.ic2-btn-teal:hover { background: var(--teal); color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(47, 224, 192, 0.35); }

.ic2-btn-glass {
  background: rgba(255,255,255,0.06); color: var(--white);
  border-color: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.ic2-btn-glass:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-3px); }

.ic2-btn-sm { padding: 0.55rem 1.3rem; font-size: 0.85rem; }

/* ============ nav ============ */
.ic2-nav { padding: 1rem 0; transition: background-color 0.4s, padding 0.4s, box-shadow 0.4s; }
.ic2-nav.is-scrolled {
  background: rgba(11, 20, 36, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.55rem 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.ic2-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.ic2-brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--ink); font-size: 0.9rem;
  box-shadow: 0 0 22px rgba(47,224,192,0.45);
}
.ic2-brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.ic2-brand-text em { font-style: normal; color: var(--teal); }

.ic2-nav .nav-link {
  color: rgba(255,255,255,0.72); font-size: 0.92rem; font-weight: 600;
  margin: 0 0.35rem; position: relative; padding: 0.5rem 0.6rem;
  transition: color 0.25s;
}
.ic2-nav .nav-link::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.2rem;
  height: 2px; border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.ic2-nav .nav-link:hover { color: var(--white); }
.ic2-nav .nav-link:hover::after { transform: scaleX(1); }

.ic2-toggler { background: none; border: 0; width: 40px; height: 34px; position: relative; }
.ic2-toggler span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--white); }
.ic2-toggler span:nth-child(1) { top: 12px; }
.ic2-toggler span:nth-child(2) { top: 20px; }

@media (max-width: 991.98px) {
  .ic2-nav .navbar-collapse {
    background: rgba(16,29,54,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px; padding: 1.4rem; margin-top: 0.8rem;
  }
}

/* ============ hero ============ */
.ic2-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 10rem 0 6rem;
  overflow: hidden;
}
.ic2-hero-bg {
  position: absolute; inset: -10% 0;
  background: url('../images/photo-1449824913935-59a10b8d2000.avif') center / cover no-repeat;
  will-change: transform;
}
.ic2-hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(47,224,192,0.1), transparent 60%),
    linear-gradient(to bottom, rgba(11,20,36,0.85) 0%, rgba(11,20,36,0.72) 45%, var(--ink) 100%);
}
.ic2-hero-inner { position: relative; z-index: 2; max-width: 900px; }

.ic2-hero .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ic2-hero .line-in {
  display: block; transform: translateY(115%);
  animation: lineUp 1.05s var(--ease-out) forwards;
}
.ic2-hero .line:nth-child(2) .line-in { animation-delay: 0.16s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-fade { opacity: 0; transform: translateY(20px); animation: fadeUp 0.9s var(--ease-out) forwards; }
.ic2-eyebrow.hero-fade { animation-delay: 0.1s; }
.ic2-lead.hero-fade { animation-delay: 0.45s; }
div.hero-fade { animation-delay: 0.58s; }
ul.hero-fade { animation-delay: 0.75s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.ic2-eyebrow.hero-fade {
  border: 1px solid rgba(47,224,192,0.35);
  background: rgba(47,224,192,0.08);
  border-radius: 100px; padding: 0.5rem 1.15rem;
}

.hero-strip {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.9rem; padding: 0; margin: 4rem 0 0;
}
.hero-strip li {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px; padding: 0.9rem 1.3rem;
  font-size: 0.8rem; line-height: 1.4; color: rgba(255,255,255,0.7);
  text-align: left;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.hero-strip li:hover { transform: translateY(-4px); border-color: rgba(47,224,192,0.5); }
.hero-strip b { color: var(--white); }
.hero-strip i { color: var(--teal); font-size: 1.1rem; }

/* ============ ticker ============ */
.ic2-ticker {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden; padding: 1.2rem 0;
}
.ic2-ticker-track { display: flex; width: max-content; animation: ic2Ticker 38s linear infinite; }
.ic2-ticker:hover .ic2-ticker-track { animation-play-state: paused; }
.ic2-ticker-track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); white-space: nowrap;
}
.ic2-ticker-track i { font-style: normal; color: var(--teal); font-size: 0.5rem; margin: 0 1.3rem; vertical-align: middle; }
@keyframes ic2Ticker { to { transform: translateX(-50%); } }

/* ============ about ============ */
.about-shot { position: relative; border-radius: 24px; }
.about-shot::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1.5px solid rgba(15,191,159,0.5); border-radius: 24px; z-index: 0;
  transition: inset 0.5s var(--ease-out);
}
.about-shot:hover::before { inset: -8px 8px 8px -8px; }
.about-shot img {
  position: relative; z-index: 1;
  width: 100%; border-radius: 24px; display: block;
  aspect-ratio: 4 / 3.2; object-fit: cover;
  box-shadow: 0 40px 80px rgba(11,20,36,0.2);
}
.about-badge {
  position: absolute; z-index: 2; left: -16px; bottom: 28px;
  background: var(--ink); color: var(--white);
  border: 1px solid rgba(47,224,192,0.35);
  border-radius: 18px; padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 20px 44px rgba(11,20,36,0.4);
  animation: bob 5s ease-in-out infinite;
}
.about-badge b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--teal); }
.about-badge span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; color: var(--muted-dark); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.about-points { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.6rem; }
.about-point {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(11,20,36,0.08);
  border-radius: 14px; padding: 0.85rem 1.15rem;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}
.about-point:hover { transform: translateX(6px); border-color: rgba(15,191,159,0.5); }
.about-point i { color: var(--teal-deep); }

/* ============ why us — manifesto rows ============ */
.why-list { border-top: 1px solid rgba(11,20,36,0.12); }
.why-row {
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.9rem 0.6rem;
  border-bottom: 1px solid rgba(11,20,36,0.12);
  transition: background-color 0.35s, padding-left 0.35s var(--ease-out);
}
.why-row:hover { background: rgba(15,191,159,0.06); padding-left: 1.4rem; }
.why-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.9rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(11,20,36,0.3);
  flex-shrink: 0; width: 3.2rem;
  transition: -webkit-text-stroke 0.3s;
}
.why-row:hover .why-num { -webkit-text-stroke: 1.2px var(--teal-deep); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--teal); font-size: 1.15rem;
}
.why-copy { flex: 1; }
.why-copy h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-bottom: 0.3rem; }
.why-copy p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; max-width: 560px; }
.why-arrow { color: rgba(11,20,36,0.25); transition: color 0.3s, transform 0.35s var(--ease-out); }
.why-row:hover .why-arrow { color: var(--teal-deep); transform: translateX(6px); }

@media (max-width: 767.98px) {
  .why-row { flex-wrap: wrap; gap: 1rem; }
  .why-arrow { display: none; }
}

/* ============ courses — editorial list ============ */
#courses {
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(47,224,192,0.07), transparent 60%),
    var(--ink);
}
.course-list { border-top: 1px solid rgba(255,255,255,0.1); }
.course-row {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: background-color 0.35s, padding-left 0.35s var(--ease-out);
}
.course-row:hover { background: rgba(47,224,192,0.05); padding-left: 1.4rem; }
.course-idx {
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  width: 2.6rem; flex-shrink: 0;
  transition: -webkit-text-stroke 0.3s;
}
.course-row:hover .course-idx { -webkit-text-stroke: 1px var(--teal); }
.course-thumb {
  width: 84px; height: 60px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0;
  filter: saturate(0.85);
  transition: filter 0.35s, transform 0.35s var(--ease-out);
}
.course-row:hover .course-thumb { filter: saturate(1.15); transform: scale(1.06); }
.course-name {
  flex: 1;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: var(--white);
}
.course-meta {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-dark); flex-shrink: 0;
}
.course-go {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  font-size: 0.8rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
}
.course-row:hover .course-go { background: var(--teal); color: var(--ink); border-color: var(--teal); transform: rotate(-45deg); }

@media (max-width: 767.98px) {
  .course-meta { display: none; }
  .course-thumb { width: 64px; height: 48px; }
}

/* ============ testimonials ============ */
.ic2-quote {
  position: relative; height: 100%; margin: 0;
  background: var(--white);
  border: 1px solid rgba(11,20,36,0.1);
  border-radius: 22px; padding: 2.4rem;
  box-shadow: 0 24px 48px rgba(11,20,36,0.07);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.ic2-quote:hover { transform: translateY(-8px); box-shadow: 0 36px 70px rgba(11,20,36,0.12); }
.ic2-quote-mark { font-size: 1.8rem; color: var(--teal-deep); opacity: 0.5; margin-bottom: 1rem; }
.ic2-quote blockquote {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.2rem; line-height: 1.55; color: var(--ink);
  margin-bottom: 1.8rem;
}
.ic2-quote figcaption { display: flex; align-items: center; gap: 0.9rem; }
.ic2-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--teal);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.ic2-avatar.alt { background: var(--coral); color: var(--white); }
.ic2-quote figcaption b { display: block; font-size: 0.95rem; color: var(--ink); }
.ic2-quote figcaption small { color: var(--muted); font-size: 0.78rem; }

/* ============ enroll ============ */
.enroll-panel {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  text-align: center;
  padding: 4.5rem 2rem 3.5rem;
}
.enroll-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 50% 0%, rgba(47,224,192,0.16), transparent 60%),
    radial-gradient(ellipse 35% 40% at 95% 100%, rgba(255,107,94,0.08), transparent 60%);
  pointer-events: none;
}
.enroll-panel > *:not(.enroll-glow) { position: relative; }
.enroll-form { max-width: 760px; margin: 2rem auto 0; }
.ic2-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px; color: var(--white);
  padding: 0.85rem 1.3rem; font-size: 0.92rem;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
textarea.ic2-input { border-radius: 16px; }
.ic2-input::placeholder { color: rgba(255,255,255,0.38); }
.ic2-input:focus {
  background: rgba(255,255,255,0.09); color: var(--white);
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,224,192,0.15);
}
select.ic2-input option { color: var(--ink); }

.ic2-success { display: none; padding: 2.5rem 0 0.5rem; }
.ic2-success.show { display: block; animation: ic2Pop 0.6s var(--ease-out); }
.ic2-success i { font-size: 3rem; color: var(--teal); margin-bottom: 1rem; }
.ic2-success h3 { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.ic2-success p { color: var(--muted-dark); }
@keyframes ic2Pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

/* ============ footer ============ */
.ic2-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 0;
}
.ic2-foot-note { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin: 0; }

/* ============ scroll reveals ============ */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ic2-hero .line-in { transform: none; }
}
