/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
   position: relative;
   min-height: calc(100vh - 60px);
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 45px 20px;
   overflow: hidden;
}


.hero-content {
   position: relative;
   z-index: 1;
   max-width: 900px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 30px;
   animation: fadeInUp 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
   opacity: 0;
}

@keyframes fadeInUp {
   0% { opacity: 0; transform: translateY(40px); }
   100% { opacity: 1; transform: translateY(0); }
}


.hero-title {
   font-size: 3.5rem;
   font-weight: 900;
   font-family: 'RobotoSlab';
   line-height: 1.2;
}

.hero-title span {
   background: linear-gradient(135deg, #a0bcff 20%, #29d18e 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   text-shadow: 0px 0px 5px rgba(147, 143, 255, 0.2), 0px 0px 10px rgba(165, 162, 255, 0.2);
}


.hero-subtitle {
   font-size: 1.2rem;
   color: var(--text-muted);
   line-height: 1.6;
   max-width: 700px;
   font-family: 'Roboto';
   font-weight: 300;
}


/* ── Brand Cards ─────────────────────────────────────────── */
.brands-container {
   display: flex;
   justify-content: center;
   gap: 30px;
   flex-wrap: wrap;
}

.brand-card {
   background: var(--card-bg-color);
   border: 1px solid var(--card-border);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   padding: 20px 30px;
   border-radius: 10px;
   transition: all 0.3s ease-in-out;
   display: flex;
   align-items: center;
   gap: 15px;
}

.brand-card:hover {
   transform: translateY(-5px);
   border: 1px solid var(--card-border-glow);
   box-shadow:
      0px -1px 5px rgba(104, 102, 180, 0.5),
      0px 0px 20px rgba(104, 102, 180, 0.1);
}

.brand-card h3 {
   font-size: 1.3rem;
   color: var(--text-main);
   font-family: 'Anta';
   margin: 0;
}

.brand-card svg {
   width: 24px;
   height: 24px;
   fill: var(--mark-span-color1) !important;
   filter: drop-shadow(0px 2px 4px rgba(99, 102, 241, 0.25));
}


/* ── CTA Button ──────────────────────────────────────────── */
.cta-button {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   padding: 14px 35px;
   font-size: 1.1rem;
   font-weight: 600;
   font-family: 'Anta';
   color: #fff;
   background: rgba(96, 97, 239);
   border-radius: 15px;
   transition: all 0.3s ease-in-out;
   box-shadow: 0px 10px 30px rgba(99, 102, 241, 0.3);
   position: relative;
   overflow: hidden;
}

.cta-button::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
   transform: translateX(-100%);
   transition: 0.5s;
}

.cta-button:hover {
   transform: translateY(-5px);
   background: #776cf4;
   box-shadow: 0px 10px 40px rgba(99, 102, 241, 0.6);
   color: #fff;
}

.cta-button:hover::after {
   transform: translateX(100%);
}


/* ── Features Section ────────────────────────────────────── */
.features-section {
   padding: 80px 20px;
   display: flex;
   flex-direction: column;
   align-items: center;
}

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

.section-title {
   font-size: 2.8rem;
   font-family: 'RobotoSlab';
   color: var(--text-main);
   font-weight: 700;
   margin-bottom: 15px;
}

.section-subtitle {
   color: var(--text-muted);
   font-size: 1.1rem;
   font-family: 'Saira';
}


.features-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 30px;
   max-width: 1200px;
   width: 90%;
}


.feature-box {
   background: var(--card-bg-color);
   border: 1px solid var(--card-border);
   padding: 30px 25px;
   border-radius: 10px;
   text-align: center;
   transition: all 0.3s ease-in-out;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 15px;
}

.feature-box:hover {
   transform: translateY(-5px);
   border: 1px solid var(--card-border-glow);
   box-shadow:
      0px -1px 5px rgba(104, 102, 180, 0.5),
      0px 0px 20px rgba(104, 102, 180, 0.1);
}


.feature-icon {
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 30%;
   border: 1px solid rgba(190, 165, 253, 0.3);
}

.feature-icon svg {
   width: 30px;
   height: 30px;
   fill: var(--mark-span-color1);
   filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.2));
}


.feature-box h4 {
   font-size: 1.3rem;
   color: var(--text-main);
   font-family: 'Anta';
}

.feature-box p {
   color: var(--text-muted);
   line-height: 1.6;
   font-family: 'Saira';
}


/* ── Light Mode Specific Overrides ────────────────────────── */
[data-theme="light"] .brand-card,
[data-theme="light"] .feature-box {
   background: #ffffff;
   border: 1px solid rgba(0, 0, 0, 0.1);
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .brand-card:hover,
[data-theme="light"] .feature-box:hover {
   border-color: rgba(79, 70, 229, 0.4);
   box-shadow: 0 10px 25px rgba(79, 70, 229, 0.15);
}

[data-theme="light"] .feature-icon {
   border-color: rgba(79, 70, 229, 0.25);
   background: rgba(79, 70, 229, 0.06);
}

[data-theme="light"] .hero-title span {
   background: linear-gradient(135deg, #4f46e5 20%, #059669 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   text-shadow: none;
}


/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 762px) {
   .hero-title {
      font-size: 3rem;
   }

   .section-title {
      font-size: 2.4rem;
   }
}

@media (max-width: 768px) {
   .brands-container {
      flex-direction: column;
      align-items: center;
   }

   .brand-card {
      width: 100%;
      max-width: 300px;
      justify-content: center;
   }
}

@media (max-width: 576px) {
   .hero-title {
      font-size: 2.5rem;
   }

   .hero-subtitle {
      font-size: 1.05rem;
   }
}

@media (max-width: 450px) {
   .hero-title {
      font-size: 2.1rem;
   }
}
