/*
Theme Name: ERMinds Child
Theme URI: https://erminds.com/
Description: ERMinds one-page website child theme.
Author: ERMinds
Template: twentytwentyfour
Version: 1.0.0
Text Domain: erminds-child
*/

* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --bg: #050816;
      --bg-light: #0c1025;
      --card: rgba(255,255,255,0.04);
      --border: rgba(255,255,255,0.08);
      --text: #ffffff;
      --muted: #9ca3af;
      --blue: #2563ff;
      --purple: #8b5cf6;
      --gradient: linear-gradient(135deg,#2563ff,#9333ea);
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.6;
    }

    body::before {
      content: '';
      position: fixed;
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, rgba(37,99,255,0.18), transparent 70%);
      top: -200px;
      right: -200px;
      z-index: -1;
    }

    body::after {
      content: '';
      position: fixed;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(147,51,234,0.12), transparent 70%);
      bottom: -200px;
      left: -200px;
      z-index: -1;
    }

    .container {
      width: min(1200px, 92%);
      margin: auto;
    }

    .announcement {
      background: linear-gradient(135deg,#2563ff,#9333ea);
      padding: 12px;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: #ffffff;
    }

    nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(18px);
      background: rgba(5,8,22,0.75);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .navbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 0;
    }

    .logo {
      width: 154px;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex: 0 0 154px;
    }

    .logo img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: contain;
      object-position: left center;
      filter: drop-shadow(0 12px 24px rgba(0,0,0,0.22));
    }

    .theme-toggle {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      cursor: pointer;
      transition: 0.3s ease;
      font-size: 18px;
    }

    .menu-toggle {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.04);
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      transition: 0.3s ease;
    }

    .menu-toggle span {
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
      color: var(--text);
      display: block;
    }

    .theme-toggle:hover {
      transform: translateY(-2px);
      border-color: rgba(124,156,255,0.3);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .light-theme {
      --bg: #f5f7ff;
      --bg-light: #eef2ff;
      --card: rgba(255,255,255,0.8);
      --border: rgba(15,23,42,0.08);
      --text: #0f172a;
      --muted: #475569;
    }

    .light-theme nav {
      background: rgba(255,255,255,0.94);
      border-bottom: 1px solid rgba(15,23,42,0.1);
      box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    }

    .light-theme .announcement {
      background: linear-gradient(135deg,#2563ff,#9333ea);
      color: #ffffff;
    }

    .light-theme .logo img {
      filter: drop-shadow(0 10px 24px rgba(15,23,42,0.08));
    }

    .light-theme .nav-links a,
    .light-theme .theme-toggle,
    .light-theme input,
    .light-theme textarea,
    .light-theme .hero-tag,
    .light-theme .country,
    .light-theme .feature-item {
      color: #0f172a;
    }

    .light-theme .theme-toggle,
    .light-theme .menu-toggle,
    .light-theme .btn-secondary {
      background: rgba(15,23,42,0.04);
      border-color: rgba(15,23,42,0.12);
    }

    .light-theme input,
    .light-theme textarea {
      background: rgba(255,255,255,0.95);
    }

    .light-theme .btn-secondary {
      color: #0f172a;
    }

    .light-theme .footer-links a,
    .light-theme .copyright {
      color: #475569;
    }

.nav-links {
      display: flex;
      gap: 20px;
      align-items: center;
    }

    .nav-links ul,
    .nav-links li,
    .footer-grid ul,
    .footer-grid li {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links li {
      display: inline-flex;
    }

    .nav-links a {
      color: white;
      text-decoration: none;
      font-size: 14px;
      font-weight: 600;
      opacity: 0.85;
      transition: 0.3s;
      white-space: nowrap;
    }

    .nav-links a:hover {
      opacity: 1;
      color: #7c9cff;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 24px;
      border-radius: 14px;
      text-decoration: none;
      font-weight: 600;
      transition: 0.3s ease;
      border: none;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--gradient);
      color: white;
      box-shadow: 0 10px 30px rgba(37,99,255,0.3);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
    }

    .btn-secondary {
      border: 1px solid var(--border);
      color: white;
      background: rgba(255,255,255,0.03);
    }

    .hero {
      padding: 110px 0 90px;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 60px;
      align-items: center;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      padding: 10px 18px;
      border-radius: 100px;
      margin-bottom: 28px;
      color: #cbd5e1;
      font-size: 14px;
    }

    .hero h1 {
      font-size: 76px;
      line-height: 1;
      margin-bottom: 28px;
      letter-spacing: -3px;
    }

    .gradient-text {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero p {
      color: var(--muted);
      font-size: 18px;
      max-width: 700px;
      margin-bottom: 36px;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 40px;
    }

    .stat-box {
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
      border: 1px solid var(--border);
      padding: 24px 22px;
      border-radius: 22px;
      backdrop-filter: blur(12px);
      min-height: 134px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
      position: relative;
      overflow: hidden;
    }

    .stat-box::before {
      content: '';
      position: absolute;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: rgba(124,156,255,0.14);
      top: -28px;
      right: -24px;
    }

    .stat-box h3 {
      font-size: 34px;
      line-height: 1;
      margin-bottom: 8px;
    }

    .stat-box p {
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.35;
      text-transform: uppercase;
      letter-spacing: 0.7px;
      margin-bottom: 0;
    }

    .hero-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      border: 1px solid var(--border);
      padding: 34px;
      border-radius: 30px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 28px 70px rgba(0,0,0,0.24);
    }

    .hero-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(37,99,255,0.15), transparent 50%);
    }

    .hero-card * {
      position: relative;
      z-index: 2;
    }

    .hero-card h3 {
      font-size: 32px;
      margin-bottom: 24px;
    }

    .feature-item {
      padding: 18px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 18px;
      margin-bottom: 14px;
      color: #dbe4ff;
    }

    .light-theme .hero-card {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,242,255,0.76)),
        radial-gradient(circle at top right, rgba(37,99,255,0.14), transparent 48%);
      border-color: rgba(37,99,255,0.14);
      box-shadow: 0 30px 80px rgba(37,99,255,0.14), 0 12px 34px rgba(15,23,42,0.08);
    }

    .light-theme .hero-card::before {
      background: radial-gradient(circle at top right, rgba(37,99,255,0.18), transparent 55%);
    }

    .light-theme .feature-item {
      background: rgba(255,255,255,0.78);
      border-color: rgba(37,99,255,0.11);
      box-shadow: 0 12px 26px rgba(15,23,42,0.06);
    }

    section {
      padding: 100px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 70px;
    }

    .section-header > span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #dbe4ff;
      background: rgba(37,99,255,0.12);
      border: 1px solid rgba(124,156,255,0.24);
      border-radius: 999px;
      padding: 9px 16px;
      text-transform: uppercase;
      letter-spacing: 1.3px;
      font-size: 14px;
      font-weight: 700;
    }

    .light-theme .section-header > span {
      color: #1d4ed8;
      background: rgba(37,99,255,0.08);
      border-color: rgba(37,99,255,0.18);
    }

    .section-header h2 {
      font-size: 54px;
      margin: 14px 0;
      line-height: 1.1;
    }

    .section-header p {
      color: var(--muted);
      max-width: 760px;
      margin: auto;
      font-size: 17px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--border);
      padding: 34px;
      border-radius: 28px;
      transition: 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .card:hover {
      transform: translateY(-6px);
      border-color: rgba(124,156,255,0.3);
    }

    .card h3 {
      font-size: 26px;
      margin-bottom: 16px;
    }

    .card p {
      color: var(--muted);
    }

    .scratch-panel {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 34px;
      padding: 58px;
      background:
        linear-gradient(135deg, rgba(37,99,255,0.14), rgba(147,51,234,0.08) 45%, rgba(255,255,255,0.025)),
        var(--card);
    }

    .scratch-panel::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 12% 10%, rgba(124,156,255,0.18), transparent 36%);
      pointer-events: none;
    }

    .scratch-panel > * {
      position: relative;
      z-index: 1;
    }

    .scratch-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 42px;
      align-items: start;
    }

    .scratch-copy .section-header {
      text-align: left;
      margin-bottom: 30px;
    }

    .scratch-copy .section-header p {
      margin: 0;
    }

    .scratch-steps {
      display: grid;
      gap: 16px;
    }

    .scratch-step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 18px;
      padding: 22px;
      border-radius: 22px;
      background: rgba(255,255,255,0.045);
      border: 1px solid rgba(255,255,255,0.07);
    }

    .scratch-step strong {
      display: block;
      font-size: 20px;
      margin-bottom: 6px;
    }

    .scratch-step p {
      color: var(--muted);
    }

    .step-icon {
      width: 48px;
      height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      background: var(--gradient);
      color: white;
      font-weight: 800;
      box-shadow: 0 14px 30px rgba(37,99,255,0.28);
    }

    .launch-offer {
      margin-top: 28px;
      padding: 26px;
      border-radius: 24px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.09);
    }

    .launch-offer h3 {
      font-size: 26px;
      margin-bottom: 10px;
    }

    .launch-offer p {
      color: var(--muted);
    }

    .launch-offer strong {
      color: var(--text);
    }

    .systems-slider {
      margin: 0 -10px;
      position: relative;
    }

    .systems-slider .slick-list {
      padding: 4px 0 26px;
      overflow: hidden;
    }

    .systems-slider .slick-track {
      display: flex;
    }

    .systems-slider .slick-slide {
      height: auto;
      padding: 0 10px;
    }

    .systems-slider .slick-slide > div {
      height: 100%;
    }

    .systems-slider .card {
      min-height: 218px;
      height: 100%;
      display: flex !important;
      flex-direction: column;
      justify-content: space-between;
      border-radius: 22px;
      padding: 28px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
        var(--card);
      box-shadow: 0 16px 42px rgba(0,0,0,0.14);
    }

    .systems-slider .slick-dots {
      bottom: -8px;
    }

    .systems-slider .slick-dots li button::before {
      color: #7c9cff;
      font-size: 10px;
      opacity: 0.45;
    }

    .systems-slider .slick-dots li.slick-active button::before {
      opacity: 1;
      color: #2563ff;
    }

    .slider-arrow {
      position: absolute;
      top: -64px;
      z-index: 2;
      width: 42px;
      height: 42px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
      color: var(--text);
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
      backdrop-filter: blur(14px);
      transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }

    .slider-arrow:hover {
      transform: translateY(-2px);
      border-color: rgba(124,156,255,0.38);
      background: rgba(37,99,255,0.22);
    }

    .slider-arrow.prev {
      right: 58px;
      left: auto;
    }

    .slider-arrow.next {
      right: 10px;
    }

    .slider-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg,#2563ff,#9333ea);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      color: #ffffff;
      flex: 0 0 auto;
    }

    .testimonial-head {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .testimonial-head h4 {
      margin-bottom: 4px;
    }

    .testimonial-head p {
      color: var(--muted);
      font-size: 14px;
    }

    .light-theme .stat-box,
    .light-theme .scratch-step,
    .light-theme .launch-offer,
    .light-theme .slider-arrow {
      background: rgba(255,255,255,0.82);
      border-color: rgba(15,23,42,0.09);
    }

    .light-theme .systems-slider .card {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(238,242,255,0.78)),
        var(--card);
      border-color: rgba(37,99,255,0.12);
      box-shadow: 0 18px 48px rgba(37,99,255,0.1), 0 8px 22px rgba(15,23,42,0.07);
    }

    .countries {
      background: var(--bg-light);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .country-grid {
      display: grid;
      grid-template-columns: repeat(6,1fr);
      gap: 16px;
      margin-top: 40px;
    }

    .country {
      padding: 18px;
      text-align: center;
      border-radius: 18px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      color: #dbe4ff;
    }

    .contact-box {
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
      border: 1px solid var(--border);
      border-radius: 32px;
      padding: 50px;
      max-width: 850px;
      margin: auto;
      box-shadow: 0 28px 70px rgba(0,0,0,0.18);
    }

    .light-theme .contact-box {
      background: rgba(255,255,255,0.88);
      border-color: rgba(37,99,255,0.11);
      box-shadow: 0 30px 80px rgba(37,99,255,0.12), 0 12px 34px rgba(15,23,42,0.08);
    }

    .contact-info-grid {
      margin-top: 40px;
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
      gap: 20px;
    }

    .contact-info-card {
      padding: 22px;
      border-radius: 22px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      box-shadow: 0 18px 42px rgba(0,0,0,0.12);
    }

    .contact-info-card h4 {
      margin-bottom: 10px;
    }

    .contact-info-card p {
      color: var(--muted);
    }

    .light-theme .contact-info-card {
      background: rgba(255,255,255,0.94);
      border-color: rgba(37,99,255,0.11);
      box-shadow: 0 20px 54px rgba(37,99,255,0.12), 0 8px 24px rgba(15,23,42,0.08);
    }

    form {
      display: grid;
      gap: 20px;
      margin-top: 30px;
    }

    input,
    textarea {
      width: 100%;
      padding: 18px;
      border-radius: 16px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.03);
      color: white;
      font-family: inherit;
      font-size: 15px;
      outline: none;
    }

    textarea {
      min-height: 180px;
      resize: vertical;
    }

    input::placeholder,
    textarea::placeholder {
      color: #7c8598;
    }

    footer {
      padding: 70px 0 40px;
      border-top: 1px solid var(--border);
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 30px;
      margin-bottom: 40px;
    }

    .footer-top img {
      width: 170px;
    }

    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer-links a {
      text-decoration: none;
      color: #cbd5e1;
    }

    .copyright {
      color: #7c8598;
      text-align: center;
      font-size: 14px;
      border-top: 1px solid rgba(255,255,255,0.05);
      padding-top: 24px;
    }

    @media(max-width: 992px) {
      .hero-grid,
      .grid-3,
      .hero-stats,
      .scratch-layout,
      .country-grid {
        grid-template-columns: 1fr;
      }

      .hero h1 {
        font-size: 52px;
      }

      .section-header h2 {
        font-size: 38px;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 4%;
        right: 4%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(5,8,22,0.96);
        box-shadow: 0 24px 60px rgba(0,0,0,0.24);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
      }

      .light-theme .nav-links {
        background: rgba(255,255,255,0.98);
        box-shadow: 0 24px 60px rgba(15,23,42,0.14);
      }

      .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }

      .nav-links a {
        padding: 13px 14px;
        border-radius: 12px;
      }

      .nav-links a:hover {
        background: rgba(124,156,255,0.1);
      }

      .menu-toggle {
        display: flex;
      }

      .hero {
        padding-top: 80px;
      }

      .scratch-panel {
        padding: 34px 22px;
      }

      .scratch-copy .section-header {
        text-align: center;
      }

      .scratch-copy .section-header p {
        margin: auto;
      }

      .slider-arrow {
        top: auto;
        bottom: -8px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
      }

      .slider-arrow.prev {
        left: calc(50% - 54px);
        right: auto;
      }

      .slider-arrow.next {
        right: calc(50% - 54px);
      }

      .systems-slider .slick-list {
        padding-bottom: 60px;
      }
    }

    @media(max-width: 640px) {
      .announcement {
        font-size: 12px;
        line-height: 1.45;
        padding: 10px 14px;
      }

      .navbar {
        padding: 14px 0;
      }

      .logo img,
      .footer-logo {
        width: 142px;
      }

      .logo {
        width: 142px;
        height: auto;
        flex-basis: 142px;
      }

      .logo img {
        height: auto;
      }

      .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
      }

      .hero {
        padding: 62px 0 72px;
      }

      section {
        padding: 72px 0;
      }

      .section-header > span {
        font-size: 12px;
        letter-spacing: 0.8px;
        padding: 8px 12px;
      }

      .section-header h2 {
        font-size: 32px;
      }

      .scratch-step {
        grid-template-columns: 1fr;
      }

      .contact-box {
        padding: 28px 20px;
      }
    }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.footer-grid h3 {
  font-size: 18px;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 14px;
  transition: 0.3s ease;
}

.footer-grid a:hover {
  color: white;
  transform: translateX(3px);
}

.light-theme .footer-grid a:hover {
  color: #2563ff;
}

@media(max-width: 992px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}
