/* ===== WhatsApp Media Manager — Website Styles ===== */

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

:root {
  --green:        #00A884;
  --green-dark:   #008F70;
  --green-light:  #B2F5E0;
  --blue:         #0088CC;
  --blue-light:   #CDE5FF;
  --orange:       #FF6B35;
  --orange-light: #FFDBCF;
  --bg:           #F8FAF9;
  --surface:      #FFFFFF;
  --surface-alt:  #F0F4F1;
  --text:         #191C1B;
  --text-muted:   #404943;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.12);
  --max-w:        1140px;
  --transition:   .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

.container { width: 92%; max-width: var(--max-w); margin: 0 auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 0 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.header__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--text);
}
.header__brand img { width: 38px; height: 38px; border-radius: 10px; }

.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a {
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  position: relative; padding-bottom: 2px;
}
.header__nav a:hover, .header__nav a.active { color: var(--green); }
.header__nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0;
  height: 2px; background: var(--green); border-radius: 2px;
  transition: width var(--transition);
}
.header__nav a:hover::after, .header__nav a.active::after { width: 100%; }

.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff !important; padding: 8px 20px;
  border-radius: 50px; font-weight: 600; font-size: .88rem;
  transition: background var(--transition), transform var(--transition);
  border: none; cursor: pointer;
}
.btn-download:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff !important; }
.btn-download svg { width: 18px; height: 18px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #F0FFF8 0%, #E8FDF4 40%, var(--bg) 100%);
  overflow: hidden;
}
.hero .container {
  display: flex; align-items: center; gap: 60px;
}
.hero__content { flex: 1; max-width: 560px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green-dark);
  padding: 6px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; margin-bottom: 20px;
}
.hero__badge svg { width: 14px; height: 14px; }
.hero__content h1 {
  font-size: 2.8rem; font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 18px;
}
.hero__content h1 span { color: var(--green); }
.hero__content p {
  font-size: 1.12rem; color: var(--text-muted); margin-bottom: 32px;
  max-width: 480px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__playstore img {
  height: 56px; width: auto; transition: transform var(--transition);
}
.hero__playstore:hover img { transform: scale(1.04); }
.hero__stats {
  display: flex; gap: 32px; margin-top: 36px;
  padding-top: 28px; border-top: 1px solid rgba(0,0,0,.08);
}
.hero__stats div { text-align: center; }
.hero__stats strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--green);
}
.hero__stats span { font-size: .82rem; color: var(--text-muted); }

.hero__visual { flex: 1; display: flex; justify-content: center; position: relative; }
.hero__phone {
  width: 280px; height: 560px;
  background: var(--surface);
  border-radius: 36px;
  border: 3px solid #e0e0e0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.hero__phone-notch {
  width: 120px; height: 28px;
  background: #e0e0e0; border-radius: 0 0 16px 16px;
  margin: 0 auto;
}
.hero__phone-content {
  flex: 1; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__phone-content img { width: 80px; height: 80px; border-radius: 18px; margin-bottom: 16px; }
.hero__phone-content .phone-title {
  font-weight: 700; font-size: .95rem; text-align: center;
  margin-bottom: 8px; color: var(--text);
}
.hero__phone-content .phone-subtitle {
  font-size: .78rem; color: var(--text-muted); text-align: center;
  margin-bottom: 24px;
}
.phone-stat-cards { display: flex; gap: 10px; width: 100%; }
.phone-stat-card {
  flex: 1; background: var(--green-light); border-radius: 10px;
  padding: 12px 8px; text-align: center;
}
.phone-stat-card strong { display: block; font-size: .85rem; font-weight: 700; color: var(--green-dark); }
.phone-stat-card span  { font-size: .65rem; color: var(--text-muted); }
.phone-bars { width: 100%; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.phone-bar { display: flex; align-items: center; gap: 8px; }
.phone-bar-label { font-size: .68rem; width: 50px; color: var(--text-muted); }
.phone-bar-track { flex: 1; height: 8px; background: #e8ebe9; border-radius: 4px; overflow: hidden; }
.phone-bar-fill { height: 100%; border-radius: 4px; }

/* ---------- Features ---------- */
.features { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 12px;
}
.section-header h2 span { color: var(--green); }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.features__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card__icon--green  { background: var(--green-light); color: var(--green); }
.feature-card__icon--blue   { background: var(--blue-light);  color: var(--blue); }
.feature-card__icon--orange { background: var(--orange-light); color: var(--orange); }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .92rem; color: var(--text-muted); line-height: 1.55; }
.feature-card .badge {
  display: inline-block; margin-top: 12px; font-size: .72rem;
  font-weight: 700; padding: 3px 10px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge--free { background: var(--green-light); color: var(--green-dark); }
.badge--pro  { background: var(--orange-light); color: var(--orange); }

/* ---------- How it works ---------- */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface-alt), var(--bg));
}
.steps { display: flex; gap: 32px; margin-top: 12px; }
.step {
  flex: 1; text-align: center; padding: 28px 20px;
  position: relative;
}
.step__number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: .9rem; color: var(--text-muted); }
/* connector lines between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute; top: 48px; right: -16px;
  width: 32px; height: 2px;
  background: var(--green-light);
}

/* ---------- Pro ---------- */
.pro {
  padding: 80px 0;
}
.pro__card {
  background: linear-gradient(135deg, #005139, #00A884);
  border-radius: 20px; padding: 52px; color: #fff;
  display: flex; align-items: center; gap: 48px;
  box-shadow: var(--shadow-lg);
}
.pro__content { flex: 1; }
.pro__content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.pro__content p  { font-size: 1.05rem; opacity: .9; margin-bottom: 28px; max-width: 440px; }
.pro__features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
.pro__features li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 500;
}
.pro__features li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-light); }
.pro__visual {
  flex-shrink: 0;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pro__visual svg { width: 80px; height: 80px; opacity: .85; }

/* ---------- CTA Banner ---------- */
.cta {
  padding: 72px 0;
  background: var(--surface-alt);
  text-align: center;
}
.cta h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.cta p  { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 28px; }
.cta__playstore img { height: 60px; display: inline-block; transition: transform var(--transition); }
.cta__playstore:hover img { transform: scale(1.05); }

/* ---------- Footer ---------- */
.footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}
.footer .container {
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between;
}
.footer__brand { max-width: 280px; }
.footer__brand img { width: 42px; height: 42px; border-radius: 10px; margin-bottom: 12px; }
.footer__brand h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.footer__brand p  { font-size: .85rem; line-height: 1.6; }

.footer__links h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a  { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--green-light); }

.footer__bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: var(--green-light); }

/* ---------- Legal / Info Pages ---------- */
.page-header {
  padding: 48px 0 36px;
  background: linear-gradient(160deg, #F0FFF8 0%, var(--bg) 100%);
  text-align: center;
}
.page-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.page-header p   { color: var(--text-muted); font-size: .95rem; }

.legal-content {
  padding: 48px 0 72px;
}
.legal-content .container { max-width: 780px; }
.legal-content h2 {
  font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px;
  color: var(--green-dark);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: .95rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content ul { padding-left: 24px; }
.legal-content ul li { margin-bottom: 6px; }
.legal-content a { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-section { padding: 60px 0 80px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.contact-info p  { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.contact-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  margin-bottom: 16px; display: flex; align-items: flex-start; gap: 16px;
}
.contact-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p  { font-size: .88rem; color: var(--text-muted); }
.contact-card a  { color: var(--green); font-weight: 600; }

.contact-form {
  background: var(--surface); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.contact-form h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid #dce1dd;
  border-radius: var(--radius-sm); font-size: .92rem; font-family: inherit;
  background: var(--bg); color: var(--text); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--green);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-form .btn-download { width: 100%; justify-content: center; padding: 12px 20px; font-size: .95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__content p { margin: 0 auto 28px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; gap: 24px; }
  .step:not(:last-child)::after { display: none; }
  .pro__card { flex-direction: column; text-align: center; padding: 36px 24px; }
  .pro__features { justify-items: start; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header__nav { 
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--surface); flex-direction: column;
    padding: 24px; gap: 20px; box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--green-light);
  }
  .header__nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero__content h1 { font-size: 2rem; }
  .features__grid { grid-template-columns: 1fr; }
  .pro__features { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
