/* ============================================================
   Isthakamya – Design System
   ============================================================ */

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

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
    --blue:        #3b82f6;
    --blue-dark:   #1e40af;
    --purple:      #8b5cf6;
    --green:       #10b981;
    --amber:       #f59e0b;
    --text:        #1f2937;
    --text-muted:  #6b7280;
    --border:      #e5e7eb;
    --bg-soft:     #f9fafb;
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #ffffff;
}

a { transition: color .25s ease; }
a:hover { color: var(--blue-dark); }

/* ── Container ──────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header / Nav ───────────────────────────────────────────── */
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(0,0,0,.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: -.5px;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
}

/* Desktop nav */
nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: .925rem;
    padding: .45rem 1rem;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

nav a:hover {
    background: rgba(59,130,246,.08);
    color: var(--blue-dark);
}

nav a.active {
    background: rgba(59,130,246,.12);
    color: var(--blue-dark);
    font-weight: 600;
}

/* Header buttons */
.header-buttons { display: flex; gap: .75rem; align-items: center; flex-shrink: 0; }

.btn-login {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: .925rem;
    font-weight: 600;
    padding: .5rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.btn-login:hover { background: var(--bg-soft); color: var(--text); }

.btn-trial {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: #fff;
    border: none;
    font-size: .925rem;
    font-weight: 600;
    padding: .5rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.btn-trial:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,.35); color: #fff; }

/* Hamburger – mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 50%, #e0f2fe 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(59,130,246,.1);
    color: var(--blue-dark);
    border: 1px solid rgba(59,130,246,.2);
    padding: .45rem 1.1rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #4b5563;
    font-size: .9rem;
}
.hero-trust span { display: flex; align-items: center; gap: .4rem; }
.hero-trust span::before {
    content: 'checkmark';
    content: '\2713';
    width: 20px; height: 20px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Section ────────────────────────────────────────────────── */
.section    { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-soft { background: var(--bg-soft); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: .75rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

.section > h2, .section-sm > h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
    margin-bottom: 1rem;
}
.section > .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ── Grid ───────────────────────────────────────────────────── */
.grid   { display: grid; gap: 1.75rem; }
.grid-2 { display: grid; gap: 1.75rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1.75rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1.75rem; grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: box-shadow .25s, border-color .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    box-shadow: 0 8px 28px rgba(59,130,246,.12);
    border-color: #93c5fd;
    transform: translateY(-3px);
}
.card h3 { color: var(--blue-dark); font-size: 1.15rem; font-weight: 600; margin-bottom: .75rem; line-height: 1.3; }
.card h4 { color: var(--blue-dark); font-size: 1rem;   font-weight: 600; margin-bottom: .6rem;  line-height: 1.4; }
.card p  { color: var(--text-muted); font-size: .95rem; line-height: 1.65; }

.card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.card li { color: var(--text-muted); font-size: .9rem; line-height: 1.8; display: flex; align-items: flex-start; gap: .6rem; padding: .2rem 0; }
.card li::before { content: "checkmark"; content: "\2713"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* Feature icon box */
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: transform .25s, box-shadow .25s;
}
.card:hover .feature-icon { transform: scale(1.08); box-shadow: 0 6px 18px rgba(59,130,246,.18); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
    color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,.35); color: #fff; }

.btn-secondary {
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
}
.btn-secondary:hover { background: var(--blue-dark); color: #fff; }

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-outline:hover { background: #eff6ff; }

.btn-ghost {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ── Forms ──────────────────────────────────────────────────── */
label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    margin-bottom: .4rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .95rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
textarea { resize: vertical; min-height: 130px; }

/* CakePHP form error states */
.error-message, small.error-message { display:block; color:#ef4444; font-size:.82rem; margin-top:.35rem; }
.has-error input, .has-error select, .has-error textarea { border-color:#ef4444; }
.has-error input:focus, .has-error select:focus, .has-error textarea:focus { box-shadow:0 0 0 3px rgba(239,68,68,.12); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ── Pricing cards ──────────────────────────────────────────── */
.pricing-card { text-align: center; position: relative; }
.pricing-card .price {
    font-size: 2.75rem; font-weight: 800; color: var(--blue-dark);
    line-height: 1; margin: .75rem 0; letter-spacing: -.03em;
}
.pricing-card .price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-card .price .period   { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-card .description { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.pricing-card .features { text-align: left; margin-bottom: 1.5rem; }

/* ── Contact layout ─────────────────────────────────────────── */
.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-card {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.4rem; background: var(--bg-soft);
    border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 1.25rem;
}
.contact-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
.contact-card-icon { font-size: 1.75rem; flex-shrink: 0; }
.contact-card h3 { color: var(--blue-dark); font-size: 1rem; font-weight: 600; margin-bottom: .35rem; }
.contact-card p  { color: var(--text-muted); font-size: .9rem; margin: .15rem 0; }
.contact-card a  { color: var(--blue-dark); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.help-cta {
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: var(--radius-md); padding: 1.75rem; margin-top: 1.5rem;
}
.help-cta h3 { color: var(--blue-dark); font-size: 1.1rem; margin-bottom: .5rem; }
.help-cta p  { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── Table ──────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
thead th {
    padding: 1rem 1.25rem; text-align: left;
    font-size: .9rem; font-weight: 700; color: var(--text);
    border-bottom: 2px solid var(--border); background: var(--bg-soft);
}
tbody td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-muted); }
thead th:not(:first-child), tbody td:not(:first-child) { text-align: center; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
    background: #111827;
    color: #d1d5db;
    padding: 4rem 0 0;
    margin-top: 5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid #374151;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 1rem 0 1.5rem; color: #9ca3af; }

.footer-logo {
    display: flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: 1.15rem; color: #fff; text-decoration: none;
}
.footer-logo-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .8rem;
}

.social-links { display: flex; gap: .6rem; }
.social-links a {
    display: inline-flex; width: 36px; height: 36px;
    align-items: center; justify-content: center;
    border: 1px solid #374151; border-radius: 8px;
    color: #9ca3af; font-size: .85rem; text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.social-links a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.footer-col h4 { color: #f9fafb; font-size: .875rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a  { color: #9ca3af; text-decoration: none; font-size: .9rem; transition: color .2s; display: inline; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 1.5rem 1.5rem; max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #6b7280;
}
.footer-bottom a { color: #9ca3af; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── Testimonial Carousel ───────────────────────────────────── */
.testimonial-carousel {
    position: relative; max-width: 820px; margin: 0 auto; padding: 0 3rem;
}
.carousel-track-wrapper { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.25,.46,.45,.94); }
.carousel-slide { min-width: 100%; }

.testimonial-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2.5rem 2.75rem; text-align: center;
    box-shadow: 0 4px 32px rgba(0,0,0,.06);
    display: block; transform: none !important;
}
.testimonial-card:hover { transform: none !important; box-shadow: 0 4px 32px rgba(0,0,0,.06); border-color: var(--border); }

.testimonial-quote-mark {
    font-family: Georgia, serif; font-size: 4.5rem; line-height: .5;
    color: var(--blue); opacity: .15; display: block; margin-bottom: .5rem;
}
.testimonial-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 3px; display: block; margin-bottom: 1.25rem; }
.testimonial-text  { font-size: 1.05rem; font-style: italic; color: #374151; line-height: 1.8; margin-bottom: 2rem; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-avatar {
    width: 50px; height: 50px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-meta { text-align: left; }
.testimonial-name { font-weight: 700; color: var(--text); font-size: .975rem; margin-bottom: .15rem; }
.testimonial-role { font-size: .83rem; color: #9ca3af; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: #fff; border: 1.5px solid var(--border);
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-muted);
    box-shadow: var(--shadow-sm); z-index: 10;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.carousel-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 14px rgba(59,130,246,.3); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 1.75rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; border: none; cursor: pointer; transition: all .35s ease; padding: 0; flex-shrink: 0; }
.carousel-dot.active { background: var(--blue); width: 26px; border-radius: 4px; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--blue-dark) 50%, #312e81 100%);
    border-radius: var(--radius-lg); padding: 4rem 2.5rem; text-align: center; color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: 1.05rem; margin: 0 auto 2rem; max-width: 560px; }
.cta-actions   { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-note      { font-size: .85rem; opacity: .75; }

/* ── Stat block ─────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -.02em; }
.stat-label  { font-size: .9rem; color: var(--text-muted); margin-top: .25rem; }

/* ── Step list ──────────────────────────────────────────────── */
.step-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; margin-bottom: 3rem; align-items: start; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff; font-weight: 800; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.step-body p  { color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin-bottom: .75rem; }
.step-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.step-tag  { background: #eff6ff; color: var(--blue-dark); padding: .35rem .85rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 500; }

/* ── Blog / Article ─────────────────────────────────────────── */
.article-badge {
    display: inline-block; background: #dbeafe; color: var(--blue-dark);
    padding: .2rem .7rem; border-radius: 9999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; margin-bottom: .875rem;
}
.article-title   { font-size: 1.15rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: .6rem; }
.article-excerpt { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin-bottom: .875rem; }
.article-meta    { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: #9ca3af; margin-bottom: .875rem; }
.article-read-more { color: var(--blue-dark); text-decoration: none; font-weight: 600; font-size: .9rem; }
.article-read-more:hover { color: var(--blue); }

/* ── FAQ accordion ──────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: .875rem; overflow: hidden; }
.faq-question {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.4rem; font-size: .975rem; font-weight: 600; color: var(--text);
    text-align: left; transition: background .2s;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-icon { font-size: 1.1rem; transition: transform .3s; flex-shrink: 0; color: var(--blue); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 1.4rem 1.1rem; color: var(--text-muted); font-size: .92rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Value proposition row ──────────────────────────────────── */
.value-row { display: flex; align-items: flex-start; gap: 1rem; }
.value-row .feature-icon { flex-shrink: 0; margin-bottom: 0; }

/* ── Misc utility ───────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--blue-dark); }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }   .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ── Dashboard inbox ────────────────────────────────────────── */
.inbox-tab {
    background: none; border: none; cursor: pointer;
    padding: .65rem .25rem; font-size: .95rem; font-weight: 600;
    color: var(--text-muted); border-bottom: 3px solid transparent;
    margin-bottom: -2px; display: flex; align-items: center; gap: .5rem;
    transition: color .2s, border-color .2s;
}
.inbox-tab:hover  { color: var(--blue-dark); }
.inbox-tab.active { color: var(--blue-dark); border-bottom-color: var(--blue); }

.inbox-badge {
    background: var(--blue); color: #fff;
    font-size: .7rem; font-weight: 700; padding: .15rem .5rem;
    border-radius: 999px; line-height: 1.4;
}

.inbox-row {
    display: flex; align-items: flex-start; gap: 1rem;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1rem 1.25rem;
    transition: box-shadow .2s;
}
.inbox-row:hover   { box-shadow: var(--shadow-md); }
.inbox-row--new    { border-left: 4px solid var(--blue); background: #eff6ff; }

.inbox-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
}

.status-badge {
    display: inline-block; font-size: .72rem; font-weight: 700;
    padding: .15rem .55rem; border-radius: 999px; letter-spacing: .03em;
}
.status-new  { background: #dbeafe; color: var(--blue-dark); }
.status-read { background: #f3f4f6; color: var(--text-muted); }

/* ── Responsive nav ─────────────────────────────────────────── */
@media (max-width: 900px) {
    nav { display: none; }
    .header-buttons .btn-login { display: none; }
    .nav-toggle { display: flex; }

    nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 1rem 1.5rem;
        gap: .25rem;
        z-index: 999;
    }
    nav.open a { padding: .7rem 1rem; border-radius: 8px; }
}

@media (max-width: 640px) {
    .hero { padding: 3.5rem 1.25rem; }
    .hero p  { font-size: 1rem; }
    .section { padding: 3rem 0; }
    .testimonial-carousel { padding: 0 2.5rem; }
    .testimonial-card     { padding: 1.75rem 1.5rem; }
    .cta-banner           { padding: 2.5rem 1.5rem; }
    .cta-banner h2        { font-size: 1.5rem; }
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease-out both; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
