/* Premium design mirroring India Skokka */
:root {
  /* Color palette */
  --primary-h: 210;
  --primary-s: 70%;
  --primary-l: 55%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --accent-h: 340;
  --accent-s: 80%;
  --accent-l: 65%;
  --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --bg-light: #f5f7fa;
  --bg-dark: #111;
  --text-light: #222;
  --text-dark: #eee;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: var(--bg-dark);
    --text-light: var(--text-dark);
  }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links a {
  margin: 0 0.8rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 0.8;
}

.theme-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  color: #fff;
  text-align: center;
}
.hero-content {
  flex: 1 1 300px;
  max-width: 500px;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, background 0.2s;
}
.cta-button:hover {
  transform: translateY(-2px);
  background: var(--glass-bg);
}

.hero-image {
  flex: 1 1 300px;
  max-width: 500px;
  margin-top: 2rem;
}
.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Features */
.features-section {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-light);
}
.features-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.feature-card h3 {
  margin: 0.5rem 0;
  color: var(--accent);
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.9rem;
}
.social-links a {
  margin: 0 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.social-links a:hover {
  opacity: 0.8;
}

/* Micro‑animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-image {
    margin-top: 1.5rem;
  }
}
