/* MyAIGuy site - brand: teal #12A594, deep teal #0B4A43, coral #FF6F4F, cream #FFF4E8, Nunito */
:root {
  --teal: #12A594;
  --teal-dark: #0E8577;
  --ink: #0B4A43;
  --coral: #FF6F4F;
  --cream: #FFF4E8;
  --paper: #FFFBF6;
  --muted: #4E6F6A;
  --line: #E8DCCD;
  --wa-bg: #EFE7DD;
  --wa-out: #D9FDD3;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h1, h2 { text-wrap: balance; }
section, [id] { scroll-margin-top: 84px; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.accent { color: var(--coral); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,251,246,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.site-header .logo img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.site-nav a:hover { color: var(--teal-dark); }
@media (max-width: 720px) {
  .site-nav a.hide-sm { display: none; }
  .site-header { position: static; backdrop-filter: none; background: var(--paper); }
  section, [id] { scroll-margin-top: 12px; }
}

/* Buttons */
.btn { display: inline-block; background: var(--coral); color: #fff; font-weight: 900; text-decoration: none; padding: 14px 26px; border-radius: 999px; font-size: 1.05rem; box-shadow: 0 6px 18px rgba(255,111,79,.3); transition: transform .12s ease, box-shadow .12s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(255,111,79,.38); }
.btn-sm { padding: 9px 18px; font-size: .95rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--teal-dark); color: var(--teal-dark); }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(ellipse at 85% 10%, rgba(18,165,148,.14), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(255,111,79,.10), transparent 55%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); background: rgba(18,165,148,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Phone + chat bubbles */
.phone { background: var(--wa-bg); border-radius: 30px; padding: 0 0 16px; box-shadow: 0 24px 60px rgba(11,74,67,.18), 0 0 0 10px #fff; max-width: 380px; margin: 0 auto; overflow: hidden; }
.phone-top { background: var(--ink); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.phone-top img { width: 36px; height: 36px; border-radius: 50%; }
.phone-top strong { display: block; font-size: .98rem; line-height: 1.2; }
.phone-top span { font-size: .78rem; opacity: .75; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 0; }
.bubble { max-width: 85%; padding: 8px 12px 6px; border-radius: 12px; font-size: .95rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.bubble.in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: var(--wa-out); align-self: flex-end; border-top-right-radius: 4px; }
.bubble .time { display: block; text-align: right; font-size: .7rem; color: #8a9a97; margin-top: 2px; }
.bubble.voice { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.voice .play { width: 0; height: 0; border-left: 12px solid #6b7f7b; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.voice .wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #8fb3ad 0 3px, transparent 3px 6px); border-radius: 2px; mask: linear-gradient(90deg, #000 0 100%); opacity: .8; }
.voice .len { font-size: .75rem; color: #6b7f7b; }
.bubble[dir="rtl"] { text-align: right; }

/* Sections */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.alt { background: var(--cream); }

/* Examples grid */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.example { background: var(--wa-bg); border-radius: var(--radius); padding: 18px 16px; }
.example h3 { font-size: 1rem; margin: 0 4px 12px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.example h3 .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.example .chat { padding: 0; }
@media (max-width: 760px) { .examples { grid-template-columns: 1fr; } }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature .ico { width: 64px; height: 64px; border-radius: 20px; background: var(--cream); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 40px; height: 40px; overflow: visible; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Languages */
.lang .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lang .chat { background: var(--wa-bg); border-radius: var(--radius); padding: 18px 14px; }
@media (max-width: 860px) { .lang .wrap { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.plan { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 0 0 3px var(--teal), 0 18px 40px rgba(11,74,67,.1); }
.plan .price { font-size: 3.2rem; font-weight: 900; line-height: 1; }
.plan .price small { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.plan ul { padding: 0; margin: 22px 0 26px; list-style: none; }
.plan li { padding: 7px 0 7px 30px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.credits { background: var(--cream); border-radius: 24px; padding: 28px; }
.credits table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.credits td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.credits td:last-child { text-align: right; font-weight: 800; white-space: nowrap; padding-left: 12px; }
.credits .note { color: var(--muted); font-size: .92rem; margin: 16px 0 0; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); }

/* Coming soon */
.soon { text-align: center; background: var(--teal); color: #fff; border-radius: 28px; padding: 54px 26px; }
.soon h2 { color: #fff; }
.soon p { opacity: .92; font-size: 1.1rem; max-width: 34em; margin: 0 auto 0; }
.soon img { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.25); }

/* Footer */
.site-footer { background: var(--ink); color: #cfe3df; padding: 40px 0; font-size: .95rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer img { height: 32px; width: auto; }
.site-footer a { color: #fff; text-decoration: none; margin-left: 18px; }
.site-footer a:hover { text-decoration: underline; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .updated { color: var(--muted); margin-bottom: 2em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .96rem; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--cream); }

/* Placeholder that must be replaced before going live */
.placeholder { background: #FFE14D; color: #7a1a00; font-weight: 900; padding: 1px 6px; border-radius: 4px; outline: 2px dashed #d33; }
