:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --secondary: #1e3a8a;
    --accent: #f59e0b;
    --dark: #0f172a;
    --text: #475569;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, rgba(179, 191, 218, 0.88) 0%, rgba(240, 227, 172, 0.75) 100%);
    --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.15);
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

/* ── Announcement Bar ── */
.top-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 0;
    position: relative;
    z-index: 1050;
}

.top-bar .badge-new {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Navbar ── */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand img { height: 42px; width: auto; }

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--primary) !important; }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary-custom:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--border);
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(13, 148, 136, 0.04);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: var(--dark);
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
    opacity: 0.2;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #000;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--accent), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 0.25rem;
}

.hero-search-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.hero-search-card .search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-search-card .search-tab {
    flex: 1;
    min-width: 68px;
    text-align: center;
    padding: 0.6rem 0.35rem;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-light);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-search-card .search-tab.active,
.hero-search-card .search-tab:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-search-card .search-tab i { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }

.hero-tab-panel {
    display: none;
    animation: tabFadeIn 0.35s ease;
}

.hero-tab-panel.active { display: block; }

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

.hero-tab-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-tab-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.hero-tab-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.hero-tab-header p {
    font-size: 0.85rem;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

.hero-tab-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.hero-tab-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark);
    background: var(--bg-light);
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
}

.hero-tab-feature i {
    color: var(--primary);
    font-size: 0.7rem;
}

.hero-tab-supplier {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 0.5rem;
    min-height: 88px;
}

.hero-tab-suppliers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-tab-suppliers .hero-tab-supplier { margin-bottom: 0; }

.hero-tab-supplier:not(.hero-tab-suppliers .hero-tab-supplier) {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 0.75rem 1rem;
    min-height: auto;
    margin-bottom: 1.25rem;
}

.hero-tab-supplier img {
    height: 26px;
    max-width: 110px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-tab-supplier .supplier-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    white-space: nowrap;
}

.hero-tab-supplier .supplier-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

@media (max-width: 575px) {
    .hero-tab-features { grid-template-columns: 1fr; }
    .hero-tab-suppliers { grid-template-columns: 1fr; }
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 300px; height: 300px; background: var(--accent); top: 10%; right: 5%; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; background: #fff; bottom: 20%; left: 10%; animation-delay: 2s; }
.shape-3 { width: 150px; height: 150px; background: var(--primary-light); top: 50%; right: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ── Section Utilities ── */
section { padding: 60px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 800px;
    line-height: 1.7;
}

/* ── Module Cards ── */
.module-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.module-card:hover {
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.module-card:hover::before { transform: scaleX(1); }

.module-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.module-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.module-card p { font-size: 0.9rem; margin-bottom: 1rem; }

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

.feature-list li {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feature-list li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.75rem;
}

/* ── API Partners ── */
.api-partner-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.api-partner-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.api-partner-card img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.api-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* ── Screenshot Showcase ── */
.screenshot-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: #fff;
}

.screenshot-frame .frame-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.screenshot-frame .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.screenshot-frame img {
    width: 100%;
    display: block;
        padding: 20px;
    background: #f1f2f6;
}

/* ── Admin Section ── */
#admin {
    background: var(--bg-light);
}

.admin-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.admin-feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.admin-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 14px 0 0 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-feature-card:hover {
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}

.admin-feature-card:hover::before { opacity: 1; }

.admin-feature-card.accent-teal::before { background: var(--primary); }
.admin-feature-card.accent-blue::before { background: #3b82f6; }
.admin-feature-card.accent-purple::before { background: #a855f7; }
.admin-feature-card.accent-pink::before { background: #ec4899; }
.admin-feature-card.accent-amber::before { background: var(--accent); }
.admin-feature-card.accent-slate::before { background: #64748b; }

.admin-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.admin-feature-card p {
    font-size: 0.82rem;
    color: var(--text);
    margin: 0;
    line-height: 1.55;
}

.admin-feature-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.admin-showcase {
    margin-top: 3rem;
    position: relative;
    width: 100%;
}

.admin-showcase-label {
    text-align: center;
    margin-bottom: 1.25rem;
}

.admin-showcase-label span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.admin-screenshot-full {
    border-radius: var(--radius);
    box-shadow: 0 -25px 60px rgba(15, 23, 42, 0.15);
    border-radius: 15px 15px 0 0;
}

.admin-screenshot-full .frame-bar {
    padding: 0.85rem 1.25rem;
}

.admin-screenshot-full .frame-url {
    flex: 1;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 1rem;
}

@media (max-width: 991px) {
    .admin-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .admin-features-grid { grid-template-columns: 1fr; }
    .admin-screenshot-full .frame-url { display: none; }
}

/* ── Feature Pills ── */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0.25rem;
    transition: all 0.2s;
}

.feature-pill:hover {
    border-color: var(--primary);
    background: rgba(13, 148, 136, 0.05);
}

.feature-pill i { color: var(--primary); }

/* ── Stats Bar ── */
.stats-bar {
    background: var(--dark);
    padding: 3rem 0;
}

.stat-item { text-align: center; }

.stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-item .stat-num span { color: var(--accent); }

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ── Payment Gateways ── */
.gateway-logo {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s ease;
}

.gateway-logo:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.gateway-logo img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
}

/* ── Pricing ── */
.pricing-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.pricing-card .price sup {
    font-size: 1.25rem;
    top: -0.8em;
}

.pricing-card .price-period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex: 1;
}

.pricing-feature-group {
    margin-bottom: 0;
    display: block;
    padding: 0;
    margin-top: 15px;
}

.pricing-feature-group + .pricing-feature-group {
    margin-top: 1rem;
}

.pricing-feature-group-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 0.35rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.pricing-feature-group-title.included {
    color: var(--primary);
}

.pricing-feature-group-title.not-included {
    color: #94a3b8;
    margin-top: 1.25rem;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.45;
}

.pricing-features li i.fa-check { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.pricing-features li i.fa-times { color: #cbd5e1; margin-top: 3px; flex-shrink: 0; }
.pricing-features li.disabled { color: var(--text-light); }

/* ── Demo Card ── */
.demo-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e40af 100%);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: #fff;
}

.demo-card.greenbgbox{
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
}

.demo-card .credential-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.demo-card code {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #fbbf24;
}

/* ── Customization ── */
#customization {
    background: #fff;
}

.custom-steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.custom-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.custom-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1rem;
}

.custom-step-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.custom-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.custom-step h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.custom-step p {
    font-size: 0.78rem;
    color: var(--text);
    margin: 0;
    line-height: 1.55;
}

.custom-step-1 { background: #f8fafc; }
.custom-step-1 .custom-step-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.custom-step-1 .custom-step-num { background: #8b5cf6; }

.custom-step-2 { background: #f0f9ff; }
.custom-step-2 .custom-step-icon { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.custom-step-2 .custom-step-num { background: #0ea5e9; }

.custom-step-3 { background: #f0fdf4; }
.custom-step-3 .custom-step-icon { background: linear-gradient(135deg, #22c55e, #16a34a); }
.custom-step-3 .custom-step-num { background: #22c55e; }

.custom-step-4 { background: #faf5ff; }
.custom-step-4 .custom-step-icon { background: linear-gradient(135deg, #a855f7, #9333ea); }
.custom-step-4 .custom-step-num { background: #a855f7; }

.custom-step-5 { background: #fff7ed; }
.custom-step-5 .custom-step-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.custom-step-5 .custom-step-num { background: #f59e0b; }

@media (max-width: 1199px) {
    .custom-steps-row {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .custom-step {
        min-width: 210px;
        flex: 0 0 210px;
        scroll-snap-align: start;
    }
}

.custom-api-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-top: 2rem;
}

.custom-api-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.custom-api-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
}

.custom-api-tag i { color: var(--primary); font-size: 0.75rem; }

/* ── CTA ── */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

/* ── Footer ── */
footer {
    color: var(--text-light);
    padding: 3.5rem 0 2rem;
}

footer .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-payments {
    text-align: center;
    margin: 0 auto;
}

.footer-payments-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.footer-payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
}

.footer-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 120px;
    transition: all 0.25s ease;
}

.footer-payment-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-2px);
}

.footer-payment-logo {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-payment-item img {
    height: 45px;
    max-width: 130px;
    object-fit: contain;
}

.footer-payment-item span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b95a1;
    text-align: center;
    line-height: 1.3;
}

.footer-copyright {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 575px) {
    .footer-payment-item {
        min-width: calc(50% - 0.75rem);
        flex: 1 1 calc(50% - 0.75rem);
    }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1100;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@media (max-width: 575px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .whatsapp-tooltip { display: none; }
}

/* ── Animations ── */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.icon-bg-flights { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.icon-bg-hotels { background: rgba(13, 148, 136, 0.12); color: var(--primary); }
.icon-bg-tours { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.icon-bg-visas { background: rgba(245, 158, 11, 0.12); color: var(--accent); }
.icon-bg-umrah { background: rgba(16, 185, 129, 0.12); color: #059669; }
.icon-bg-vendor { background: rgba(236, 72, 153, 0.12); color: #ec4899; }
.icon-bg-wallet { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.icon-bg-admin { background: rgba(30, 58, 138, 0.12); color: var(--secondary); }

@media (max-width: 991px) {
    section { padding: 60px 0; }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .hero-search-card { margin-top: 2rem; }
}
