/* ─────────────────────────────────────────────────────────────────────────────
   RestTech — Custom Stylesheet
   All CSS custom properties inherit from inline :root set by PHP config.
───────────────────────────────────────────────────────────────────────────── */

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #2C3E50;
    background: #fff;
    overflow-x: hidden;
}

.section-padding { padding: 100px 0; }

/* ── Typography helpers ───────────────────────────────────────────────────── */
.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 560px;
    margin: .75rem auto 0;
    line-height: 1.7;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
#mainNav {
    background: transparent;
    transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
    padding: 1.2rem 0;
}

#mainNav.scrolled {
    background: var(--secondary);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
    padding: .7rem 0;
}

.brand-icon {
    width: 38px; height: 38px;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.brand-icon-sm {
    width: 30px; height: 30px;
    font-size: .9rem;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

#mainNav .nav-link {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .92rem;
    padding: .4rem .75rem;
    border-radius: 8px;
    transition: color .2s, background .2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.btn-nav-login {
    font-weight: 600;
    font-size: .88rem;
    padding: .45rem 1.1rem;
    border-radius: 10px;
    border-color: rgba(255,255,255,.4);
    color: #fff;
    transition: background .2s, border-color .2s;
}

.btn-nav-login:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.8);
    color: #fff;
}

.btn-nav-cta {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: .45rem 1.2rem;
    border-radius: 10px;
    font-size: .88rem;
    transition: transform .15s, box-shadow .15s;
}

.btn-nav-cta:hover {
    background: #e8551f;
    border-color: #e8551f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255,107,53,.45);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(255,107,53,.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(52,152,219,.1) 0%, transparent 50%);
}

/* Animated grid pattern */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,107,53,.2);
    color: #FF9F7A;
    border: 1px solid rgba(255,107,53,.3);
    padding: .45rem 1.1rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    animation: fadeInDown .6s ease both;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.03em;
    animation: fadeInUp .7s ease .1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    max-width: 520px;
    animation: fadeInUp .7s ease .2s both;
}

.btn-hero-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: .8rem 1.8rem;
    border-radius: 12px;
    transition: transform .15s, box-shadow .15s;
    animation: fadeInUp .7s ease .35s both;
}

.btn-hero-primary:hover {
    background: #e8551f;
    border-color: #e8551f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,.5);
}

.btn-hero-secondary {
    font-weight: 600;
    padding: .8rem 1.8rem;
    border-radius: 12px;
    border-color: rgba(255,255,255,.4);
    color: #fff;
    transition: background .2s, border-color .2s;
    animation: fadeInUp .7s ease .4s both;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
    color: #fff;
}

.hero-trust {
    animation: fadeInUp .7s ease .55s both;
}

.trust-item {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Phone mockup */
.hero-mockup {
    animation: floatUp .8s ease .3s both;
}

.hero-phone-img {
    max-height: 580px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,.5));
}

.mockup-phone {
    width: 320px;
    background: #1e293b;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}

.mockup-screen {
    background: #0f172a;
    border-radius: 22px;
    overflow: hidden;
}

.mockup-ui { padding: 16px; }

.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
}

.mockup-title {
    color: rgba(255,255,255,.9);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.mockup-orders { margin-bottom: 14px; }

.mockup-order-row {
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    margin-bottom: 6px;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: center;
    transition: background .2s;
}

.mockup-order-row.active {
    background: rgba(255,107,53,.2);
    color: #FF9F7A;
    font-weight: 600;
}

.mockup-order-row.new {
    border: 1px dashed rgba(255,255,255,.2);
    background: transparent;
    color: rgba(255,255,255,.4);
}

.mockup-bill {
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 12px;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    padding: 3px 0;
}

.bill-row.total {
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.15);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.4);
    font-size: 1.4rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

/* ── Auth Side Drawer ─────────────────────────────────────────────────────── */
.auth-drawer {
    width: 400px;
    border-left: none;
    box-shadow: -8px 0 40px rgba(0,0,0,.18);
}

.auth-drawer-header {
    background: var(--secondary);
    padding: 1.25rem 1.5rem;
}

.auth-drawer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.15rem;
}

.auth-drawer-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e5e7eb;
}

.auth-tab {
    flex: 1;
    padding: .9rem 1rem;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: .9rem;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: #fff;
}

.auth-tab:hover:not(.active) {
    color: var(--secondary);
    background: #e9ecef;
}

.auth-drawer-body {
    padding: 2rem 1.75rem;
    background: #fff;
    overflow-y: auto;
}

.auth-welcome {
    font-size: .9rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.auth-label {
    font-size: .8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .4rem;
    display: block;
}

.auth-input-group .input-group-text {
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #9ca3af;
    font-size: .95rem;
}

.auth-input-group .form-control,
.auth-input {
    border-color: #e5e7eb;
    border-radius: 10px !important;
    font-size: .9rem;
    padding: .65rem .9rem;
    transition: border-color .2s, box-shadow .2s;
}

.auth-input-group .form-control:focus,
.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}

.auth-input-group > .input-group-text:first-child {
    border-radius: 10px 0 0 10px !important;
    border-right: none;
}

.auth-input-group > .form-control {
    border-radius: 0 !important;
    border-left: none;
    border-right: none;
}

.auth-eye {
    background: #f8fafc;
    border-color: #e5e7eb;
    border-left: none;
    border-radius: 0 10px 10px 0 !important;
    color: #9ca3af;
    cursor: pointer;
    transition: color .2s;
}

.auth-eye:hover { color: var(--primary); }

.auth-forgot {
    font-size: .78rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-forgot:hover { text-decoration: underline; }

.auth-submit {
    padding: .75rem;
    font-weight: 700;
    border-radius: 12px;
    font-size: .95rem;
}

.auth-switch-text {
    text-align: center;
    font-size: .85rem;
    color: #6b7280;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.auth-switch-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: .85rem;
    text-decoration: none;
}

.auth-switch-link:hover { text-decoration: underline; }

@media (max-width: 440px) {
    .auth-drawer { width: 100vw; }
}

/* ── Carousel ─────────────────────────────────────────────────────────────── */
.carousel-section {
    width: 100%;
    overflow: hidden;
    line-height: 0; /* removes gap under images */
}

.carousel-img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    background: linear-gradient(to right, rgba(0,0,0,.55) 60%, transparent 100%);
}

.carousel-overlay-title {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.carousel-overlay-text {
    color: rgba(255,255,255,.88);
    font-size: clamp(.85rem, 1.5vw, 1.05rem);
    line-height: 1.65;
    margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

@media (max-width: 768px) {
    .carousel-img { height: 300px; }
    .carousel-overlay {
        width: 100%;
        padding: 1.5rem;
        background: linear-gradient(to top, rgba(0,0,0,.6) 60%, transparent 100%);
        justify-content: flex-end;
    }
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .35;
    border: none;
    transition: opacity .3s, transform .3s;
}

#heroCarousel .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.3);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border-radius: 50%;
    opacity: .85;
    margin: 0 12px;
    transition: opacity .2s, transform .2s;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

/* ── App Download / QR Section ───────────────────────────────────────────── */
.qr-section { background: #f8fafc; }

.app-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.app-benefits li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .93rem;
    color: #374151;
    font-weight: 500;
}

.app-benefits li .bi-check-circle-fill {
    color: #22c55e;
    font-size: 1rem;
    flex-shrink: 0;
}

.play-store-badge img {
    border-radius: 10px;
    transition: transform .2s, box-shadow .2s;
}

.play-store-badge:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.qr-card {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
    border: 1px solid #f0f0f0;
    max-width: 320px;
    width: 100%;
}

.qr-card-inner { display: flex; flex-direction: column; align-items: center; }

.qr-instruction {
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}

.qr-frame {
    padding: 14px;
    border: 3px solid var(--primary);
    border-radius: 20px;
    background: #fff;
    display: inline-block;
}

.qr-img, .qr-svg {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-label {
    font-size: .88rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.qr-label span { color: #6b7280; font-size: .8rem; }

.qr-replace-note {
    margin-top: 1rem;
    font-size: .75rem;
    color: #9ca3af;
    background: #f8fafc;
    border-radius: 8px;
    padding: .5rem .75rem;
    text-align: left;
    width: 100%;
}

.qr-replace-note code {
    font-size: .72rem;
    color: var(--primary);
}

/* ── Business Type Cards ──────────────────────────────────────────────────── */
.business-section { background: #fff; }

.biz-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    cursor: default;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    border: 2px solid transparent;
}

.biz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255,107,53,.15);
    background: #fff;
    border-color: rgba(255,107,53,.2);
}

.biz-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,107,53,.15), rgba(255,107,53,.05));
    color: var(--primary);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background .3s, transform .3s;
}

.biz-card:hover .biz-icon {
    background: linear-gradient(135deg, var(--primary), #e8551f);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.biz-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: .95rem;
}

.biz-desc {
    font-size: .82rem;
    color: #9ca3af;
    margin: 0;
}

/* ── Feature Cards ────────────────────────────────────────────────────────── */
.features-section { background: #f8fafc; }

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.feature-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
}

.feature-desc {
    font-size: .88rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.testimonials-section {
    background: linear-gradient(180deg, #fff 0%, #f0f4ff 100%);
}

.overall-rating { color: var(--primary); }

.overall-stars .bi-star-fill {
    font-size: 1.6rem;
    color: #F59E0B;
    margin: 0 2px;
}

.overall-score {
    font-size: .95rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.quote-mark {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--primary);
    opacity: .12;
    line-height: 1;
}

.star-rating .bi-star-fill {
    font-size: .9rem;
}

.star-filled { color: #F59E0B; }
.star-empty  { color: #E5E7EB; }

.rating-num {
    font-size: .8rem;
    color: #9ca3af;
    font-weight: 600;
    vertical-align: middle;
}

.testimonial-quote {
    font-size: .95rem;
    line-height: 1.75;
    color: #374151;
    font-style: italic;
    margin: 0;
    flex: 1;
}

.author-avatar img,
.avatar-initials {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: cover;
}

.avatar-initials {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: -.02em;
}

.author-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--secondary);
    line-height: 1.3;
}

.author-role {
    font-size: .78rem;
    color: #6b7280;
    line-height: 1.3;
}

.author-location {
    font-size: .75rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-section { background: var(--secondary); }

.pricing-section .section-badge { background: rgba(255,107,53,.2); color: #FF9F7A; }
.pricing-section .section-title { color: #fff; }
.pricing-section .section-subtitle { color: rgba(255,255,255,.65); }

/* Plan banner */
.plan-banner {
    display: flex;
    flex-direction: row;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
}

.plan-banner-left {
    flex: 0 0 320px;
    background: var(--primary);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plan-banner-right {
    flex: 1;
    background: rgba(255,255,255,.07);
    padding: 2.5rem 2rem;
    border-left: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plan-banner-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.plan-banner-tag {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.7);
    margin-bottom: .4rem;
}

.plan-banner-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: .75rem;
}

.plan-banner-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin: 0;
}

.plan-features-heading {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.55);
    margin-bottom: 1rem;
}

.plan-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    width: 100%;
}

.plan-feature-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    padding: .6rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    transition: background .2s, border-color .2s;
}

.plan-feature-chip:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.35);
}

.plan-feature-chip .bi {
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    opacity: .9;
}

@media (max-width: 768px) {
    .plan-banner { flex-direction: column; }
    .plan-banner-left { flex: none; }
    .plan-banner-right { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
    .plan-features-grid { grid-template-columns: 1fr 1fr; }
}

/* Group labels */
.pricing-group-label {
    text-align: center;
    margin-bottom: 1.25rem;
}

.pricing-group-label span {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .45rem 1.4rem;
    border-radius: 50px;
}

/* Cards */
.pricing-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.pricing-card-free {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
    border: 2px solid #86efac;
}

.pricing-featured {
    background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
    border: 2px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .3rem 1.1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-badge-free { background: #16a34a; }

.pricing-header { text-align: center; padding-bottom: 1.25rem; border-bottom: 1px solid #f0f0f0; }

.plan-name {
    font-weight: 800;
    color: var(--secondary);
    font-size: 1.15rem;
    margin-bottom: .75rem;
}

.plan-price { line-height: 1; margin-bottom: .5rem; }

.price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    vertical-align: top;
    margin-top: .4rem;
    display: inline-block;
}

.price-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -.05em;
}

.price-free {
    font-size: 2.4rem;
    color: #16a34a;
}

.price-period { font-size: .95rem; color: #9ca3af; font-weight: 500; }

.plan-highlight {
    display: inline-flex;
    align-items: center;
    background: rgba(255,107,53,.1);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    padding: .25rem .8rem;
    border-radius: 50px;
    margin-bottom: .4rem;
}

.pricing-card-free .plan-highlight {
    background: rgba(22,163,74,.1);
    color: #16a34a;
}

.plan-commitment {
    font-size: .8rem;
    color: #9ca3af;
    margin: .25rem 0 0;
}

.plan-desc {
    font-size: .87rem;
    color: #6b7280;
    line-height: 1.65;
    padding-top: 1rem;
    margin: 0;
    flex: 1;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-section { background: #f8fafc; }

.faq-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.faq-button {
    font-weight: 600;
    font-size: .95rem;
    color: var(--secondary);
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 16px !important;
}

.faq-button:not(.collapsed) {
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}

.faq-button::after { filter: hue-rotate(200deg); }

.faq-button .bi { color: var(--primary); font-size: 1rem; }

.faq-body {
    background: #fff;
    color: #6b7280;
    font-size: .93rem;
    line-height: 1.7;
    padding: 0 1.5rem 1.5rem 3.5rem;
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-section { background: #fff; }

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.contact-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,107,53,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: .75rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-info-list a,
.contact-info-list span {
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
    font-size: .95rem;
}

.contact-info-list a:hover { color: var(--primary); }

.contact-form-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: .9rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}

.contact-form-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .4rem;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer-section {
    background: var(--secondary);
    padding-top: 80px;
    color: rgba(255,255,255,.7);
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.footer-desc {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    max-width: 280px;
}

.social-links a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: .6rem; }

.footer-links a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s, padding-left .2s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: .88rem;
}

.footer-contact-list .bi {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a,
.footer-contact-list span {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}

.footer-contact-list a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.5rem 0;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}

.footer-tagline { font-style: italic; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 12px;
    transition: background .2s, transform .15s, box-shadow .15s;
}

.btn-primary:hover {
    background: #e8551f;
    border-color: #e8551f;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,107,53,.4);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 12px;
    transition: background .2s, color .2s, transform .15s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* Intersection Observer fade-in */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive tweaks ────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
    .pricing-featured { transform: none; }
    .pricing-featured:hover { transform: translateY(-6px); }
    .contact-form-card { padding: 1.75rem; }
}

@media (max-width: 576px) {
    .section-padding { padding: 56px 0; }
    .hero-title { font-size: 2rem; }
    .stat-value { font-size: 2rem; }
    .mockup-phone { width: 100%; }
}
