/* ============================================================
   Hikmah Software — Landing Page Stylesheet
   ============================================================ */

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

:root {
    --primary: #1e40af;
    --secondary: #0f7f7e;
    --accent: #f59e0b;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --success: #10b981;
    --qr-color: #7c3aed;
    --device-color: #ea580c;
    --muted: #64748b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: white;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* ── NAVBAR ── */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.15);
}

header .container-fluid {
    padding: 16px 20px;
}

.navbar-brand {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    text-decoration: none;
    padding: 0 !important;
    margin: 0 !important;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.navbar-brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.navbar-brand .main-text {
    font-size: 16px;
    font-weight: 800;
}

.navbar-brand .sub-text {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.9;
}

.navbar {
    background: transparent !important;
    padding: 0 !important;
}

.navbar-collapse {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px !important;
    border-radius: 12px;
    margin-top: 10px;
}

.navbar-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 12px 16px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 6px;
    border-left: 3px solid transparent;
    display: block !important;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active-link {
    background: rgba(255, 255, 255, 0.15) !important;
    border-left-color: var(--accent);
}

.nav-link.btn-custom-nav {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%) !important;
    margin-top: 12px !important;
    border-radius: 8px;
    border-left: none;
    text-align: center;
}

.navbar-toggler {
    border: none !important;
    padding: 5px 8px !important;
    color: white !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

@media (min-width: 992px) {
    .navbar-collapse {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        margin-top: 0 !important;
        border-radius: 0;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }

    .nav-link {
        padding: 8px 11px !important;
        font-size: 13px;
        border-left: none;
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--accent);
        transition: width 0.4s;
    }

    .nav-link:hover::after,
    .nav-link.active-link::after {
        width: 100%;
    }

    .nav-link.btn-custom-nav {
        margin-top: 0 !important;
        margin-left: 8px !important;
        padding: 8px 18px !important;
        border-radius: 25px;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* ── SHARED UTILS ── */
.section {
    padding: 80px 20px;
}

.alt-section {
    background: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 17px;
    color: var(--muted);
    font-weight: 500;
}

/* Small eyebrow pill used above section titles on LIGHT backgrounds,
   mirroring the qr-badge / device-badge pattern used on dark sections
   so every section title has the same consistent, branded look. */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.btn-custom {
    background: var(--accent);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.btn-custom:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    color: white;
}

.btn-custom.white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-custom.white:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.btn-custom.green {
    background: #059669;
}

.btn-custom.green:hover {
    background: #047857;
}

.btn-custom.purple {
    background: #7c3aed;
}

.btn-custom.purple:hover {
    background: #6d28d9;
}

.btn-custom.pink {
    background: #db2777;
}

.btn-custom.pink:hover {
    background: #c2185b;
}

.btn-custom.orange {
    background: var(--device-color);
}

.btn-custom.orange:hover {
    background: #c2410c;
}

.btn-custom.block-top {
    margin-top: 18px;
    width: 100%;
    text-align: center;
}

.btn-inline-demo {
    font-size: 13px;
    padding: 8px 20px;
}

section[id] {
    scroll-margin-top: 82px;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 30px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 30px);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(28px, 5.5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .sub-heading {
    display: block;
    font-size: 0.55em;
    margin-top: 10px;
    font-weight: 600;
    opacity: 0.85;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 50px;
}

/* ── QR FEATURE (signature section) ── */
.qr-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.qr-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 24px);
    pointer-events: none;
}

.qr-section .container {
    position: relative;
    z-index: 1;
}

.qr-section .section-title h2 {
    color: white;
}

.qr-section .section-title p {
    color: rgba(255, 255, 255, 0.75);
}

.qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.qr-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.qr-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
}

.qr-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.qr-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.qr-card p {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.7;
    margin: 0;
}

.qr-highlight {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

.qr-highlight i {
    font-size: 48px;
    opacity: 0.9;
    flex-shrink: 0;
}

.qr-highlight strong {
    font-size: 18px;
    display: block;
    margin-bottom: 4px;
}

.qr-highlight span {
    font-size: 14px;
    opacity: 0.75;
}

/* ── DEVICE / HARDWARE SECTION ── */
.device-section {
    background: linear-gradient(160deg, #0d2159 0%, #0a3d3c 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.device-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    pointer-events: none;
}

.device-section .container {
    position: relative;
    z-index: 1;
}

.device-section .section-title h2 {
    color: white;
}

.device-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.device-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 88, 12, 0.18);
    border: 1px solid rgba(234, 88, 12, 0.4);
    color: #fdba74;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.device-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}

.device-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.device-highlight-card {
    background: rgba(234, 88, 12, 0.08);
    border: 1px solid rgba(234, 88, 12, 0.3);
    border-radius: 16px;
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.device-highlight-card .device-highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--device-color), #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 18px;
}

.device-highlight-card strong {
    font-size: 19px;
    display: block;
    margin-bottom: 10px;
}

.device-highlight-card span {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.device-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.device-mini-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
}

.device-mini-stat .num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--device-color);
    margin-bottom: 4px;
}

.device-mini-stat .label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    line-height: 1.4;
}

.device-copy p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 1.1rem;
}

.device-copy p:last-child {
    margin-bottom: 0;
}

.device-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.device-spec-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px;
}

.device-spec-item i {
    color: var(--device-color);
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.device-spec-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.device-spec-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    padding: 36px 28px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-top-color: var(--accent);
}

.service-card.is-featured {
    border: 3px solid var(--accent);
    border-top-color: var(--accent);
}

.service-badge-text {
    color: var(--accent);
    font-weight: 700;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 18px;
}

.service-icon.icon-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.service-icon.icon-purple {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.service-icon.icon-pink {
    background: linear-gradient(135deg, #db2777, #ec4899);
}

.service-icon.icon-orange {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.service-features {
    text-align: left;
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.service-features li {
    padding: 7px 0;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    gap: 10px;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

/* ── FEATURE LIST ── */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.feature-item {
    padding: 14px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.09);
    transform: translateX(5px);
    border-left-color: var(--accent);
}

.feature-item i {
    color: var(--primary);
    font-size: 18px;
    min-width: 22px;
}

.feature-item strong {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 14px;
}

/* ── TRUSTED INSTITUTIONS ── */
.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.institution-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--primary);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.institution-card > .institute-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    flex: 1 1 100%;
}

.inst-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.institution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.institution-card.both {
    border-left-color: var(--accent);
}

.institution-card.website-only {
    border-left-color: var(--secondary);
}

.inst-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.institution-card.both .inst-icon {
    background: linear-gradient(135deg, var(--accent), #d97706);
}

.institution-card.website-only .inst-icon {
    background: linear-gradient(135deg, var(--secondary), #006b5b);
}

.inst-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 4px;
    line-height: 1.4;
    width: 100%;
}

.inst-location {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    width: 100%;
}

.inst-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
}

.inst-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.badge-erp {
    background: #dbeafe;
    color: var(--primary);
}

.badge-web {
    background: #dcfce7;
    color: #166534;
}

.badge-qr {
    background: #ede9fe;
    color: var(--qr-color);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
    text-align: center;
}

.trust-stat {
    background: white;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--accent);
}

.trust-stat .number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.trust-stat p {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin: 0;
}

/* ── ABOUT / FOUNDER ── */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.story-text p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    padding: 28px;
    color: white;
}

.highlight-box .num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.highlight-box p {
    opacity: 0.8;
    font-size: 13px;
    margin: 0;
}

.highlight-box-light {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px;
    border-left: 5px solid var(--secondary);
}

.highlight-box-light .light-title {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 6px;
    font-size: 14px;
}

.highlight-box-light p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.8;
}

.founder-card {
    background: white;
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    border-top: 5px solid var(--accent);
}

.founder-avatar {
    width: 140px;
    height: 160px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.founder-initials {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.founder-avatar img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
}

.founder-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 5px;
}

.founder-name {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.founder-bio {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 13px;
    border-radius: 18px;
    background: var(--light-bg);
    color: var(--primary);
    border: 1px solid #e2e8f0;
}

/* ── EXAM MANAGEMENT CARDS ── */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.exam-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--primary);
}

.exam-card.exam-card-secondary {
    border-left-color: var(--secondary);
}

.exam-card.exam-card-accent {
    border-left-color: var(--accent);
}

.exam-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 18px;
}

.exam-card h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.exam-card.exam-card-secondary h3 i {
    color: var(--secondary);
}

.exam-card.exam-card-accent h3 i {
    color: var(--accent);
}

.exam-card ul {
    list-style: none;
    padding: 0;
}

.exam-card li {
    padding: 7px 0;
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.exam-card li i {
    color: var(--success);
}

/* ── PRICING ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 12px 35px rgba(30, 64, 175, 0.12);
    }

    50% {
        box-shadow: 0 12px 50px rgba(30, 64, 175, 0.22);
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, 0.07);
    animation: fadeInUp 0.7s ease-out both;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}

.pricing-card:nth-child(5) {
    animation-delay: 0.5s;
}

.pricing-card:nth-child(6) {
    animation-delay: 0.6s;
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.01);
    box-shadow: 0 28px 70px rgba(30, 64, 175, 0.18);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 6%, rgba(255, 255, 255, 0.95) 100%);
    animation: glow 3.5s ease-in-out infinite;
    padding-top: 68px;
}

.featured-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white;
    padding: 9px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    animation: floatUp 3.5s ease-in-out infinite;
    white-space: nowrap;
}

.badge-container {
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.subscription-badge {
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
    color: #0369a1 !important;
}

.purchase-badge {
    background: linear-gradient(135deg, #d6f9e2ad, #86e8a8a1);
    color: #166534 !important;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 14px 0 20px;
}

.price-main {
    font-size: 58px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 22px 0 10px;
}

.price-main.price-compact {
    font-size: 50px;
    margin: 8px 0;
}

.price-main.price-green {
    background: linear-gradient(135deg, #059669, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-main.price-purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-main.price-pink {
    background: linear-gradient(135deg, #db2777, #c2185b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-main.price-teal {
    background: linear-gradient(135deg, var(--secondary), #006b5b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 14px;
    color: var(--success);
}

.price-unit-inline {
    font-size: 11px;
    color: var(--success);
}

.price-subtext {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
}

.price-subtext.price-subtext-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 16px 0 8px;
}

.pricing-card ul {
    list-style: none;
    margin: 32px 0;
    text-align: left;
    padding: 0;
}

.pricing-card li {
    padding: 13px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: 950;
    font-size: 15px;
    min-width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    border-radius: 50%;
    flex-shrink: 0;
}

.price-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    margin-top: 28px;
    text-decoration: none;
    display: block;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.25);
}

.price-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(30, 64, 175, 0.35);
    color: white;
}

.price-btn.price-btn-teal {
    background: linear-gradient(135deg, var(--secondary), #006b5b);
}

.price-btn.price-btn-green {
    background: linear-gradient(135deg, #059669, #047857);
}

.price-btn.price-btn-purple {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.price-btn.price-btn-pink {
    background: linear-gradient(135deg, #db2777, #c2185b);
}

.price-btn.price-btn-orange {
    background: linear-gradient(135deg, var(--device-color), #c2410c);
}

/* ── CTA ── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ── FOOTER ── */
footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 50px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 36px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    font-size: 17px;
    margin-bottom: 18px;
    font-weight: 700;
}

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

.footer-section li {
    margin-bottom: 11px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-section p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-section ul>li i {
    color: var(--accent) !important;
    margin-top: 3px;
}

.footer-address {
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.footer-address i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 13px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 55, 129, 0.97) !important;
    }

    .device-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 16px;
    }

    .section-title {
        margin-bottom: 38px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .founder-avatar {
        margin: 0 auto;
    }

    .tag-list {
        justify-content: center;
    }

    .trust-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .device-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 88px 16px 70px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 44px 20px 28px;
    }

    .price-main {
        font-size: 44px;
    }
}

/* ── SMALL LAYOUT UTILITIES ── */
.mb-0 {
    margin-bottom: 0;
}

.mb-60 {
    margin-bottom: 60px;
}

.center-cta {
    text-align: center;
    margin-top: 40px;
}

.center-cta.center-cta-lg {
    margin-top: 44px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}