/* ===== GraphenKraft Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --black: #080808;
  --black-mid: #0e0e0e;
  --black-soft: #141414;
  --dark: #1a1a1a;
  --green: #1b6b3c;
  --green-light: #2a9d5c;
  --copper: #b87333;
  --copper-light: #d4945a;
  --white: #f8f7f4;
  --white-pure: #ffffff;
  --gray-warm: #c8c4bc;
  --gray-mid: #7a7670;
  --gray-dim: #3a3835;
  --gray-body: #555550;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-warm);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--copper);
}

.section-title {
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.section-title.dark { color: var(--black); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.8;
  max-width: 560px;
  font-weight: 400;
}
.section-subtitle.dark { color: var(--gray-body); }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--green);
  color: var(--white-pure);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27,107,60,0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--gray-warm);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-dim);
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-secondary:hover { border-color: var(--copper); color: var(--copper); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--black);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-outline-dark:hover { background: var(--black); color: var(--white-pure); }

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-dim), transparent);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo-mark { width: 34px; height: 34px; }
.nav-logo-mark svg { width: 100%; height: 100%; }

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-text span { font-weight: 400; color: var(--gray-warm); }

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  padding: 0.55rem 1.5rem !important;
  border: 1px solid var(--green) !important;
  color: var(--green-light) !important;
  transition: all 0.4s ease !important;
}
.nav-cta:hover { background: var(--green) !important; color: var(--white) !important; }

.nav-home {
  padding: 0.5rem 1.25rem !important;
  background: var(--green) !important;
  color: var(--white-pure) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  transition: all 0.4s ease !important;
}
.nav-home:hover { background: var(--green-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--white); transition: 0.3s ease; }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--black);
  position: relative;
}

.page-hero-line {
  position: absolute;
  left: 12%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  opacity: 0.1;
}

.page-hero .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 700px;
}

.page-hero .section-subtitle { max-width: 600px; }

.breadcrumb {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-mid);
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--gray-mid); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--copper); margin: 0 0.5rem; }

/* ===== WHITE SECTION ===== */
.section-white {
  background: var(--white);
  padding: 6rem 0;
}

.section-white .section-label { color: var(--green); }
.section-white .section-label::before { background: var(--green); }
.section-white .section-title { color: var(--black); }
.section-white .section-subtitle { color: var(--gray-body); }

.section-white .text-block {
  font-size: 1rem;
  color: var(--gray-body);
  line-height: 1.85;
  font-weight: 400;
  max-width: 720px;
}

.section-white .text-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin: 2rem 0 0.75rem;
}

.section-white .text-block p + p { margin-top: 1rem; }

/* ===== DARK SECTION ===== */
.section-dark {
  background: var(--black);
  padding: 6rem 0;
}

.section-alt {
  background: var(--black-mid);
  padding: 6rem 0;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.25rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--black-mid);
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  border-color: rgba(27,107,60,0.2);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.7;
  font-weight: 400;
}

/* White feature card variant */
.feature-card-white {
  padding: 2.25rem;
  border: 1px solid #e5e3df;
  background: var(--white-pure);
  transition: all 0.4s var(--ease);
}

.feature-card-white:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.feature-card-white h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.6rem;
}

.feature-card-white p {
  font-size: 0.88rem;
  color: var(--gray-body);
  line-height: 1.7;
  font-weight: 400;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  padding: 5rem 0;
  background: var(--green);
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white-pure);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cta-strip p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-weight: 400;
}

.cta-strip .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--white-pure);
  color: var(--green);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}
.cta-strip .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black-mid);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.7;
  font-weight: 400;
  max-width: 300px;
  margin-top: 1.25rem;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-mid);
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
  font-weight: 400;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom p { font-size: 0.78rem; color: var(--gray-dim); font-weight: 400; }

.footer-bottom-links { display: flex; gap: 2rem; }
.footer-bottom-links a { font-size: 0.78rem; color: var(--gray-dim); transition: color 0.3s; font-weight: 400; }
.footer-bottom-links a:hover { color: var(--gray-mid); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem 2.5rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  .container { padding: 0 1.5rem; }
  .btn-primary, .btn-secondary, .btn-outline-dark { width: 100%; justify-content: center; text-align: center; }
  .cta-strip { padding: 3.5rem 0; }
  .cta-strip h2 { font-size: 1.4rem; }
  .section-white, .section-dark, .section-alt { padding: 4rem 0; }
}
