/* ==========================================================================
   DIGICLOAK | Chargein Kiosk Private Limited
   Design System: Industrial High-Tech Craft (Light Theme)
   Crisp, Clean, Authoritative, High-Contrast Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Surface Tokens - Refined Architectural Light Theme */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-subtle: #f1f5f9;
  --bg-accent-subtle: rgba(2, 132, 199, 0.07);

  /* Precise Borders */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0284c7;
  --border-accent: rgba(202, 138, 4, 0.25);

  /* Brand Accents */
  --brand-blue: #0284c7;
  --brand-cyan: #0284c7;
  --brand-gold: #ca8a04;
  --brand-gold-hover: #a16207;

  /* High Contrast Typography */
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Realistic Physical Drop Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.1);

  /* Metrics & Structure */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --container-max: 1200px;
  --nav-height: 76px;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(2, 132, 199, 0.18);
  color: #0f172a;
}

:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.65;
}

.accent-gold {
  color: var(--brand-gold);
}

.accent-cyan {
  color: var(--brand-blue);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section Framing */
.section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-head {
  margin-bottom: 3.5rem;
  max-width: 680px;
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

.section-head p {
  font-size: 1.08rem;
}

/* Navigation Bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  background: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid var(--brand-blue);
}

.btn-primary:hover {
  background: #0369a1;
  border-color: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--text-main);
  color: #000000;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

/* Hero Section */
.hero-wrap {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content p.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta-item svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* Hero Visual Module */
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-caption-bar {
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Innovation Specs Ribbon */
.specs-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.spec-item {
  border-left: 2px solid var(--border-medium);
  padding-left: 1.25rem;
}

.spec-val {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.spec-lbl {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.solution-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.solution-box:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.solution-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-subtle);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
}

.solution-box h3 {
  margin-bottom: 0.75rem;
}

.solution-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: var(--text-muted);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-list li svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

/* Process Timeline */
.timeline-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  display: block;
}

.timeline-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.timeline-step p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Visual Showcases */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.feature-showcase.reverse {
  direction: rtl;
}

.feature-showcase.reverse > * {
  direction: ltr;
}

.showcase-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
}

.showcase-content h2 {
  margin-bottom: 1.25rem;
}

.showcase-content p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}

/* Security Standards Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.security-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.security-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(202, 138, 4, 0.08);
  border: 1px solid rgba(202, 138, 4, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  margin-bottom: 1.25rem;
}

.security-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.security-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Corporate Block */
.corporate-block {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.corporate-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.corporate-top h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.corporate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.corp-item-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.corp-item-val {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.55;
}

.corp-item-val a {
  color: var(--brand-blue);
  font-weight: 600;
}

.corp-item-val a:hover {
  text-decoration: underline;
}

.grievance-panel {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}

.grievance-panel h5 {
  font-size: 0.95rem;
  color: var(--brand-gold);
  margin-bottom: 0.35rem;
}

.grievance-panel p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Site Footer */
.site-footer {
  background: #090e17;
  color: #f8fafc;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo-img {
  background: #ffffff;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 340px;
  color: #94a3b8;
}

.footer-col h5 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-legal-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-nav a {
  color: #64748b;
}

.footer-legal-nav a:hover {
  color: #ffffff;
}

/* Policy Pages Layout */
.policy-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-content-wrapper {
  padding: 4rem 0 6rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.policy-toc {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.policy-toc h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.policy-toc ul li {
  margin-bottom: 0.65rem;
}

.policy-toc ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
}

.policy-toc ul a:hover {
  color: var(--brand-blue);
  font-weight: 600;
}

.policy-body {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
}

.policy-body h2 {
  font-size: 1.65rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.policy-body h2:first-of-type {
  margin-top: 0;
}

.policy-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.policy-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-body ul li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.policy-meta-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .specs-grid, .security-grid, .timeline-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-showcase.reverse {
    direction: ltr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .policy-content-wrapper {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-right .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .specs-grid, .security-grid, .timeline-row, .corporate-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .corporate-block, .policy-body {
    padding: 2rem 1.5rem;
  }
}
