/* ===== RESPONSIVE FONT SIZE SYSTEM ===== */
/* Design System: Source Sans Pro */
/* Breakpoints: 2400+ → 1920 (default) → 1440 → 1280 → Mobile (768) */

/* ===== Extra Large Screens (2000px+) ===== */
@media (min-width: 2000px) {
  :root {
    --fs-h1: 100px;
    --fs-h2: 96px;
    --fs-h3: 62px;
    --fs-h4: 38px;
    --fs-h5: 34px;
    --fs-h6: 30px;
    --fs-p: 24px;
  }

  /* ---- Header ---- */
  .header__inner {
    max-width: 2400px;
    padding: 0 140px;
  }

  .header__link {
    font-size: 24px;
  }

  .header__cta {
    font-size: 22px;
    height: 56px;
    padding: 14px 24px;
  }

  .header__nav {
    gap: 40px;
  }

  /* ---- Hero ---- */
  .hero {
    height: 1080px;
  }

  .hero__overlay {
    -webkit-mask-size: 54vw 185vh;
    mask-size: 54vw 185vh;
    -webkit-mask-position: calc(45% + 32.5vw) calc(50% + 28vh);
    mask-position: calc(45% + 32.5vw) calc(50% + 28vh);
  }

  .hero__thunder {
    right: -10.8vw;
    height: calc(100% + 5.5vw);
  }
  .hero__thunder svg {
    width: 100%;
    height: 100%;
  }

  .hero__content {
    padding: 240px 140px 100px;
    max-width: 1050px;
  }

  .hero__title {
    margin-bottom: 70px;
  }

  .btn--yellow {
    height: 80px;
    font-size: 22px;
    padding: 16px 26px;
  }

  /* ---- Section Padding (global) ---- */
  .section-padding {
    padding: 100px 140px;
  }

  .divider {
    max-width: calc(100% - 280px);
  }

  /* ---- Who We Are ---- */
  .who-we-are {
    padding: 100px 0 0;
  }

  .who-we-are__inner {
    max-width: 2400px;
    padding: 0 140px;
    gap: 100px;
    padding-bottom: 80px;
  }

  .who-we-are__left {
    flex: 0 0 520px;
  }

  .section-label {
    font-size: 22px;
  }

  .section-label--underline {
    font-size: 26px;
  }

  /* ---- Services ---- */
  .services {
    padding: 80px 0 100px;
  }

  .services__header {
    max-width: 2400px;
    padding: 0 140px 50px;
  }

  .services__title {
    font-size: 64px;
  }

  .services__desc {
    font-size: 22px;
    max-width: 1400px;
  }

  .services__grid {
    gap: 24px;
    padding: 0 24px 0 140px;
  }

  .services__card {
    flex: 0 0 460px;
    height: 580px;
  }

  .services__card-label {
    font-size: 24px;
    padding: 20px 28px;
  }

  .services__card-overlay {
    padding: 28px 28px 22px;
  }

  .services__card-overlay-title {
    font-size: 24px;
  }

  .services__card-text {
    font-size: 17px;
  }

  /* ---- Powering ---- */
  .powering {
    padding: 100px 0;
  }

  .powering__inner {
    max-width: 2400px;
    padding: 0 140px;
    gap: 80px;
    margin-bottom: 100px;
  }

  .powering__left {
    flex: 0 0 660px;
  }

  .powering__title {
    font-size: 60px;
  }

  .powering__desc {
    font-size: 22px;
    max-width: 600px;
  }

  .powering__images {
    height: 580px;
  }

  .powering__img--1 {
    height: 480px;
  }

  .powering__img--2 {
    height: 400px;
  }

  /* Stats */
  .stats {
    max-width: 2400px;
    padding: 0 140px;
    gap: 60px;
  }

  .stats__number {
    font-size: 60px;
  }

  .stats__plus {
    font-size: 60px;
  }

  .stats__label {
    font-size: 34px;
  }

  .stats__desc {
    font-size: 22px;
    max-width: 480px;
  }

  .stats__line {
    max-width: 480px;
  }

  /* ---- Products ---- */
  .products {
    padding: 80px 0 100px;
  }

  .products__bolt-mask {
    -webkit-mask-size: 850px 1450px;
    mask-size: 850px 1450px;
    -webkit-mask-position: calc(50% + 600px) calc(50% + 120px);
    mask-position: calc(50% + 600px) calc(50% + 120px);
  }

  .products__inner {
    max-width: 2400px;
    padding: 0 140px;
    margin-bottom: 70px;
  }

  .products__title {
    font-size: 56px;
  }

  .products__desc {
    font-size: 22px;
    max-width: 1200px;
  }

  .products__carousel {
    padding: 0 0 0 140px;
  }

  .products__track {
    gap: 24px;
  }

  .products__card {
    flex: 0 0 350px;
    height: 310px;
    padding: 30px 24px;
  }

  .products__card-title {
    font-size: 34px;
  }

  .products__controls {
    padding: 35px 140px 0 0;
  }

  /* ---- Why Us ---- */
  .why-us {
    padding: 100px 0;
  }

  .why-us__inner {
    max-width: 2400px;
    padding: 0 140px;
  }

  .why-us__content {
    padding: 100px 80px;
  }

  .why-us__title {
    font-size: 60px;
  }

  .why-us__desc {
    font-size: 22px;
  }

  .why-us__feature p {
    font-size: 22px;
  }

  .why-us__image-wrapper {
    min-height: 580px;
  }

  .why-us__play span {
    font-size: 34px;
  }

  /* ---- Industries ---- */
  .industries {
    padding: 100px 0;
  }

  .industries__inner {
    max-width: 2400px;
    padding: 0 140px;
  }

  .industries__title {
    font-size: 64px;
    max-width: 1100px;
  }

  .industries__header {
    margin-bottom: 60px;
  }

  .industries__grid {
    gap: 24px;
  }

  .industries__card {
    flex: 0 0 calc(25% - 18px);
    min-width: 320px;
    height: 510px;
    padding: 56px 34px;
  }

  .industries__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 36px;
  }

  .industries__icon img {
    width: 80px;
    height: 80px;
  }

  .industries__card-title {
    font-size: 34px;
  }

  .industries__card-desc {
    font-size: 20px;
  }

  /* ---- Partners ---- */
  .partners {
    padding: 100px 0 140px;
  }

  .partners__title {
    font-size: 64px;
    margin-bottom: 60px;
  }

  .partners__logo {
    height: 56px;
  }

  .partners__track {
    gap: 110px;
  }

  /* ---- CTA ---- */
  .cta {
    margin: 0 140px;
  }

  .cta__inner {
    min-height: 460px;
  }

  .cta__content {
    padding: 90px 70px;
  }

  .cta__title {
    font-size: 82px;
    margin-bottom: 48px;
  }

  /* ---- Footer ---- */
  .footer__cta {
    padding: 100px 0 80px;
  }

  .footer__inner {
    padding: 0 140px;
    margin-bottom: 100px;
  }

  .footer__heading {
    font-size: 28px;
    margin-bottom: 48px;
  }

  .footer__brand-desc {
    font-size: 22px;
  }

  .footer__links a {
    font-size: 22px;
  }

  .footer__links-grid {
    gap: 100px;
  }

  .footer__contact-item p {
    font-size: 22px;
  }

  .footer__social {
    width: 50px;
    height: 50px;
  }

  .footer__social img {
    width: 20px;
    height: 20px;
  }

  .footer__bottom {
    max-width: 2400px;
    padding: 0 140px;
    padding-top: 36px;
  }

  .footer__bottom p {
    font-size: 22px;
  }

  /* ---- Nav Arrows (global) ---- */
  .nav-arrow {
    width: 80px;
    height: 80px;
  }

  .nav-arrow svg {
    width: 80px;
    height: 80px;
  }

  .nav-arrow img {
    width: 80px;
    height: 80px;
  }

  /* ---- Link arrows ---- */
  .link-arrow {
    font-size: var(--fs-p);
  }

  /* ---- Dots ---- */
  .dot {
    width: 22px;
    height: 22px;
  }
}

/* ===== 1440px ===== */
@media (max-width: 1440px) {
  :root {
    --fs-h1: 72px;
    --fs-h2: 70px;
    --fs-h3: 42px;
    --fs-h4: 28px;
    --fs-h5: 24px;
    --fs-h6: 20px;
    --fs-p: 18px;
  }

  .header__inner {
    padding: 0 60px;
  }

  .header__link {
    font-size: 22px;
    font-weight: 600;
  }

  .hero {
    height: 780px;
  }

  .hero__content {
    padding: 140px 60px 60px;
    max-width: 50%;
  }

  .hero__title {
    font-size: var(--fs-h1);
  }

  .hero__overlay {
    -webkit-mask-size: 55.5vw 173vh;
    mask-size: 55.5vw 173vh;
    -webkit-mask-position: calc(45% + 29.2vw) calc(50% + 23vh);
    mask-position: calc(45% + 29.2vw) calc(50% + 23vh);
  }

  .hero__thunder {
    right: -9.7vw;
  }

  .section__title {
    font-size: var(--fs-h2);
  }
}

/* ===== 1280px ===== */
@media (max-width: 1280px) {
  :root {
    --fs-h1: 64px;
    --fs-h2: 60px;
    --fs-h3: 36px;
    --fs-h4: 24px;
    --fs-h5: 20px;
    --fs-h6: 16px;
    --fs-p: 18px;
  }

  .header {
    height: 100px;
  }

  .header__inner {
    padding: 0 40px;
  }

  .header__logo img {
    width: 80px;
    height: 130px;
  }

  .hero {
    height: 700px;
    margin-top: 100px;
  }

  .hero__content {
    padding: 120px 40px 40px;
    max-width: 55%;
  }

  .hero__overlay {
    -webkit-mask-size: 50.8vw 171vh;
    mask-size: 50.8vw 171vh;
    -webkit-mask-position: calc(45% + 25vw) calc(50% + 23.4vh);
    mask-position: calc(45% + 25vw) calc(50% + 23.4vh);
  }

  .hero__thunder {
    right: -15.6vw;
  }

  .section-padding {
    padding: 80px 40px;
  }
}

/* ===== Tablet (1024px) ===== */
@media (max-width: 1024px) {
  .header__nav {
    gap: 20px;
  }

  .header__link {
    font-size: 14px;
  }

  .hero__content {
    max-width: 60%;
  }

  .hero__overlay {
    width: 50%;
  }

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

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

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

/* ===== Mobile (768px) ===== */
@media (max-width: 768px) {
  :root {
    --fs-h1: 36px;
    --fs-h2: 28px;
    --fs-h3: 24px;
    --fs-h4: 20px;
    --fs-h5: 18px;
    --fs-h6: 16px;
    --fs-p: 14px;
  }

  /* Header - fixed size, no scroll shrink on mobile */
  .header {
    height: 70px !important;
  }
  .header--scrolled {
    height: 70px !important;
  }
  .header__inner {
    padding: 0 20px;
  }
  .header__logo img {
    width: 60px !important;
    height: 70px !important;
    transition: none !important;
  }
  .header--scrolled .header__logo img {
    width: 60px !important;
    height: 70px !important;
  }
  .header__nav {
    display: none;
  }
  .header__cta {
    display: none;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 420px;
    margin-top: 70px;
  }
  .hero__content {
    max-width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 5;
  }
  .hero__title {
    font-size: var(--fs-h1);
    line-height: 1.15;
  }
  .hero__subtitle {
    font-size: var(--fs-p);
  }
  .hero__overlay {
    display: none;
  }
  .hero__overlay-mobile {
    display: block;
  }
  .hero__thunder {
    display: none !important;
  }

  /* Buttons touch-friendly */
  .btn {
    font-size: var(--fs-p);
    padding: 12px 18px;
    height: 48px;
    min-height: 44px;
  }

  /* Section spacing - reduced, consistent */
  .section-padding {
    padding: 40px 20px;
  }

  /* Description font sizes - all 14px */
  .services__desc,
  .powering__desc,
  .products__desc,
  .why-us__desc,
  .industries__card-desc {
    font-size: var(--fs-p) !important;
  }

  /* Nav arrows - 42px on mobile */
  .nav-arrow {
    width: 42px !important;
    height: 42px !important;
  }
  .nav-arrow svg {
    width: 42px !important;
    height: 42px !important;
  }
  .nav-arrow img {
    width: 42px !important;
    height: 42px !important;
  }

  /* Grid fallbacks */
  .products__grid {
    grid-template-columns: 1fr;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .operations__content {
    flex-direction: column;
  }
  .compliance__grid {
    grid-template-columns: 1fr;
  }
  .cta__content {
    flex-direction: column;
    text-align: left;
  }

  /* Footer stacked */
  .footer__content {
    flex-direction: column;
    gap: 32px;
  }
  .footer__inner {
    padding: 0 20px;
    flex-direction: column;
    gap: 32px;
  }
  .footer__col--brand,
  .footer__col--links,
  .footer__col--contact {
    flex: none;
    width: 100%;
  }
  .footer__links-grid {
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer__bottom {
    padding: 20px 20px 0;
  }

  /* Prevent horizontal scroll */
  .hero,
  .services,
  .products,
  .industries,
  .powering,
  .who-we-are,
  .why-us,
  .partners,
  .cta,
  .footer {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* ===== Small Mobile (480px) ===== */
@media (max-width: 480px) {
  :root {
    --fs-h1: 30px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h4: 18px;
    --fs-h5: 16px;
    --fs-h6: 14px;
    --fs-p: 14px;
  }

  .header__logo img {
    width: 50px !important;
    height: 60px !important;
  }
  .header--scrolled .header__logo img {
    width: 50px !important;
    height: 60px !important;
  }

  .hero__content {
    padding: 30px 16px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 16px;
    height: 44px;
  }

  .section-padding {
    padding: 30px 16px;
  }

  .industries__card {
    flex: 0 0 210px;
    min-width: 210px;
    min-height: 250px;
    padding: 20px 16px;
  }

  .services__card {
    flex: 0 0 240px;
    height: 340px;
  }

  .products__card {
    flex: 0 0 200px;
    height: 200px;
  }
}
