/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;800;900&family=Inter:wght@400;600;800&display=swap');

:root {
  /* Clean High-End Tech Palette ("Purple Cow" Edition) */
  --bg-color: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --text-primary: #0F172A; /* Deep Slate Navy */
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  --primary-color: #059669; /* Eco Emerald Green */
  --primary-light: #D1FAE5;
  --primary-glow: rgba(5, 150, 105, 0.25);
  
  --purple-cow: #7C3AED; /* Purple Cow Accent */
  --purple-light: #EDE9FE;
  --purple-glow: rgba(124, 58, 237, 0.28);
  
  --spoindo-blue: #0284C7;
  
  --border-color: #E2E8F0;
  --border-highlight: rgba(16, 185, 129, 0.3);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -5px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 15px 35px rgba(124, 58, 237, 0.15);
  
  --font-main: 'Pretendard', 'Inter', -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #059669 0%, #10B981 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.purple-gradient {
  background: linear-gradient(135deg, #7C3AED 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px var(--primary-glow);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.8rem;
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-alt);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-spoindo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.3rem;
  background: linear-gradient(135deg, #0284C7 0%, #4F46E5 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.btn-spoindo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

/* Layout Containers */
section {
  padding: 6rem 5%;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Background Glowing Elements */
.glare {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.glare.top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(5, 150, 105, 0) 70%);
}

.glare.bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, var(--purple-glow) 0%, rgba(124, 58, 237, 0) 70%);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(1200px circle at 50% 10%, rgba(209, 250, 229, 0.5) 0%, rgba(248, 250, 252, 1) 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge-purple {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1.1rem;
  background: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--purple-cow);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: #0F172A;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero p.subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.hero p.desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Stats Section */
.stats {
  padding: 4rem 5%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.stat-item h3 span {
  font-size: 1.6rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1rem;
}

/* Video Showcase Section ("Purple Cow" Style) */
.video-showcase {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  padding: 6rem 5%;
  border-bottom: 1px solid var(--border-color);
}

.video-frame-outer {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 16px;
  border-radius: 32px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.2);
  border: 2px solid transparent;
  background-image: linear-gradient(#FFFFFF, #FFFFFF), linear-gradient(135deg, #7C3AED, #10B981);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.video-frame-inner {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.video-frame-inner video {
  width: 100%;
  display: block;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2.5rem;
  background: var(--bg-surface);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.comparison-table th, .comparison-table td {
  padding: 1.4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-surface-alt);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.highlight-col {
  background: rgba(16, 185, 129, 0.08);
  font-weight: 800;
  color: var(--primary-color);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero p.desc {
    margin: 0 auto 2.5rem auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  nav ul {
    display: none;
  }
}
