 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green: #00e676;
    --green-dim: #00b359;
    --green-glow: rgba(0,230,118,0.15);
    --amber: #ffab00;
    --amber-dim: #cc8800;
    --bg: #080d08;
    --bg2: #0d140d;
    --bg3: #121a12;
    --surface: rgba(255,255,255,0.03);
    --border: rgba(0,230,118,0.12);
    --text: #e8f5e9;
    --text-dim: #6e8c6e;
    --text-muted: #3d563d;
    --font-head: 'Orbitron', monospace;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'Nunito', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(8,13,8,0.75);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--green);
    text-decoration: none;
  }

  .nav-logo span { color: var(--text-dim); }

  nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
  }

  nav a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
  }

  nav a:hover { color: var(--green); }

  .nav-cta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green) !important;
    border: 1px solid var(--green-dim);
    padding: 0.45rem 1.2rem;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s !important;
  }

  .nav-cta:hover {
    background: var(--green) !important;
    color: var(--bg) !important;
  }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 4rem 4rem;
    overflow: hidden;
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,230,118,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,230,118,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
  }

  .hero-glow {
    position: absolute;
    top: 10%; right: 5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-glow2 {
    position: absolute;
    bottom: 0; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,171,0,0.05) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
    animation: fadeUp 1s ease both;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    background: rgba(0,230,118,0.05);
  }

  .hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
  }

  h1 {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }

  h1 em {
    font-style: normal;
    color: var(--green);
    position: relative;
  }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 3rem;
    line-height: 1.8;
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--green);
    color: var(--bg);
    padding: 0.85rem 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    border-radius: 2px;
    transition: transform 0.15s, box-shadow 0.15s;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,230,118,0.3);
  }

  .btn-outline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-dim);
    padding: 0.85rem 2rem;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    transition: color 0.2s, border-color 0.2s;
  }

  .btn-outline:hover { color: var(--green); border-color: var(--green-dim); }

  /* GREENHOUSE SVG ILLUSTRATION */
  .hero-illustration {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    opacity: 0.85;
    animation: fadeUp 1.2s 0.3s ease both;
  }

  /* STATS BAR */
  .stats-bar {
    display: flex;
    gap: 0;
    margin-top: 4rem;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    animation: fadeUp 1s 0.5s ease both;
  }

  .stat {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border-right: 1px solid var(--border);
    background: var(--surface);
  }
  .stat:last-child { border-right: none; }

  .stat-val {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--green);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  /* ── SECTION COMMONS ── */
  section {
    padding: 7rem 4rem;
    position: relative;
    z-index: 1;
  }

  .section-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-dim);
    margin-bottom: 0.75rem;
    display: block;
  }

  h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }

  h3 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--text);
  }

  p { color: var(--text-dim); margin-bottom: 1rem; }

  /* ── ABOUT ── */
  #about { background: var(--bg2); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 1.2rem;
    transition: border-color 0.2s, background 0.2s;
  }

  .feat-card:hover {
    border-color: var(--green-dim);
    background: var(--green-glow);
  }

  .feat-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: block;
  }

  .feat-card h3 { font-size: 0.8rem; }
  .feat-card p { font-size: 0.82rem; margin: 0; }

  /* ABOUT VISUAL */
  .about-visual {
    position: relative;
  }

  .terminal {
    background: #090e09;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.8rem;
  }

  .terminal-bar {
    background: #0d140d;
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1rem;
    display: flex;
    gap: 0.4rem;
  }

  .dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot-r { background: #ff5f57; }
  .dot-y { background: #febc2e; }
  .dot-g { background: var(--green-dim); }

  .terminal-body { padding: 1.2rem 1.4rem; line-height: 2; }
  .t-dim { color: var(--text-muted); }
  .t-green { color: var(--green); }
  .t-amber { color: var(--amber); }
  .t-white { color: var(--text); }
  .t-cursor { animation: blink 1s step-end infinite; }

  /* ── HARDWARE ── */
  #hardware { background: var(--bg3); }

  .hw-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .hw-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
  }

  .spec-row {
    display: flex;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
    gap: 1rem;
  }

  .spec-row:last-child { border-bottom: none; }
  .spec-row:nth-child(odd) { background: var(--surface); }

  .spec-key {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    min-width: 130px;
  }

  .spec-val {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text);
  }

  .spec-val .highlight { color: var(--green); }

  /* SENSORS GRID */
  .sensors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .sensor-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s;
  }

  .sensor-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--green);
    opacity: 0;
    transition: opacity 0.2s;
  }

  .sensor-card:hover { border-color: var(--green-dim); }
  .sensor-card:hover::before { opacity: 1; }

  .sensor-value {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--green);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .sensor-unit {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
  }

  .sensor-name {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
  }

  .sensor-chip {
    position: absolute;
    top: 1rem; right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.4rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    border: 1px solid var(--border);
  }

  /* ── APP SECTION ── */
  #app { background: var(--bg2); }

  .app-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .app-features { margin-top: 2rem; }

  .app-feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
  }

  .app-feature:last-child { border-bottom: none; }

  .app-feature-num {
    font-family: var(--font-head);
    font-size: 0.75rem;
    color: var(--green-dim);
    min-width: 28px;
    padding-top: 0.1rem;
  }

  .app-feature h3 { font-size: 0.85rem; margin-bottom: 0.3rem; }
  .app-feature p { font-size: 0.82rem; margin: 0; }

  /* PHONE MOCKUP */
  .phone-wrap {
    display: flex;
    justify-content: center;
  }

  /* ── ARCHITECTURE ── */
  #architecture { background: var(--bg3); }

  .arch-diagram {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .arch-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.5rem 0;
  }

  .arch-node {
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 0.8rem 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    background: var(--surface);
    min-width: 140px;
    transition: border-color 0.2s, background 0.2s;
  }

  .arch-node:hover {
    border-color: var(--green-dim);
    background: var(--green-glow);
  }

  .arch-node.green-node {
    border-color: var(--green-dim);
    background: rgba(0,179,89,0.1);
    color: var(--green);
  }

  .arch-node.amber-node {
    border-color: var(--amber-dim);
    background: rgba(255,171,0,0.08);
    color: var(--amber);
  }

  .arch-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-family: var(--font-mono);
  }

  .arch-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--green-dim), var(--text-muted));
    opacity: 0.4;
  }

  /* ── TEAM ── */
  #team { background: var(--bg2); }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .team-card {
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 2rem 1.5rem;
    background: var(--surface);
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
  }

  .team-card:hover { border-color: var(--green-dim); transform: translateY(-4px); }

  .avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--green-glow);
    border: 2px solid var(--green-dim);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--green);
  }

  .team-name { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
  .team-role { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

  /* ── FOOTER ── */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }

  .footer-logo {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--green);
  }

  .footer-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-align: center;
  }

  .footer-links {
    display: flex;
    gap: 1.5rem;
  }

  .footer-links a {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--green); }

  /* ── DIVIDER ── */
  .section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.85); }
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  @keyframes scanline {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 2rem; }
    nav ul { display: none; }
    section { padding: 5rem 2rem; }
    #hero { padding: 8rem 2rem 4rem; }
    .hero-illustration { display: none; }
    .about-grid, .hw-grid, .app-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-bar { flex-direction: column; }
    .stat { border-right: none; border-bottom: 1px solid var(--border); }
    .stat:last-child { border-bottom: none; }
    footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  }