/* ========================================
   AIGIRI NANDINI - PLACEMENT PAGE STYLES
   Fully Responsive & Optimized
   ======================================== */

/* CSS VARIABLES */
:root {
  --bg: #0b0b0b;
  --card: #0f1720;
  --accent: #00d166;
  --accent-light: #00ff88;
  --muted: #9aa7a0;
  --glass: rgba(255,255,255,0.03);
  --max-w: 1400px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), #060606);
  color: #e6efe9;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 20px;
}

/* ========================================
   IMAGE BANNER
   ======================================== */
.image-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  max-height: 700px;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.6) blur(0.5px);
  transition: transform 0.5s ease;
}

.image-banner:hover .banner-image {
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,209,102,0.2), rgba(0,0,0,0.7));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.video-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
  line-height: 1.1;
}

.video-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.95);
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 35px;
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary,
.btn-secondary {
  padding: 18px 36px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  box-shadow: 0 10px 30px rgba(0,209,102,0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,209,102,0.6);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(15px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-4px);
}

/* ========================================
   TEXT MARQUEE
   ======================================== */
.marquee-section {
  position: relative;
  background: var(--card);
  padding: 35px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,209,102,0.2);
  border-bottom: 1px solid rgba(0,209,102,0.2);
}

.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-wrapper:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 35px;
  white-space: nowrap;
}

.marquee-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(0,209,102,0.4);
}

.marquee-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f1720 0%, #0b0b0b 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   IMAGE MARQUEE
   ======================================== */
.image-marquee {
  position: relative;
  height: 320px;
  margin-bottom: 70px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.marquee-track {
  display: flex;
  height: 100%;
  gap: 20px;
  animation: imageMarquee 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-slide {
  position: relative;
  min-width: 380px;
  height: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.marquee-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  position: absolute;
  inset: 0;
}

.marquee-slide:hover img {
  transform: scale(1.05);
}

.marquee-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  color: white;
  padding: 35px 24px 24px;
  z-index: 2;
}

.marquee-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
}

.marquee-overlay p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
}

@keyframes imageMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-400px * 6));
  }
}

/* ========================================
   COURSE CARDS
   ======================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-bottom: 70px;
}

.course-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0,209,102,0.3);
  border-color: var(--accent);
}

.course-icon {
  font-size: 4.5rem;
  margin-bottom: 24px;
  display: block;
}

.course-card h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  line-height: 1.3;
}

.course-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 1rem;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  background: rgba(0,209,102,0.2);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(0,209,102,0.3);
  transform: scale(1.05);
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  padding: 22px 55px;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(0,209,102,0.4);
  transition: all 0.4s ease;
}

.btn-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,209,102,0.6);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-row-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f1720 0%, #1a1f2e 100%);
  position: relative;
}

.pricing-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  animation: badgePulse 2s infinite;
  box-shadow: 0 8px 25px rgba(255,107,107,0.5);
}

@keyframes badgePulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

.pricing-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  scroll-behavior: smooth;
}

.pricing-row::-webkit-scrollbar {
  height: 8px;
}

.pricing-row::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}

.pricing-row::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.pricing-card {
  flex: 0 0 340px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 28px 28px 0 0;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0,209,102,0.3);
  border-color: var(--accent);
}

.popular {
  border-color: var(--accent) !important;
  box-shadow: 0 25px 70px rgba(0,209,102,0.4);
  transform: scale(1.03);
}

.popular:hover {
  transform: scale(1.03) translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0,209,102,0.4);
}

.card-icon {
  font-size: 4.5rem;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.price {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-big {
  font-size: 3rem;
  font-weight: 800;
  display: inline-block;
}

.price-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  text-align: left;
  font-size: 0.95rem;
  flex-grow: 1;
}

.features-list li {
  padding: 8px 0;
  color: #e6efe9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkmark {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.card-image {
  height: 120px;
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.pricing-card:hover .card-image img {
  transform: scale(1.05);
}

.pricing-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #03110a;
  box-shadow: 0 10px 30px rgba(0,209,102,0.4);
}

.pricing-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,209,102,0.6);
}

.popular-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e) !important;
  color: white !important;
  box-shadow: 0 12px 35px rgba(255,107,107,0.4);
}

.popular-btn:hover {
  box-shadow: 0 18px 50px rgba(255,107,107,0.6);
}

/* ========================================
   SAVINGS HIGHLIGHT
   ======================================== */
.savings-highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  padding: 60px 40px;
  border-radius: 28px;
  text-align: center;
  margin-top: 70px;
  box-shadow: 0 20px 60px rgba(0,209,102,0.4);
  position: relative;
  overflow: hidden;
}

.savings-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.savings-content {
  position: relative;
  z-index: 2;
}

.savings-content h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #03110a;
  margin-bottom: 15px;
}

.savings-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #1a3a2a;
  margin-bottom: 30px;
  font-weight: 600;
}

.bundle-cta {
  background: #03110a !important;
  color: white !important;
  padding: 20px 55px;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border-radius: 16px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bundle-cta:hover {
  background: #0a1e14 !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Large Tablets (≤992px) */
@media (max-width: 992px) {
  .image-banner {
    height: 65vh;
    min-height: 420px;
  }
  
  .image-marquee {
    height: 280px;
    margin-bottom: 60px;
  }
  
  .marquee-slide {
    min-width: 340px;
  }
  
  .courses-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
  }
  
  .pricing-card {
    flex: 0 0 320px;
    min-height: 560px;
  }
}

/* Tablets & Mobile (≤768px) */
@media (max-width: 768px) {
  .container {
    padding: 16px 16px;
  }
  
  .image-banner {
    height: 55vh;
    min-height: 380px;
    border-radius: 0;
    margin-bottom: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .marquee-section {
    padding: 28px 0;
  }
  
  .marquee-item {
    gap: 18px;
    padding: 0 25px;
  }
  
  .marquee-badge {
    font-size: 13px;
    padding: 10px 20px;
  }
  
  .marquee-text {
    font-size: 16px;
  }
  
  .courses-section {
    padding: 70px 0;
  }
  
  .section-header {
    margin-bottom: 50px;
  }
  
  .image-marquee {
    height: 240px;
    margin-bottom: 50px;
    border-radius: 16px;
  }
  
  .marquee-slide {
    min-width: 300px;
  }
  
  .marquee-overlay {
    padding: 28px 20px 20px;
  }
  
  .marquee-overlay h3 {
    font-size: 1.3rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }
  
  .course-card {
    padding: 38px 28px;
  }
  
  .pricing-row-section {
    padding: 70px 0;
  }
  
  .pricing-badge {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 20px;
  }
  
  .pricing-row {
    flex-direction: column;
    gap: 24px;
    padding: 0;
    overflow-x: visible;
  }
  
  .pricing-card {
    flex: none;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  
  .popular {
    transform: none;
  }
  
  .popular:hover {
    transform: translateY(-12px);
  }
  
  .savings-highlight {
    margin-top: 50px;
    padding: 45px 28px;
    border-radius: 20px;
  }
}

/* Small Mobile (≤600px) */
@media (max-width: 600px) {
  .image-banner {
    height: 50vh;
    min-height: 350px;
  }
  
  .video-title {
    margin-bottom: 16px;
  }
  
  .video-subtitle {
    margin-bottom: 28px;
  }
  
  .marquee-section {
    padding: 24px 0;
  }
  
  .marquee-item {
    gap: 15px;
    padding: 0 20px;
  }
  
  .marquee-badge {
    font-size: 12px;
    padding: 8px 16px;
  }
  
  .marquee-text {
    font-size: 14px;
  }
  
  .courses-section {
    padding: 60px 0;
  }
  
  .image-marquee {
    height: 200px;
    margin-bottom: 40px;
  }
  
  .marquee-slide {
    min-width: 260px;
  }
  
  .marquee-overlay h3 {
    font-size: 1.1rem;
  }
  
  .marquee-overlay p {
    font-size: 0.85rem;
  }
  
  .course-card {
    padding: 32px 24px;
  }
  
  .course-icon {
    font-size: 3.8rem;
  }
  
  .btn-cta {
    padding: 20px 40px;
    font-size: 1.15rem;
  }
  
  .pricing-card {
    padding: 35px 24px;
    min-height: 540px;
  }
  
  .card-image {
    height: 100px;
  }
  
  .savings-highlight {
    padding: 38px 20px;
  }
  
  .bundle-cta {
    padding: 18px 40px;
    font-size: 1.1rem;
  }
}

/* Extra Small Mobile (≤480px) */
@media (max-width: 480px) {
  .image-banner {
    min-height: 320px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 16px 28px;
    font-size: 15px;
  }
  
  .image-marquee {
    height: 180px;
  }
  
  .marquee-slide {
    min-width: 240px;
  }
  
  .pricing-card {
    max-width: 100%;
    padding: 30px 20px;
  }
  
  .price-big {
    font-size: 2.5rem;
  }
}