/* =====================
   Models Section Styles
   SpoonFeed Premium
===================== */

.models {
  padding: 100px 0;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  position: relative;
  overflow: hidden;
}

/* Glowing BG Orbs */
.models::before, .models::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 10, 0.18), transparent 70%);
  filter: blur(120px);
  animation: floatGlow 7s ease-in-out infinite alternate;
  z-index: 0;
}
.models::before {
  width: 400px; height: 400px;
  top: 15%; left: 8%;
}
.models::after {
  width: 320px; height: 320px;
  bottom: 10%; right: 12%;
  animation-delay: 3s;
}

@keyframes floatGlow {
  from { transform: scale(1) translate(0,0); opacity: 0.2; }
  to   { transform: scale(1.1) translate(20px,-20px); opacity: 0.35; }
}

/* Headline */
.models_head {
  text-align: center;
  margin-bottom: 80px;
  z-index: 2;
  position: relative;
}
.models_head h2 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.models_head h2 .highlight {
  background: var(--gradient-yellow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.models_head p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Layout */
.models_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Card */
.model_card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 194, 10, 0.25);
  backdrop-filter: blur(22px);
  border-radius: 28px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

.model_card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,194,10,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.model_card:hover::before { opacity: 1; }

.model_card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 194, 10, 0.25);
  border-color: rgba(255, 194, 10, 0.5);
}

/* Icon */
.model_icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background: var(--gradient-yellow);
  color: #000;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}
.model_card:hover .model_icon {
  transform: rotate(8deg) scale(1.1);
}

/* Title + Desc */
.model_card h3 {
  font-size: 1.9rem;
  color: var(--primary-yellow);
  margin-bottom: 15px;
  font-weight: 700;
}
.model_card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* Features List */
.model_features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 35px;
}
.model_features li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}
.model_features li i {
  color: var(--primary-yellow);
  background: rgba(255, 194, 10, 0.15);
  border-radius: 8px;
  font-size: 18px;
  padding: 5px;
}
.model_card:hover .model_features li { color: var(--text-primary); }

/* Buttons */
.model_btn {
  padding: 14px 36px;
  border: none;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: rgba(255, 194, 10, 0.12);
  color: var(--primary-yellow);
  transition: all 0.3s ease;
}
.model_btn:hover {
  background: var(--gradient-yellow);
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 194, 10, 0.35);
}

/* Highlight (Advanced Model) */
.highlight_btn {
  background: var(--gradient-yellow);
  color: #000;
  box-shadow: var(--shadow-glow);
}
.highlight_btn:hover {
  background: linear-gradient(135deg, #ffe066, #ffc20a);
}
/* Scroll animation states */
.model-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}
.model-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glowing pulse button */
.btn-pulse {
  box-shadow: 0 0 25px rgba(255, 194, 10, 0.6) !important;
  transform: scale(1.05);
}

/* Optional animated BADGE for cards */
.model_badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gradient-yellow);
  color: #000;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow);
  animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
/* =========================================
   MOBILE OPTIMIZATION (≤768px)
========================================= */
@media (max-width: 768px) {

  /* Containers */
  .container {
    flex-direction: column !important;
    padding: 20px !important;
    text-align: center;
    align-items: center;
  }

  /* Headings / Sections */
  h1, h2, h3 {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }
  p {
    font-size: 0.95rem !important;
    line-height: 1.5;
  }

  /* Cards */
  .model_card, 
  .mission-card, 
  .vision-card, 
  .fcard, 
  .service_card, 
  .insight_card {
    width: 100% !important;
    margin: 0 auto 20px auto;
    padding: 20px !important;
    border-radius: 18px;
  }

  /* Icons */
  .model_icon, .card-icon, .vision-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 16px;
  }

  /* Buttons */
  button, .model_btn, .trial, .price, .schedule {
    width: 100% !important;
    padding: 12px !important;
    font-size: 0.95rem !important;
  }

  /* Grids → stack vertically */
  .models_grid,
  .story-content,
  .mv-grid,
  .founders-grid,
  .content-grid,
  .features .feature_cards,
  .insight_cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Images / Placeholders */
  .founder-image-placeholder,
  .video-placeholder {
    height: 220px !important;
  }

  /* Nav & Hero Adjustments */
  .navbar .nav-container {
    padding: 12px 20px !important;
  }
  .hero, .about-hero {
    padding-top: 120px !important; 
    text-align: center;
  }
  .hero-content h1, .about-hero h1 {
    font-size: 2rem !important;
  }
}
