/* ===================================================
   GREENY APP STUDIO — Design System
   Theme: Dark Luxury × Nature Neon
   Fonts: Clash Display (headings) + DM Sans (body)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Core Palette */
  --bg:         #040d0a;
  --bg2:        #071510;
  --surface:    rgba(255,255,255,0.04);
  --surface2:   rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border2:    rgba(20,255,130,0.15);

  /* Neon Greens */
  --g1: #14ff82;
  --g2: #0fce68;
  --g3: #0a9e50;
  --g4: #065c2e;

  /* Accents */
  --teal: #00e5c8;
  --blue: #4fa3ff;
  --amber: #ffc94d;
  --rose: #ff6b9d;

  /* Text */
  --text:   #f0faf5;
  --text2:  #8ab89e;
  --text3:  #4d7a60;

  /* Glow */
  --glow-g:  rgba(20, 255, 130, 0.18);
  --glow-t:  rgba(0, 229, 200, 0.15);

  /* Spacing & Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Background Grid & Glows ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,255,130,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,255,130,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.bg-glow--green {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(20,255,130,0.22), transparent 70%);
  top: -200px; right: -100px;
}
.bg-glow--teal {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,200,0.18), transparent 70%);
  bottom: 100px; left: -150px;
}
.bg-glow--blue {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,163,255,0.14), transparent 70%);
  top: 40%; left: 40%;
}

/* ── Layout ── */
.wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 20px auto 0;
  width: min(1160px, calc(100% - 32px));
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  background: rgba(4, 13, 10, 0.80);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border2);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(20,255,130,0.06), 0 20px 50px rgba(0,0,0,0.5);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(20,255,130,0.35);
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text .studio-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g1);
  font-weight: 700;
}

.nav-brand-text .studio-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(20,255,130,0.1);
  color: var(--g1);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--g1), var(--teal));
  color: var(--bg);
  box-shadow: 0 0 30px rgba(20,255,130,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(20,255,130,0.45);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text2);
}
.btn-ghost:hover {
  background: var(--surface2);
  border-color: rgba(20,255,130,0.2);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 18px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.btn-store:hover {
  background: rgba(20,255,130,0.08);
  border-color: rgba(20,255,130,0.3);
  transform: translateY(-2px);
}
.btn-store .store-icon { font-size: 20px; }
.btn-store .store-text { display: flex; flex-direction: column; line-height: 1.2; }
.btn-store .store-text small { font-size: 10px; opacity: 0.6; font-weight: 400; }
.btn-store .store-text span { font-size: 14px; }

/* ── Typography ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(20,255,130,0.08);
  border: 1px solid rgba(20,255,130,0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--g1);
  margin-bottom: 20px;
}

h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.display-title {
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--g1) 0%, var(--teal) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(20,255,130,0.25);
  box-shadow: 0 0 0 1px rgba(20,255,130,0.08), 0 30px 60px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

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

/* ── Pill/Tag ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.tag-green { background: rgba(20,255,130,0.1); color: var(--g1); border: 1px solid rgba(20,255,130,0.2); }
.tag-teal  { background: rgba(0,229,200,0.1);  color: var(--teal); border: 1px solid rgba(0,229,200,0.2); }
.tag-blue  { background: rgba(79,163,255,0.1); color: var(--blue); border: 1px solid rgba(79,163,255,0.2); }
.tag-amber { background: rgba(255,201,77,0.1); color: var(--amber); border: 1px solid rgba(255,201,77,0.2); }
.tag-slate { background: rgba(255,255,255,0.06); color: var(--text2); border: 1px solid var(--border); }

/* ── Section spacing ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Footer ── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text3);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text2);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--g1); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(20,255,130,0.3); }
  50%       { box-shadow: 0 0 40px rgba(20,255,130,0.6); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.anim-fadeup {
  animation: fadeUp 0.7s var(--ease) both;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 24px); }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* ── Noise texture overlay ── */
body::after {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  iframe[title*="chat"],
  iframe[src*="tawk.to"],
  .tawk-min-container,
  .tawk-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}