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

/* 
   SYSTEM: KRONKIT PREMIUM THEME
   Scale: 1rem = 16px
   Spacing: 4px base grid
   Colors: Deep Navy Base, Electric Cyan Accents
*/

:root {
  --c-bg: #060B14;
  --c-bg-surface: #0F1623;
  --c-bg-elevated: #172030;
  --c-text-main: #F0F4F8;
  --c-text-muted: #94A3B8;
  --c-accent: #00E5FF; /* Electric Blue/Cyan */
  --c-accent-hover: #00B8CC;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-hover: rgba(255, 255, 255, 0.2);
  
  --f-heading: 'Space Grotesk', sans-serif;
  --f-body: 'Inter', sans-serif;
  
  --s-container: 1280px;
  --s-gutter: clamp(1.5rem, 5vw, 4rem);
  
  --ease-elastic: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text-main);
  font-family: var(--f-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  color: var(--c-text-main);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); }

p {
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
  max-width: 65ch;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease-elastic);
}

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

/* --- LAYOUT UTILITIES --- */

.k-container {
  width: 100%;
  max-width: var(--s-container);
  margin: 0 auto;
  padding-left: var(--s-gutter);
  padding-right: var(--s-gutter);
  position: relative;
}

section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  position: relative;
}

/* --- BUTTONS --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--f-heading);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease-elastic);
}

.btn-primary {
  background-color: var(--c-accent);
  color: #000;
  border: 1px solid var(--c-accent);
}

.btn-primary:hover {
  background-color: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 229, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--c-text-main);
  border: 1px solid var(--c-border-hover);
}

.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* --- HEADER & NAV --- */

.k-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.k-header.scrolled {
  background: rgba(6, 11, 20, 0.9);
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}

.k-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.k-brand {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-text-main);
  letter-spacing: -0.03em;
}

.k-brand span { color: var(--c-accent); }

.k-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.k-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  position: relative;
}

.k-menu a:hover, .k-menu a.active {
  color: var(--c-text-main);
}

.k-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s var(--ease-elastic);
}

.k-menu a:hover::after { width: 100%; }

.k-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.k-hamburger span { width: 24px; height: 2px; background: var(--c-text-main); }

/* --- HERO SECTION --- */

.k-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, #172030 0%, #060B14 60%);
  padding-top: 180px; /* Offset for fixed header */
  padding-bottom: 100px;
  overflow: hidden;
}

/* Decorative grid background */
.k-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

.k-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.k-hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--c-accent);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.k-hero h1 {
  margin-bottom: 1.5rem;
}

.k-hero-sub {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.k-hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.k-hero-visual {
  position: relative;
}

.k-hero-visual img {
  border-radius: 8px;
  border: 1px solid var(--c-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.k-hero-visual:hover img {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* --- FEATURES / CARDS --- */

.k-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.k-card {
  background: var(--c-bg-surface);
  border: 1px solid var(--c-border);
  padding: 2.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.k-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent);
}

.k-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.k-card h3 { margin-bottom: 0.75rem; }

/* --- STATS --- */

.k-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 3rem 0;
}

.k-stat-item {
  text-align: center;
}

.k-stat-num {
  display: block;
  font-family: var(--f-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.k-stat-label {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- FAQ --- */

.k-faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem 0;
}

.k-faq-q {
  font-family: var(--f-heading);
  font-size: 1.25rem;
  color: var(--c-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.k-faq-a {
  padding-top: 1rem;
  color: var(--c-text-muted);
}

/* --- CTA BAND --- */

.k-cta-band {
  background: linear-gradient(135deg, var(--c-bg-elevated), #0d1421);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.k-cta-band::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* --- FOOTER --- */

.k-footer {
  border-top: 1px solid var(--c-border);
  padding: 5rem 0 2rem;
  background: var(--c-bg);
  font-size: 0.9rem;
}

.k-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.k-footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
}

.k-footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--c-text-main);
}

.k-footer-links {
  list-style: none;
}

.k-footer-links li { margin-bottom: 0.75rem; }

.k-footer-links a { color: var(--c-text-muted); }
.k-footer-links a:hover { color: var(--c-accent); }

.k-footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--c-text-muted);
  opacity: 0.6;
}

/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
  .k-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .k-hero-actions { justify-content: center; }
  .k-hero-visual { display: none; } /* Hide image on tablet/mobile for focus */
  .k-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .k-menu { display: none; } /* Requires JS to toggle, omitted for pure CSS demo */
  .k-hamburger { display: flex; }
  .k-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .k-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .k-cta-band { padding: 2rem; }
  h1 { font-size: 2.5rem; }
} *{box-sizing:border-box} html{-webkit-text-size-adjust:100%} body{margin:0} img,svg,video{max-width:100%;height:auto} 