/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #2d4a20;
  --green: #3d6b2c;
  --green-mid: #5c8a3e;
  --green-light: #8ab56a;
  --gold: #c9973a;
  --gold-light: #e8c068;
  --cream: #faf7f2;
  --cream-dark: #f0ebe0;
  --text: #1e1e1e;
  --text-mid: #4a4a4a;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --border: #e2dbd0;
  --card-shadow: 0 4px 32px rgba(45, 74, 32, 0.10);
  --card-shadow-hover: 0 12px 48px rgba(45, 74, 32, 0.18);
  --radius: 18px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(48px, 8vw, 88px); font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
em { font-style: italic; color: var(--green-mid); }
p { font-size: 15px; color: var(--text-mid); line-height: 1.75; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--green-dark);
  display: flex; align-items: center; gap: 8px;
}
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--text-mid); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: 0.3s; }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--cream); border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-menu a { padding: 12px 0; font-size: 16px; color: var(--text-mid); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(61,107,44,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(201,151,58,0.07) 0%, transparent 50%),
              var(--cream);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: var(--green-light); top: -100px; left: -100px; animation-delay: 0s; }
.orb2 { width: 400px; height: 400px; background: var(--gold-light); bottom: 0; right: -100px; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: var(--green); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-20px) scale(1.05); }
  66% { transform: translate(-15px,15px) scale(0.95); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 40px 24px;
  animation: fadeUp 1s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(61,107,44,0.1); border: 1px solid rgba(61,107,44,0.25);
  color: var(--green); font-size: 13px; font-weight: 500;
  letter-spacing: 1px; padding: 6px 18px; border-radius: 50px;
  margin-bottom: 28px;
}
.hero-title {
  color: var(--green-dark); margin-bottom: 20px;
  line-height: 1.05; letter-spacing: -1px;
}
.hero-sub {
  font-size: 17px; color: var(--text-mid);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 40px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 60px; padding: 16px 40px; width: fit-content; margin-left: auto; margin-right: auto;
}
.stat { text-align: center; padding: 0 28px; }
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 700; color: var(--green-dark); }
.stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.btn-primary {
  display: inline-block;
  background: var(--green-dark); color: var(--white);
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  padding: 16px 40px; border-radius: 50px;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(45,74,32,0.3);
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45,74,32,0.35); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 2px; color: var(--text-muted);
  text-transform: uppercase; animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ===== APPS SECTION ===== */
.apps-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-header h2 { color: var(--green-dark); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow); transition: all 0.35s;
  animation: fadeUp 0.6s ease both;
}
.app-card:nth-child(1) { animation-delay: 0.05s; }
.app-card:nth-child(2) { animation-delay: 0.10s; }
.app-card:nth-child(3) { animation-delay: 0.15s; }
.app-card:nth-child(4) { animation-delay: 0.20s; }
.app-card:nth-child(5) { animation-delay: 0.25s; }
.app-card:nth-child(6) { animation-delay: 0.30s; }
.app-card:nth-child(7) { animation-delay: 0.35s; }
.app-card:nth-child(8) { animation-delay: 0.40s; }
.app-card:nth-child(9) { animation-delay: 0.45s; }

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(61,107,44,0.2);
}
.app-card-inner { display: flex; gap: 0; flex-direction: column; }
.app-icon-wrap {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  padding: 28px; display: flex; align-items: center; justify-content: center;
}
.app-icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.app-info { padding: 24px 28px 28px; }
.app-category {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.app-info h3 { color: var(--green-dark); margin-bottom: 10px; font-size: 20px; }
.app-info p { font-size: 14px; margin-bottom: 16px; }
.app-meta { display: flex; gap: 16px; margin-bottom: 20px; }
.rating, .downloads {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  background: var(--cream-dark); padding: 4px 12px; border-radius: 20px;
}
.app-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-play img { height: 36px; display: block; }
.btn-policy {
  font-size: 12px; font-weight: 500; color: var(--green);
  border: 1px solid rgba(61,107,44,0.3); padding: 6px 14px;
  border-radius: 20px; transition: all 0.2s;
}
.btn-policy:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--green-dark) 0%, #1a3012 100%);
  position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: '"'; position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 500px; line-height: 1;
  color: rgba(255,255,255,0.03);
  top: -60px; left: -20px; pointer-events: none;
}
.testimonials-section .section-tag { color: var(--gold-light); }
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header p {
  color: rgba(255,255,255,0.55); font-size: 16px; margin-top: 12px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.testimonial-card { grid-column: span 2; }
.testimonials-grid .testimonial-card:nth-child(4),
.testimonials-grid .testimonial-card:nth-child(5) {
  grid-column: span 3;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  transition: all 0.35s;
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 100px; line-height: 0.8;
  color: var(--gold-light);
  opacity: 0.4;
  position: absolute; top: 16px; right: 24px;
  pointer-events: none;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(232,192,104,0.35);
  transform: translateY(-5px);
}
.testimonial-stars {
  font-size: 15px; letter-spacing: 3px;
  margin-bottom: 18px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; line-height: 1.75;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-dark); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201,151,58,0.4);
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--white); }
.testimonial-app {
  font-size: 11px; color: var(--gold-light);
  font-weight: 500; margin-top: 3px;
  letter-spacing: 0.5px;
}

/* ===== ABOUT ===== */
.about-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a3012 100%);
  position: relative; overflow: hidden;
}
.about-section::before {
  content: '🪷'; position: absolute; font-size: 300px;
  opacity: 0.04; right: -40px; top: -40px; line-height: 1;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-tag { color: var(--gold-light); }
.about-text h2 { color: var(--white); margin-bottom: 24px; }
.about-text p { color: rgba(255,255,255,0.7); margin-bottom: 16px; font-size: 15px; }
.about-text strong { color: var(--gold-light); }
.btn-outline {
  display: inline-block; margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  font-size: 14px; font-weight: 500; padding: 12px 28px;
  border-radius: 50px; transition: all 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 24px;
  transition: background 0.2s;
}
.about-card:hover { background: rgba(255,255,255,0.12); }
.about-card-icon { font-size: 28px; margin-bottom: 12px; }
.about-card h4 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.about-card p { color: rgba(255,255,255,0.6); font-size: 13px; margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 8px; line-height: 1.6; }
.footer-address { font-size: 13px !important; }
.footer-links h5 {
  color: var(--gold-light); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px; font-family: 'Jost', sans-serif;
}
.footer-links a {
  display: block; color: rgba(255,255,255,0.55); font-size: 14px;
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; margin: 0; }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  background: linear-gradient(135deg, var(--green-dark), #3d6b2c);
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(36px, 6vw, 60px); color: var(--white); margin-bottom: 12px; }
.legal-hero p { color: rgba(255,255,255,0.7); font-size: 15px; }
.legal-hero .meta { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 16px; }

.legal-body { max-width: 800px; margin: 0 auto; padding: 64px 24px 100px; }

.legal-toc {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--green); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 48px;
}
.legal-toc h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 16px; }
.legal-toc ol { padding-left: 18px; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { font-size: 14px; color: var(--gold); font-weight: 500; }
.legal-toc a:hover { color: var(--green); text-decoration: underline; }

.legal-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px 40px; margin-bottom: 24px;
}
.legal-section h2 {
  font-size: 26px; color: var(--green-dark);
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.legal-section h3 { font-size: 17px; color: var(--text); margin: 20px 0 10px; }
.legal-section p { font-size: 15px; color: var(--text-mid); margin-bottom: 14px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 14px; }
.legal-section li { font-size: 15px; color: var(--text-mid); margin-bottom: 8px; }
.legal-section a { color: var(--gold); }
.legal-section strong { color: var(--text); }

.app-policy-block {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 24px; margin: 20px 0;
}
.app-policy-block h4 {
  font-size: 17px; color: var(--green-dark);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.app-policy-block img { width: 32px; height: 32px; border-radius: 8px; }

.highlight-box {
  background: linear-gradient(135deg, rgba(61,107,44,0.06), rgba(61,107,44,0.02));
  border: 1px solid rgba(61,107,44,0.2); border-radius: 10px;
  padding: 20px 24px; margin: 16px 0;
}
.highlight-box strong { color: var(--green-dark); }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 0; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-dark); display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-item h4 { font-size: 15px; color: var(--green-dark); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-muted); }
.contact-item a:hover { color: var(--green); }

.apps-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-contact-mini {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.app-contact-mini img { width: 36px; height: 36px; border-radius: 9px; }
.app-contact-mini span { font-size: 13px; font-weight: 500; color: var(--text-mid); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { grid-column: span 1 !important; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { padding: 14px 20px; }
  .stat { padding: 0 16px; }
  .stat-num { font-size: 22px; }
  .apps-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-section { padding: 24px 20px; }
  .apps-contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-text { font-size: 16px; }
}
