/* CSS Variables for Premium Theme */
:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --bg-main: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
  
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

/* Typography Utilities */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.lg-text {
  font-size: 1.25rem;
  max-width: 800px;
  line-height: 1.8;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition);
  border-radius: 3px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--primary);
}

.shape-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--secondary);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num, .stat-plus, .stat-icon i {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

.stat-icon i {
  color: var(--primary);
}

.stat-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.glass-panel img {
  border-radius: 16px;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: float 6s ease-in-out infinite;
}

.floating-card.top-right {
  top: 40px;
  right: -30px;
}

.floating-card i {
  font-size: 1.5rem;
}

.text-success {
  color: #10b981;
}

.floating-card strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.floating-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Marquee */
.marquee-section {
  background: var(--text-dark);
  color: white;
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.875rem;
}

.marquee-content span {
  margin: 0 40px;
  color: rgba(255, 255, 255, 0.8);
}

/* Roadmap */
.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding-right: 50px;
  z-index: 2;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-right: 0;
  padding-left: 50px;
}

.timeline-dot {
  position: absolute;
  right: -20px;
  top: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-main);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  z-index: 3;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -20px;
}

.timeline-card {
  background: var(--bg-main);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.timeline-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.module-card {
  background: var(--bg-main);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.module-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.module-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.25rem;
}

.module-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.module-desc {
  margin-bottom: 24px;
  min-height: 48px;
}

.module-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.module-list li i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 0.875rem;
}

/* How It Works */
.process-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  flex-wrap: wrap;
}

.process-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.process-arrow {
  color: var(--border);
  font-size: 1.5rem;
}

/* Gallery / Success Path */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 300px;
}

.gallery-item:nth-child(1) { grid-column: span 8; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h4 {
  color: white;
  margin: 0;
  font-size: 1.25rem;
}

/* Features / Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
  transform: rotate(-5deg);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: rotate(0deg) scale(1.1);
}

.feature-item h4 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* Quote Section */
.quote {
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(124,58,237,0.05));
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 20px;
}

.quote-text {
  font-size: 2.25rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.4;
  font-weight: 600;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fff;
}

.faq-question h4 {
  font-size: 1.125rem;
  margin: 0;
}

.faq-question i {
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.cta-section h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}

.footer-brand p {
  margin-bottom: 24px;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.125rem;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .floating-card.top-right { right: 0; top: 10px; }
  
  .timeline-line { left: 30px; transform: none; }
  .timeline-item { width: 100%; padding-left: 80px !important; padding-right: 0 !important; }
  .timeline-dot { left: 10px !important; }
  
  .gallery-item { grid-column: span 6 !important; }
  .process-arrow { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
  
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 0 auto 24px; }
  .social-icons { justify-content: center; }
  .footer-contact p { justify-content: center; }
  
  .gallery-item { grid-column: span 12 !important; height: 250px; }
  
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* Mobile Menu Active State */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
  }
}
