/* ===== KagzDevz Global Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --green: #2d7a3a;
  --green-light: #3a9648;
  --green-bright: #4caf50;
  --green-glow: rgba(45,122,58,0.18);
  --white: #f5f5f0;
  --grey: #888;
  --grey-light: #ccc;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 72px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--green-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--green-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(45,122,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-glow);
  border: 1px solid var(--green);
  color: var(--green-bright);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h1.hero-title .accent { color: var(--green-bright); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--grey-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,122,58,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.04);
}
.btn-secondary:hover { border-color: var(--green); background: var(--green-glow); }

/* ===== STATS CARD ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stats-header {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }

.stat-label { color: var(--grey); font-size: 0.9rem; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.stat-badge {
  background: rgba(76,175,80,0.15);
  color: var(--green-bright);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== SECTION STYLES ===== */
section { padding: 100px 6%; }

.section-max { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  color: var(--green-bright);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--grey-light);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  border-color: rgba(45,122,58,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(45,122,58,0.15);
}
.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px;
  background: var(--green-glow);
  border: 1px solid rgba(45,122,58,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.service-card p { color: var(--grey-light); font-size: 0.92rem; line-height: 1.6; }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 6%;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-list { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.why-item:hover { border-color: rgba(45,122,58,0.4); }

.why-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--green-glow);
  border: 1px solid rgba(45,122,58,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.why-item p { color: var(--grey); font-size: 0.9rem; line-height: 1.6; }

/* ===== PROCESS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px rgba(45,122,58,0.15);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.step p { color: var(--grey-light); font-size: 0.9rem; line-height: 1.6; }

/* ===== TECH STACK ===== */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.tech-badge:hover {
  border-color: var(--green);
  background: var(--green-glow);
}
.tech-badge span { font-size: 1.2rem; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}

.price-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(135deg, var(--dark2), rgba(45,122,58,0.08));
  box-shadow: 0 0 40px rgba(45,122,58,0.15);
  transform: scale(1.04);
}

.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.3); }
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.plan-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-bright);
  margin: 1rem 0;
}
.price-card .price span { font-size: 1rem; color: var(--grey); font-weight: 400; }

.price-card p { color: var(--grey-light); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.6; }

.features { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--grey-light); }
.feature-item::before { content: '✓'; color: var(--green-bright); font-weight: 700; flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info p { color: var(--grey-light); line-height: 1.7; margin-bottom: 2rem; }

.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.contact-link:hover { border-color: var(--green); }
.contact-link .icon { font-size: 1.4rem; }
.contact-link .label { font-size: 0.8rem; color: var(--grey); }
.contact-link .value { font-weight: 600; font-size: 0.95rem; }

.contact-form {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--grey-light);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-btns { display: flex; gap: 1rem; margin-top: 1.5rem; }
.form-btns .btn-primary,
.form-btns .btn-secondary { flex: 1; justify-content: center; border: none; cursor: pointer; font-size: 0.9rem; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, rgba(45,122,58,0.12), rgba(45,122,58,0.04));
  border-top: 1px solid rgba(45,122,58,0.2);
  border-bottom: 1px solid rgba(45,122,58,0.2);
  text-align: center;
  padding: 80px 6%;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-band p { color: var(--grey-light); max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 6% 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.social-row { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--dark2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--green); background: var(--green-glow); }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  color: var(--grey);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: var(--grey); font-size: 0.85rem; }
.footer-bottom span { color: var(--green-bright); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 150px 6% 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,122,58,0.12) 0%, transparent 60%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--grey-light);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid, .why-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 1.5rem 6%; border-bottom: 1px solid var(--border); gap: 1.25rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* About page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark2);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--black);
  box-shadow: 0 0 0 3px var(--green);
  flex-shrink: 0;
}
.dot-line {
  width: 2px;
  flex: 1;
  background: rgba(45,122,58,0.3);
  margin-top: 4px;
}
.timeline-item:last-child .dot-line { display: none; }
.timeline-content { padding-top: 0; }
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--green-bright);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.timeline-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
.timeline-content p { color: var(--grey-light); font-size: 0.9rem; line-height: 1.6; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.stars { color: var(--green-bright); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-card p { color: var(--grey-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--grey); }
