/* main.css — Main Landing Page (index.html) Styles */

/* Theme Colors — Professional & Modern */
:root, [data-theme="light"] {
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1F5F9;
  --color-surface-offset: #E2E8F0;
  --color-surface-offset-2: #CBD5E1;
  --color-surface-dynamic: #94A3B8;
  --color-divider: #E2E8F0;
  --color-border: #CBD5E1;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --color-text-faint: #94A3B8;
  --color-text-inverse: #F8FAFC;
  --color-primary: #01696F;
  --color-primary-hover: #0C4E54;
  --color-primary-active: #0F3638;
  --color-primary-highlight: #CCFBF1;
  --color-accent: #0EA5E9;
  --color-gold: #F59E0B;
  --color-gold-hover: #D97706;
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] {
  --color-bg: #0F172A;
  --color-surface: #1E293B;
  --color-surface-2: #1E293B;
  --color-surface-offset: #334155;
  --color-surface-offset-2: #475569;
  --color-surface-dynamic: #64748B;
  --color-divider: #334155;
  --color-border: #475569;
  --color-text: #F1F5F9;
  --color-text-muted: #94A3B8;
  --color-text-faint: #64748B;
  --color-text-inverse: #0F172A;
  --color-primary: #14B8A6;
  --color-primary-hover: #2DD4BF;
  --color-primary-active: #5EEAD4;
  --color-primary-highlight: #134E4A;
  --color-accent: #38BDF8;
  --color-gold: #FBBF24;
  --color-gold-hover: #F59E0B;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0F172A;
    --color-surface: #1E293B;
    --color-surface-2: #1E293B;
    --color-surface-offset: #334155;
    --color-surface-offset-2: #475569;
    --color-surface-dynamic: #64748B;
    --color-divider: #334155;
    --color-border: #475569;
    --color-text: #F1F5F9;
    --color-text-muted: #94A3B8;
    --color-text-faint: #64748B;
    --color-text-inverse: #0F172A;
    --color-primary: #14B8A6;
    --color-primary-hover: #2DD4BF;
    --color-primary-active: #5EEAD4;
    --color-primary-highlight: #134E4A;
    --color-accent: #38BDF8;
    --color-gold: #FBBF24;
    --color-gold-hover: #F59E0B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

/* Header specific */
.site-header {
  background: rgba(248, 250, 252, 0);
}

.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 23, 42, 0);
}

[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
}

/* ============================================
   HERO
   ============================================ */

.main-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--space-32) var(--space-6) var(--space-16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(1, 105, 111, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

[data-theme="dark"] .hero-bg::before {
  background: radial-gradient(ellipse at 30% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--color-gold);
  color: #0F172A;
}

.btn-gold:hover {
  background: var(--color-gold-hover);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.service-card {
  position: relative;
  padding: var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.service-card-icon.education {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: white;
}

.service-card-icon.consultancy {
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
  color: white;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.service-card .features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.service-card .features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.service-card .features-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: gap var(--transition-interactive);
}

.service-card .card-link:hover {
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WHY SKILLNITY
   ============================================ */

.why-section {
  background: var(--color-surface-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.why-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
}

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STATS
   ============================================ */

.stats-section {
  position: relative;
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #F1F5F9;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(1, 105, 111, 0.2) 0%, transparent 60%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  padding: var(--space-8);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

[data-theme="dark"] .stat-number {
  color: #38BDF8;
}

.stat-label {
  font-size: var(--text-sm);
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.testimonial-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
}

.testimonial-author-info .name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial-author-info .role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SPLIT CTA
   ============================================ */

.split-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.split-cta-block {
  padding: clamp(var(--space-12), 6vw, var(--space-20));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.split-cta-block.education-cta {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: white;
}

.split-cta-block.consultancy-cta {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: white;
}

.split-cta-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.split-cta-block p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
  max-width: 400px;
}

.split-cta-block .btn {
  background: white;
  color: #0F172A;
}

.split-cta-block .btn:hover {
  background: #F1F5F9;
}

@media (max-width: 768px) {
  .split-cta { grid-template-columns: 1fr; }
}
