/* palette: plum-amber */
:root {
  --primary-color: #38006B;
  --secondary-color: #6A1B9A;
  --accent-color: #C07800;
  --background-color: #F8F0FF;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 32px;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', sans-serif;
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body, html {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  scroll-behavior: smooth;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
}

/* Base Typography Scale */
h1 { font-size: clamp(32px, 6vw, 64px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(18px, 2.8vw, 28px); font-weight: 600; line-height: 1.3; }
p { font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7; }

/* Image Standards */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* STARTUP-GRADIENT Preset Rules - Literal Copy */
section{padding:72px 16px} 
@media(min-width:1024px){section{padding:80px 24px}} 
h1 .grad,.hero h1 span{background:linear-gradient(135deg,var(--accent-color),var(--primary-color));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text} 
.btn-primary{box-shadow:0 0 30px color-mix(in srgb,var(--accent-color) 50%,transparent)} 
.icon-bg{background:linear-gradient(135deg,var(--accent-color),var(--primary-color));border-radius:12px;padding:12px}

/* Header & Mobile Navigation */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: relative;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1010;
}
.burger-btn .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 999px;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 24px;
  z-index: 999;
}
.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.site-nav a {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.15s;
}
.site-nav a:hover {
  color: var(--accent-color);
}

/* Burger Animation & Toggle */
#menu-toggle:checked ~ .site-nav {
  display: block !important;
}
#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Navigation overrides */
@media (min-width: 1024px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 32px;
  }
}

/* Hero Section (noise-mesh) */
.hero {
  min-height: 81vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle at 10% 20%, rgba(56, 0, 107, 0.3), transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(192, 120, 0, 0.25), transparent 45%),
              radial-gradient(circle at 50% 50%, rgba(106, 27, 154, 0.2), transparent 50%),
              var(--background-color);
  position: relative;
  overflow: hidden;
  padding: 80px 16px;
}
.hero-badge {
  background: rgba(106, 27, 154, 0.1);
  color: var(--secondary-color);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 24px;
}
.hero-subtitle {
  max-width: 600px;
  color: var(--text-color);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary-color);
  color: #ffffff !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 0, 107, 0.4);
}
.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(56, 0, 107, 0.05);
  transform: translateY(-2px);
}

/* Cards & Cascade Delay */
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* Scroll-Reveal Sections */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* Stats Counter with CSS @property */
@property --count {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}
.stat-num::after {
  content: counter(n);
}
@keyframes count-up {
  from { --count: 0; }
  to { --count: var(--target); }
}
.stat-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

/* About Section List */
.about-list i {
  font-size: 1.25rem;
}

/* Forms & Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(106, 27, 154, 0.15);
}

/* Footer & Logo Invert */
footer {
  background: var(--dark-color);
  color: #ffffff;
  padding: 48px 16px;
}
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Responsiveness adjustments */
@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
  }
}