/* ===================================
   SARKAAR.US LANDING PAGE STYLES
   Color Scheme: Golden & Dark Blue
   =================================== */

:root {
  /* Color Palette */
  --color-primary: #0A1628;
  /* Deep Navy Blue */
  --color-primary-light: #1a2942;
  /* Lighter Navy */
  --color-secondary: #D4AF37;
  /* Rich Gold */
  --color-secondary-light: #F4D03F;
  /* Bright Gold */
  --color-accent: #FFD700;
  /* Vibrant Gold */
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-text-light: #E8E8E8;
  --color-text-muted: #A0A0A0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A1628 0%, #1a2942 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.7) 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Animation Durations */
  --animation-fast: 0.3s;
  --animation-normal: 0.6s;
  --animation-slow: 0.9s;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Animation utility classes */
.fade-in-up {
  animation: fadeInUp var(--animation-normal) ease-out forwards;
}

.fade-in {
  animation: fadeIn var(--animation-normal) ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft var(--animation-normal) ease-out forwards;
}

.slide-in-right {
  animation: slideInRight var(--animation-normal) ease-out forwards;
}

.scale-in {
  animation: scaleIn var(--animation-normal) ease-out forwards;
}

/* Initial state for animated elements */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  animation: fadeInUp var(--animation-normal) ease-out forwards;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 45px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-gold);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.nav-cta::after {
  display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 2rem;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 10;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.7);
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

/* Video Container */
.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container.expanding {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  z-index: 999;
  width: 100vw !important;
  height: 100vh !important;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  opacity: 0.3;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.video-container:hover .video-overlay {
  opacity: 0.1;
}

/* Video fade out effect */
.video-container.fading-out {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-out;
}

/* Video container size - match placeholder */
.video-container {
  height: 500px;
  width: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video play button - Icon only, circular */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
  color: #0A1628;
  border: none;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  /* Offset play icon to center visually */
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.7);
}

.video-play-button:active {
  transform: translate(-50%, -50%) scale(1);
}

.video-play-button.hidden {
  display: none;
}



/* ===================================
   FEATURES SECTION
   =================================== */

.features {
  padding: var(--spacing-xl) 2rem;
  background: var(--color-primary-light);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tagline {
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

.features-grid .feature-card {
  width: 100%;
  max-width: 400px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.feature-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===================================
   MODULES SECTION
   =================================== */

.modules {
  padding: var(--spacing-xl) 2rem;
  background: var(--color-primary);
}

.modules-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.modules-grid .module-item {
  width: 100%;
  max-width: 300px;
}

.module-item {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.module-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--color-secondary);
  transform: scale(1.05);
}

.module-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.module-name {
  font-weight: 600;
  color: var(--color-white);
  font-size: 1.1rem;
}

/* ===================================
   DEMO FORM SECTION
   =================================== */

.demo-section {
  padding: var(--spacing-xl) 2rem;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.demo-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.demo-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1.2rem;
  background: var(--gradient-gold);
  color: var(--color-primary);
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.contact-info {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-email {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.contact-email:hover {
  color: var(--color-secondary-light);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
  padding: var(--spacing-xl) 2rem;
  background: var(--color-primary-light);
}

.testimonials-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
}

.author-info h4 {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  padding: var(--spacing-xl) 2rem;
  background: var(--gradient-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--color-primary);
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: var(--color-text-muted);
  line-height: 1.8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: var(--color-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--gradient-gold);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  color: var(--color-text-muted);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .demo-form {
    padding: 2rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}