﻿/* ============================================================
   Cypress Works — cypressapps.dev stylesheet
   Dark forest-green theme
   ============================================================ */

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

:root {
  --bg:          #060e09;
  --bg-2:        #0b1610;
  --surface:     #0f1e13;
  --surface-2:   #162419;
  --border:      rgba(52, 211, 153, .10);
  --border-dim:  rgba(255, 255, 255, .06);

  --green:       #34d399;
  --green-mid:   #10b981;
  --green-dark:  #059669;
  --green-faint: rgba(52, 211, 153, .08);
  --green-glow:  rgba(52, 211, 153, .18);

  --text:        #ecfdf5;
  --text-2:      #bbf7d0;
  --muted:       #6ee7b7;
  --muted-dim:   #2d6a4f;

  --font:        'Inter', system-ui, sans-serif;
  --font-serif:  'Instrument Serif', Georgia, serif;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
  --nav-h:       64px;

  --shadow:      0 4px 24px rgba(0,0,0,.4), 0 1px 4px rgba(0,0,0,.3);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.4);
  --shadow-green: 0 8px 32px rgba(52,211,153,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green);
}

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

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #052e16;
  box-shadow: 0 2px 16px rgba(52,211,153,.35);
}
.btn--primary:hover {
  background: #6ee7b7;
  box-shadow: 0 4px 24px rgba(52,211,153,.5);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-faint);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 14, 9, .80);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--border-dim);
  box-shadow: 0 1px 24px rgba(0,0,0,.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--green);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted-dim);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--green); background: var(--green-faint); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all .3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border-dim);
}
.nav__mobile a {
  text-decoration: none;
  color: var(--muted-dim);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.nav__mobile a:hover { background: var(--green-faint); color: var(--green); }
.nav__mobile.open { display: flex; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .5;
}
.hero__orb--1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(52,211,153,.22) 0%, transparent 70%);
  top: -160px; left: -180px;
  animation: orb1 12s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5,150,105,.18) 0%, transparent 70%);
  bottom: -80px; right: -100px;
  animation: orb2 15s ease-in-out infinite alternate;
}

@keyframes orb1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}
@keyframes orb2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, -40px) scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Icon with glow */
.hero__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__icon-glow {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.25) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.15); }
}

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 680px;
}

.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   Section shared
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  background: var(--green-faint);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto;
}

/* ============================================================
   Products
   ============================================================ */
.products {
  padding: 120px 0;
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.product-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.product-card--muted {
  opacity: .65;
}
.product-card--muted:hover {
  opacity: .9;
  box-shadow: var(--shadow);
}

.product-card__inner {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.product-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-card__icon--placeholder {
  color: var(--muted-dim);
}

.product-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-card__meta h3 {
  font-size: 20px;
  font-weight: 700;
}

.product-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-badge--soon {
  background: rgba(52,211,153,.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,.2);
}
.product-badge--stealth {
  background: rgba(255,255,255,.05);
  color: var(--muted-dim);
  border: 1px solid var(--border-dim);
}

.product-card__content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s, opacity .2s;
}
.product-link:hover { gap: 9px; opacity: .8; }

/* ============================================================
   Values
   ============================================================ */
.values {
  padding: 0 0 120px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.value-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-faint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.value-card__icon svg { width: 20px; height: 20px; }

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Founder note */
.founder-note {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}

.founder-note__quote {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: .8;
  color: var(--green);
  opacity: .25;
  margin-bottom: 16px;
  user-select: none;
}

.founder-note blockquote {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-2);
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 720px;
}

.founder-note__attr {
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder-note__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-faint);
  border: 1.5px solid var(--border);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.founder-note__attr strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.founder-note__attr span {
  font-size: 13px;
  color: var(--muted-dim);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  padding: 0 0 140px;
}

.contact__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* top shimmer line */
.contact__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: .5;
}

.contact__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--green-faint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.contact__inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.contact__inner > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: var(--green-faint);
  transition: all .2s;
  margin-top: 4px;
}
.contact__email:hover {
  background: rgba(52,211,153,.14);
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(52,211,153,.15);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__brand .nav__logo {
  margin-bottom: 10px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--muted-dim);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 56px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-dim);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(110,231,183,.4);
  text-decoration: none;
  transition: color .2s;
}
.footer__col a:hover { color: var(--muted); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-dim);
  font-size: 13px;
  color: var(--muted-dim);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .products__grid { grid-template-columns: 1fr; }
  .values__grid   { grid-template-columns: 1fr; }
  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }
  .founder-note   { padding: 36px 28px; }
  .contact__inner { padding: 56px 28px; }
}

@media (max-width: 600px) {
  .hero__headline { font-size: 2rem; }
  .footer__inner  { flex-direction: column; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
