/* ============================================================================
   TumaSMS — public website
   ========================================================================== */
body.site { background: #fff; font-size: 15px; color: var(--text-2); }
.site section { position: relative; }
.site .container { max-width: 1180px; }
.site h1, .site h2, .site h3 { letter-spacing: -.03em; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px; background: var(--primary-light); color: var(--primary-dark); font-size: 13px; font-weight: 700; border: 1px solid var(--primary-border); }
.eyebrow .tag { background: var(--primary); color: #fff; border-radius: 20px; padding: 3px 10px; font-size: 11px; letter-spacing: .03em; }
.section-pad { padding: 96px 0; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--text-1); line-height: 1.12; }
.section-lead { font-size: 17px; color: var(--text-3); max-width: 620px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; display: block; }

/* Navbar */
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(150, 55, 45, .06); }
.site-nav .navbar { padding: 14px 0; }
.site-nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text-1); letter-spacing: -.02em; }
.site-nav .brand img { width: 38px; height: 38px; border-radius: 11px; }
.site-nav .nav-link { color: var(--text-2); font-weight: 600; font-size: 14.5px; padding: 8px 14px !important; border-radius: 10px; }
.site-nav .nav-link:hover { color: var(--primary-dark); background: var(--primary-light); }

/* Hero */
.hero { padding: 64px 0 88px; overflow: hidden; background: radial-gradient(900px 500px at 85% 10%, #fde3de 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #fff4e0 0%, transparent 60%), #fff; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; line-height: 1.04; color: var(--text-1); letter-spacing: -.045em; }
.hero h1 .hl { background: linear-gradient(120deg, var(--primary-dark), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 18px; color: var(--text-3); max-width: 540px; line-height: 1.6; }
.hero-proof { display: flex; align-items: center; gap: 14px; }
.hero-proof .stack { display: flex; }
.hero-proof .stack span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; }
.hero-proof .stack span:first-child { margin-left: 0; }
.hero-proof .stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.hero-proof small { color: var(--text-3); font-weight: 600; }

.hero-visual { position: relative; max-width: 470px; margin: 0 auto; }
.hero-visual .blob { position: absolute; inset: 30px -10px -10px 30px; border-radius: 40px; background: linear-gradient(140deg, #B23A2C, #F06355 60%, #F5A35F); transform: rotate(4deg); }
.hero-phone { position: relative; width: 300px; margin: 0 auto; background: #1f1a19; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px rgba(120, 40, 30, .35); }
.hero-phone .scr { background: #f6f2f1; border-radius: 34px; padding: 20px 14px 22px; min-height: 520px; }
.hero-phone .notch { width: 110px; height: 22px; background: #1f1a19; border-radius: 0 0 14px 14px; margin: -20px auto 12px; }
.hero-phone .who { text-align: center; margin-bottom: 16px; }
.hero-phone .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.hero-phone .who b { display: block; font-size: 14px; color: var(--text-1); margin-top: 4px; }
.hero-phone .who small { font-size: 11px; color: var(--text-4); }
.msg { background: #fff; border-radius: 18px 18px 18px 5px; padding: 10px 13px; font-size: 12.5px; line-height: 1.45; color: var(--text-1); margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); max-width: 92%; opacity: 0; transform: translateY(10px); animation: msgIn .5s ease forwards; }
.msg time { display: block; font-size: 10px; color: var(--text-4); margin-top: 4px; }
.msg:nth-child(3) { animation-delay: .3s; } .msg:nth-child(4) { animation-delay: 1s; } .msg:nth-child(5) { animation-delay: 1.7s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(120, 40, 30, .16); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; z-index: 2; animation: floaty 5s ease-in-out infinite; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.float-card b { display: block; color: var(--text-1); font-size: 15px; line-height: 1.1; }
.float-card small { color: var(--text-4); font-weight: 600; font-size: 11.5px; }
.float-card.fc-1 { left: -40px; top: 90px; }
.float-card.fc-2 { right: -30px; bottom: 120px; animation-delay: 1.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.networks { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fdfaf9; padding: 22px 0; }
.networks .lbl { font-size: 12.5px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: .1em; }
.networks .net { font-weight: 800; font-size: 18px; color: #a39794; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 6px; }

/* Feature cards */
.feature-card { border: 1px solid var(--border); border-radius: 20px; padding: 26px; height: 100%; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.feature-card .ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-3); margin: 0; line-height: 1.6; }

/* Counter widget */
.counter-widget { background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; }
.counter-widget textarea { border: 1px solid var(--border); border-radius: 14px; resize: none; font-size: 15px; padding: 14px; width: 100%; min-height: 150px; }
.counter-widget textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(240, 99, 85, .14); }
.counter-big { font-size: 34px; font-weight: 800; color: var(--text-1); letter-spacing: -.03em; }
.counter-bar { height: 8px; border-radius: 8px; background: #f2e9e6; overflow: hidden; }
.counter-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #f5a35f); border-radius: 8px; transition: width .2s; }

/* Credits section */
.credits-section { background: linear-gradient(160deg, #221a18 0%, #3a1a14 100%); color: #fff; overflow: hidden; }
.credits-section .section-title { color: #fff; }
.credits-section .section-lead { color: rgba(255, 255, 255, .72); }
.credits-section .check { display: flex; gap: 12px; margin-bottom: 14px; color: rgba(255, 255, 255, .86); }
.credits-section .check i { color: #fbbf9f; font-size: 18px; }
.wallet-card { background: linear-gradient(135deg, #B23A2C, #F06355); border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); position: relative; overflow: hidden; }
.wallet-card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); right: -70px; top: -70px; }
.wallet-card .bal { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.pay-toast { background: #fff; color: var(--text-1); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 36px rgba(0, 0, 0, .3); }
.pay-toast .ic { width: 42px; height: 42px; border-radius: 12px; background: #dcfce7; color: #15803d; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.toggle-row { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }

/* Use-case tabs */
.usecase-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: #f6efed; padding: 6px; border-radius: 16px; }
.usecase-tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--text-3); }
.usecase-tabs button.active { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.usecase-panel { display: none; }
.usecase-panel.active { display: flex; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.usecase-card { border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(180deg, #fff, #fdf8f7); padding: 36px; }
.sms-mock { background: #f6f2f1; border-radius: 22px; padding: 18px; }
.sms-mock .head { font-size: 12px; color: var(--text-4); text-align: center; margin-bottom: 10px; }
.sms-mock .head b { color: var(--text-1); }

/* Pricing */
.pricing-card { border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.pricing-card .left { padding: 40px; }
.pricing-card .right { padding: 40px; background: linear-gradient(160deg, #fdf3f1, #fff); border-left: 1px solid var(--border); }
.big-count { font-size: 46px; font-weight: 800; color: var(--text-1); letter-spacing: -.04em; line-height: 1; }
.price-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.price-line:last-of-type { border-bottom: 0; }
.price-line b { color: var(--text-1); }
.price-total { font-size: 32px; font-weight: 800; color: var(--primary-dark); letter-spacing: -.03em; }

/* Steps */
.step { text-align: center; padding: 0 12px; }
.step .num { width: 56px; height: 56px; border-radius: 18px; background: var(--primary-light); color: var(--primary-dark); font-weight: 800; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid var(--primary-border); }
.step h3 { font-size: 18px; font-weight: 800; }
.step p { color: var(--text-3); font-size: 14.5px; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-weight: 700; font-size: 15.5px; color: var(--text-1); padding: 18px 22px; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--primary-dark); background: #fffaf9; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--text-3); font-size: 14.5px; padding: 4px 22px 20px; line-height: 1.65; background: #fffaf9; }

/* CTA */
.cta-band { border-radius: 32px; background: radial-gradient(500px 260px at 90% 0%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(135deg, #8f2a1f, #F06355); color: #fff; padding: 56px; overflow: hidden; position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 17px; }
.btn-white { background: #fff; color: var(--primary-dark); font-weight: 800; border: 0; }
.btn-white:hover { background: #fff4f2; color: var(--primary-dark); }
.btn-ghost-white { border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-weight: 700; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Footer */
.site-footer { background: #1b1514; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 14px; }
.site-footer h6 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
.site-footer .social a:hover { background: var(--primary); }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 22px; font-size: 13px; }

/* Docs page */
.docs-hero { padding: 64px 0 40px; background: radial-gradient(800px 400px at 80% 0%, #fde3de, transparent 60%); }
.docs-nav { position: sticky; top: 90px; }
.docs-nav a { display: block; padding: 7px 12px; border-radius: 9px; color: var(--text-3); font-weight: 600; font-size: 14px; }
.docs-nav a:hover { background: var(--primary-light); color: var(--primary-dark); }
.doc-section { margin-bottom: 48px; scroll-margin-top: 90px; }
.doc-section h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.method { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-right: 8px; }
.method.post { background: #dcfce7; color: #166534; }
.method.get { background: #dbeafe; color: #1e40af; }

@media (max-width: 991.98px) {
    .section-pad { padding: 64px 0; }
    .hero { padding: 36px 0 56px; }
    .float-card.fc-1 { left: -6px; top: 40px; }
    .float-card.fc-2 { right: -6px; }
    .pricing-card .right { border-left: 0; border-top: 1px solid var(--border); }
    .pricing-card .left, .pricing-card .right { padding: 28px 22px; }
    .cta-band { padding: 36px 24px; border-radius: 24px; }
    .usecase-card { padding: 22px; }
}
@media (max-width: 575.98px) {
    .hero-phone { width: 260px; }
    .hero-phone .scr { min-height: 460px; }
    .float-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .msg, .float-card, .usecase-panel.active { animation: none; opacity: 1; transform: none; }
}
