:root {
    --radius: 16px;
    --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--background);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: color 0.25s ease, background 0.25s ease;
}

.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--bg-gradient);
    transition: background 0.25s ease;
}
.bg-animated::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, var(--bg-glow-a) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, var(--bg-glow-b) 0%, transparent 40%);
    animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-2%, -1%) scale(1.05); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 1rem 0 1.5rem;
    text-align: center;
    position: relative;
}
.site-header .logo { height: 72px; width: auto; }
.header-tagline {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.6rem;
    font-style: italic;
}
.header-nav {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}
.header-nav a {
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.2s;
}
.header-nav a:hover { color: var(--primary); }

/* Typography */
.section-eyebrow {
    display: inline-block;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.section-title strong { font-weight: 700; color: var(--primary); }
.section-lead {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-subtle);
    max-width: 640px;
}
.section-block {
    padding: 3.5rem 0;
}
.section-block--tight { padding: 2.5rem 0; }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

.divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.btn-row--left { justify-content: flex-start; }

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.25s, transform 0.2s, border-color 0.25s;
}
.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    padding: 2rem 0 3rem;
    text-align: center;
}
.hero h1 {
    font-size: clamp(1.75rem, 5.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 strong { font-weight: 700; color: var(--primary); }
.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-subtle);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.hero-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 2rem;
    font-size: 0.78rem;
    color: var(--text-subtle);
}
.hero-icons span { display: inline-flex; align-items: center; gap: 0.35rem; }
.hero-icons i { color: var(--primary); }

/* Cards */
.card-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
}

/* Problem */
.problem-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 300;
}
.problem-list i {
    color: var(--primary);
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.problem-closing {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.step-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.25rem;
    transition: border-color 0.25s;
}
.step-card:hover { border-color: rgba(229,57,53,0.35); }
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229,57,53,0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.step-card p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-subtle);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 400;
    padding: 0.85rem 1rem;
    background: var(--surface-muted);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.benefit-item i {
    color: #4caf50;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Use cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 1.75rem;
}
.use-case {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.25s, transform 0.2s;
}
.use-case:hover {
    border-color: rgba(229,57,53,0.3);
    transform: translateY(-2px);
}
.use-case i {
    font-size: 1.6rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}
.use-case span {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Testimonials → Feedback examples carousel */
.feedback-carousel {
    margin-top: 2rem;
    position: relative;
}
.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
}
.carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}
.feedback-card {
    flex: 0 0 100%;
    padding: 0.25rem;
    box-sizing: border-box;
}
.feedback-card-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.feedback-stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.feedback-quote {
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.feedback-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-subtle);
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin: 0 auto;
}
.feedback-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-faint);
    margin-top: 0.75rem;
    font-weight: 300;
}
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface-muted);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}
.carousel-btn:hover {
    border-color: var(--primary);
    background: rgba(229,57,53,0.1);
}
.carousel-dots {
    display: flex;
    gap: 0.5rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--text-faint);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.carousel-dot.is-active {
    background: var(--primary);
    transform: scale(1.2);
}
.feedback-insights {
    margin-top: 2.5rem;
    padding: 1.75rem 1.5rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.feedback-insights h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text);
}
.feedback-insights ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
.feedback-insights li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-muted);
}
.feedback-insights li i {
    color: #4caf50;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .feedback-insights ul { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ */
.faq-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.faq-item {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.faq-question i {
    color: var(--primary);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.faq-item.is-open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 0 1.15rem 1rem;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-subtle);
    line-height: 1.65;
}
.faq-item.is-open .faq-answer { display: block; }

/* Contact */
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.form-section h2 {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.4rem;
}
.form-section h2 span { color: var(--primary); font-weight: 600; }
.form-section .subtitle {
    font-size: 0.85rem;
    color: var(--text-subtle);
    font-weight: 300;
    margin-bottom: 1.25rem;
}
.form-group { margin-bottom: 0.85rem; text-align: left; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 300;
    outline: none;
    transition: border-color 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--placeholder); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.form-group select option { background: var(--surface); color: var(--text); }
.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.35rem;
    transition: background 0.25s, transform 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-error {
    display: none;
    background: rgba(229,57,53,0.15);
    border: 1px solid rgba(229,57,53,0.3);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    color: var(--primary);
}
.form-success { display: none; text-align: center; padding: 1.5rem 0; }
.form-success .check { font-size: 2.5rem; color: #4caf50; margin-bottom: 0.75rem; }
.form-success h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.4rem; }
.form-success p { font-size: 0.85rem; color: var(--text-subtle); }

.contact-card h2 {
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    text-align: center;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}
.contact-item i { color: var(--primary); font-size: 1.1rem; }
.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-item a:hover { color: var(--primary); }

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem 0 5rem;
}
.site-footer p {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-weight: 300;
}
.site-footer a { color: var(--primary); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (min-width: 600px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
    .hero { text-align: left; padding: 3rem 0 4rem; }
    .hero h1, .hero-subtitle { margin-left: 0; margin-right: 0; }
    .btn-row { justify-content: flex-start; }
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .step-card { flex-direction: column; text-align: center; }
    .step-card .step-num { margin: 0 auto; }
    .contact-row { flex-direction: row; align-items: stretch; }
    .contact-row > * { flex: 1; }
    .use-cases-grid { grid-template-columns: repeat(6, 1fr); }
}
