@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==============================================================================
   WhatYouWantKerala (WYWK) — Signature Theme
   Midnight Forest & Electric Lime
   Website: https://whatyouwantkerala.in
   ============================================================================== */

:root {
  --wywk-bg: #101716;        /* Midnight Forest - Primary Background */
  --wywk-primary: #B8F36B;   /* Electric Lime - Accent & Call-To-Action */
  --wywk-green: #253C35;     /* Deep Evergreen - Card Backgrounds */
  --wywk-ivory: #F5F3E9;     /* Warm Ivory - Headings & Alternate Sections */
  --wywk-sage: #718078;      /* Sage Grey - Secondary Details */
  --wywk-soft: #D9F2BD;      /* Soft Lime - Hover & Subtle Accents */
  --wywk-text: #F5F3E9;
  --wywk-muted: #B8C5B9;     /* Body Text on Dark */
  --wywk-border: #34443D;
  --wywk-border-glow: rgba(184, 243, 107, 0.25);

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-ui: 'Manrope', -apple-system, sans-serif;

  --container: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Responsive Safeguards */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--wywk-bg);
  color: var(--wywk-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--wywk-ivory);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-light {
  background-color: var(--wywk-ivory);
  color: #1a221f;
}
.section-light h1, .section-light h2, .section-light h3, .section-light h4 {
  color: #101716;
}
.section-light p {
  color: #3b4943;
}

/* Badge / Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(184, 243, 107, 0.1);
  border: 1px solid rgba(184, 243, 107, 0.25);
  color: var(--wywk-primary);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pill-badge.light {
  background: rgba(16, 23, 22, 0.08);
  border-color: rgba(16, 23, 22, 0.15);
  color: #101716;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary {
  background-color: var(--wywk-primary);
  color: #101716;
}
.btn-primary:hover {
  background-color: var(--wywk-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 243, 107, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--wywk-ivory);
  border: 1px solid var(--wywk-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--wywk-primary);
  color: var(--wywk-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: #101716;
  color: var(--wywk-primary);
}
.btn-dark:hover {
  background: var(--wywk-green);
  color: #fff;
  transform: translateY(-2px);
}

/* Navigation Header */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(16, 23, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wywk-border);
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 38px;
  width: auto;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--wywk-ivory);
  letter-spacing: -0.03em;
}
.brand-name span {
  color: var(--wywk-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wywk-muted);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--wywk-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid var(--wywk-border);
  border-radius: 8px;
  color: var(--wywk-ivory);
  padding: 8px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(16, 23, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 40px;
}
.drawer-links a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--wywk-ivory);
  font-weight: 600;
}
.drawer-links a:hover {
  color: var(--wywk-primary);
}

/* Hero Section */
.hero-section {
  padding-top: 100px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 60, 53, 0.6) 0%, rgba(16, 23, 22, 1) 75%);
  border-bottom: 1px solid var(--wywk-border);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--wywk-primary);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--wywk-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 30px;
  background: rgba(37, 60, 53, 0.3);
  border: 1px solid var(--wywk-border);
  border-radius: 20px;
}
.stat-box {
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wywk-primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--wywk-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-ui);
}

/* Bento Cards / Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.bento-card {
  background: var(--wywk-green);
  border: 1px solid var(--wywk-border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--wywk-border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background: #2b453d;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184, 243, 107, 0.12);
  color: var(--wywk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-title {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.card-text {
  color: var(--wywk-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.card-link {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wywk-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link:hover {
  color: var(--wywk-soft);
  gap: 10px;
}

/* Alert Banner */
.fraud-alert-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(37, 60, 53, 0.3) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.alert-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-content h4 {
  color: #fca5a5;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.alert-content p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.alert-content a {
  color: var(--wywk-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 14px;
  border: 1px solid var(--wywk-border);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}
.info-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--wywk-primary);
  padding: 14px 20px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--wywk-border);
}
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--wywk-ivory);
  font-size: 0.95rem;
}
.info-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background: #0b100f;
  border-top: 1px solid var(--wywk-border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-about p {
  color: var(--wywk-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 380px;
}
.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--wywk-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--wywk-muted);
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--wywk-primary);
}

.footer-bottom {
  border-top: 1px solid var(--wywk-border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--wywk-sage);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-contact {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .fraud-alert-banner {
    flex-direction: column;
    padding: 20px;
  }
}
