* {
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

img,
video,
iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

@media (min-width: 1921px) {
  .container {
    width: min(1400px, calc(100% - 80px));
  }

  .section {
    padding: 120px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
  }
}

@media (min-width: 1441px) and (max-width: 1920px) {
  .container {
    width: min(1280px, calc(100% - 64px));
  }

  .section {
    padding: 90px 0;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 4.25vw, 3.75rem);
  }
}

@media (max-width: 1440px) {
  .container { width: min(1140px, calc(100% - 48px)); }
}

@media (max-width: 1200px) {
  .hero-grid {
    gap: 1.75rem;
  }

  .hero-heading {
    font-size: clamp(1.65rem, 4.5vw, 3.5rem) !important;
  }

  .hero-meta {
    gap: 1rem;
  }

  .meta-pill {
    padding: 1.25rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 60px 0 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-stage {
    order: 2;
  }

  .hero-heading {
    font-size: clamp(1.75rem, 6vw, 3.25rem) !important;
  }

  .hero-lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 0 50px;
    min-height: auto;
  }

  .hero-container {
    padding-top: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-heading {
    font-size: clamp(1.5rem, 7vw, 2.75rem) !important;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-heading-sub {
    display: inline;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-btn-primary {
    min-width: auto !important;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .meta-pill {
    padding: 1.15rem;
  }

  .meta-pill strong {
    font-size: 1.35rem !important;
  }

  .hero-stage {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    min-height: auto;
  }

  .hero-video {
    height: 160px;
    max-height: 160px;
  }

  .hero-video-info {
    padding: 1rem;
  }

  .hero-video-title {
    font-size: 1.1rem !important;
  }

  .hero-video-desc {
    font-size: 0.85rem !important;
  }

  .hero-feature-card {
    padding: 1rem;
  }

  .hero-feature-title {
    font-size: 0.95rem !important;
  }

  .hero-feature-desc {
    font-size: 0.8rem !important;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 85px 0 45px;
  }

  .hero-heading {
    font-size: clamp(1.4rem, 7.5vw, 2.5rem) !important;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .hero-feature-card {
    grid-template-columns: auto 1fr;
    text-align: left;
    padding: 1rem;
    align-items: center;
    gap: 1rem;
  }

  .hero-icon-badge {
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 40px;
  }

  .hero-heading {
    font-size: clamp(1.3rem, 8vw, 2.25rem) !important;
  }

  .hero-lead {
    font-size: 0.875rem;
  }

  .meta-pill {
    padding: 1rem;
  }

  .meta-pill strong {
    font-size: 1.25rem !important;
  }

  .hero-video {
    height: 140px;
    max-height: 140px;
  }

  .hero-video-info {
    padding: 0.875rem;
  }

  .hero-video-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-video-badge {
    align-self: flex-start;
  }
}

@media (max-width: 425px) {
  .hero-heading {
    font-size: clamp(1.2rem, 8.5vw, 2rem) !important;
  }

  .hero-lead {
    font-size: 0.85rem;
  }

  .hero-feature-card {
    padding: 0.875rem;
  }
}

@media (max-width: 375px) {
  .hero-heading {
    font-size: clamp(1.1rem, 9vw, 1.8rem) !important;
  }

  .hero-lead {
    font-size: 0.825rem;
  }

  .meta-pill {
    padding: 0.875rem;
  }

  .hero-video {
    height: 130px;
    max-height: 130px;
  }
}

@media (max-width: 320px) {
  .hero-heading {
    font-size: clamp(1rem, 9.5vw, 1.6rem) !important;
  }

  .hero-lead {
    font-size: 0.8rem;
  }

  .meta-pill {
    padding: 0.75rem;
  }

  .hero-video {
    height: 120px;
    max-height: 120px;
  }
}

@media (max-width: 1024px) {
  .logos-track-fullwidth .logos-track::before,
  .logos-track-fullwidth .logos-track::after {
    width: 120px !important;
  }
}

@media (max-width: 768px) {
  .logos-track-fullwidth .logos-track::before,
  .logos-track-fullwidth .logos-track::after {
    width: 80px !important;
  }

  .placements-section .company-logo {
    min-width: 240px !important;
    height: 160px !important;
    padding: 1.25rem 1.5rem !important;
  }
}

@media (max-width: 600px) {
  .logos-track-fullwidth .logos-track::before,
  .logos-track-fullwidth .logos-track::after {
    width: 60px !important;
  }

  .placements-section .company-logo {
    min-width: 200px !important;
    height: 140px !important;
    padding: 1rem 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .logos-track-fullwidth .logos-track::before,
  .logos-track-fullwidth .logos-track::after {
    width: 40px !important;
  }

  .placements-section .company-logo {
    min-width: 180px !important;
    height: 130px !important;
    padding: 0.875rem 1rem !important;
  }
}

@media (max-width: 375px) {
  .placements-section .company-logo {
    min-width: 160px !important;
    height: 120px !important;
  }
}

@media (max-width: 320px) {
  .placements-section .company-logo {
    min-width: 140px !important;
    height: 110px !important;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(980px, calc(100% - 40px));
  }

  .nav-links {
    position: fixed !important;
    top: 90px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) !important;
    width: calc(100% - 40px) !important;
    max-width: 400px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    flex-direction: column !important;
    gap: 8px !important;
    box-shadow: var(--shadow) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s cubic-bezier(.2, .8, .2, 1) !important;
    z-index: 999 !important;
    display: flex !important;
  }

  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
  }

  .nav-links a {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    order: -1;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .horizontal-rail {
    grid-auto-columns: minmax(260px, 45%);
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-node::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 16px;
  }

  .navbar {
    width: calc(100% - 32px);
    margin: 14px auto 0;
    top: 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-tight {
    padding: 50px 0;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.75rem) !important;
    line-height: 1.15;
  }

  .hero .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .meta-pill {
    padding: 1.25rem;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
    line-height: 1.2;
  }

  h3 {
    font-size: clamp(1.1rem, 5vw, 1.6rem) !important;
  }

  h4 {
    font-size: clamp(1rem, 4.5vw, 1.4rem) !important;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }

  .glass-card,
  .course-card,
  .feature-card {
    padding: 1.25rem !important;
  }

  .testimonial-card {
    padding: 1.5rem !important;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section-head.center {
    text-align: center;
    align-items: center;
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-primary {
    padding: 0.85rem 1.75rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .timeline-dot {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-text span {
    display: none;
  }

  .brand img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
  }

  .hero-stage .floating-chip,
  .hero-stage .floating-mockup {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(260px, 85%);
    gap: 16px;
    padding: 16px 0 24px;
  }

  .horizontal-rail::-webkit-scrollbar {
    height: 10px;
  }

  .testimonial-stats {
    flex-direction: column;
    gap: 24px;
  }

  .testimonial-stats .stat-item strong {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding: 0 14px;
  }

  .navbar {
    width: calc(100% - 28px);
    margin: 12px auto 0;
    top: 10px;
  }

  .nav-inner {
    min-height: 70px;
    padding: 0 14px;
  }

  .brand img {
    width: 48px !important;
    height: 48px !important;
  }

  .section {
    padding: 55px 0;
  }

  .section-tight {
    padding: 45px 0;
  }

  .hero {
    padding: 95px 0 55px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
  }

  .hero .lead {
    font-size: 0.925rem;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(250px, 88%);
    gap: 14px;
    padding: 14px 0 22px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .meta-pill {
    padding: 1.15rem;
  }

  .meta-pill strong {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 12px;
  }

  .navbar {
    width: calc(100% - 24px);
  }

  .hero {
    padding: 90px 0 50px;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7.5vw, 2.25rem) !important;
  }

  .hero .lead {
    font-size: 0.9rem;
  }

  .meta-pill {
    padding: 1rem;
  }

  .hero-stage {
    min-height: auto;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(240px, 92%);
    gap: 12px;
    padding: 12px 0 20px;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.9rem;
  }

  .nav-inner {
    padding: 0 12px;
  }

  .brand img {
    width: 45px !important;
    height: 45px !important;
  }

  .section-head {
    gap: 0.75rem;
  }

  .testimonial-stats {
    gap: 20px;
  }
}

@media (max-width: 425px) {
  .container {
    width: 100%;
    padding: 0 10px;
  }

  .navbar {
    width: calc(100% - 20px);
    margin: 10px auto 0;
  }

  .hero h1 {
    font-size: clamp(1.25rem, 7.5vw, 2rem) !important;
  }

  .hero .lead {
    font-size: 0.9rem;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(230px, 94%);
    gap: 10px;
    padding: 10px 0 18px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .nav-inner {
    padding: 0 12px;
    min-height: 70px;
  }

  .brand img {
    width: 45px !important;
    height: 45px !important;
  }

  .glass-card,
  .course-card,
  .feature-card {
    padding: 1rem !important;
  }
}

@media (max-width: 375px) {
  .container {
    width: 100%;
    padding: 0 8px;
  }

  .navbar {
    width: calc(100% - 16px);
    margin: 10px auto 0;
  }

  .hero h1 {
    font-size: clamp(1.15rem, 7vw, 1.8rem) !important;
  }

  .hero .lead {
    font-size: 0.875rem;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(220px, 96%);
    gap: 8px;
    padding: 8px 0 16px;
  }

  .btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.85rem;
  }

  .glass-card,
  .course-card,
  .feature-card {
    padding: 1rem !important;
  }

  .testimonial-card {
    padding: 1.25rem !important;
  }
}

@media (max-width: 320px) {
  .container {
    width: 100%;
    padding: 0 6px;
  }

  .navbar {
    width: calc(100% - 12px);
    margin: 10px auto 0;
  }

  .hero h1 {
    font-size: clamp(1.05rem, 6.5vw, 1.6rem) !important;
  }

  .hero .lead {
    font-size: 0.85rem;
  }

  .horizontal-rail {
    grid-auto-columns: minmax(210px, 98%);
    gap: 6px;
    padding: 6px 0 14px;
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .nav-inner {
    padding: 0 10px;
    min-height: 68px;
  }

  .brand img {
    width: 42px !important;
    height: 42px !important;
  }

  .glass-card,
  .course-card,
  .feature-card {
    padding: 0.875rem !important;
  }

  .testimonial-card {
    padding: 1rem !important;
  }
}

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

  .certificate-card::before {
    display: none;
  }

  .aurora,
  .noise {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .course-card:hover,
  .glass-card:hover,
  .feature-card:hover {
    transform: none !important;
  }

  .btn::after {
    display: none;
  }
}

@media print {
  .navbar,
  .footer,
  .aurora,
  .noise,
  .cta-band {
    display: none !important;
  }

  body {
    background: white !important;
  }
}
