/* ==========================================================================
   Ontech CRM — Landing Page Styles
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #F68620;
    --secondary-light: #F89A3D;
    --secondary-dark: #E07510;
    --bg-light: #f9fafb;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-white {
    background: var(--white);
    color: var(--text-dark);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--text-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo img {
    height: 40px;
}

.nav-logo span {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-logo span strong {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-cta .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.navbar.scrolled .nav-cta .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.navbar.scrolled .nav-cta .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-cta .btn-primary {
    background: var(--white);
    color: var(--text-dark);
}

.nav-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-cta .btn-primary {
    background: var(--primary);
    color: var(--white);
}

.navbar.scrolled .nav-cta .btn-primary:hover {
    background: var(--primary-dark);
}

/* Mobile menu toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: color 0.3s;
}

.navbar.scrolled .mobile-toggle {
    color: var(--text-dark);
}

/* ---------- Sections (shared) ---------- */
section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.accent-line {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* ---------- Video Background Sections ---------- */
.video-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
}

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

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.hero .section-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--secondary);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Trusted By ---------- */
.trusted-by {
    padding: 3rem 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-by p {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.logo-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-strip .partner {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-200);
    transition: color 0.3s;
    cursor: default;
    white-space: nowrap;
}

.logo-strip .partner:hover {
    color: var(--text-dark);
}

/* ---------- Features Grid ---------- */
.features-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-card .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Video Interlude ---------- */
.video-interlude {
    padding: 6rem 2rem;
    text-align: center;
}

.video-interlude h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-interlude .lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.service-icons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-icon {
    text-align: center;
}

.service-icon .circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 0.75rem;
    transition: background 0.3s;
}

.service-icon:hover .circle {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- Omnichannel ---------- */
.omnichannel {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.omni-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.omni-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.omni-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.omni-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.omni-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.omni-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

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

.channel-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.channel-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.channel-item i {
    font-size: 1.75rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.channel-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 2rem 4rem;
    text-align: center;
    color: var(--white);
    background: #0f172a;
}

.page-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.page-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
}

.page-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Sub-page shared styles ---------- */

/* Feature sections (features page) */
.feature-section {
    padding: 5rem 2rem;
}

.feature-section:nth-child(even) {
    background: var(--bg-light);
}

.feature-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-row.reverse .feature-visual {
    order: -1;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.feature-visual.orange {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.feature-visual.purple {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.feature-visual.green {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.feature-visual.pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.feature-visual.indigo {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

.feature-visual.red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.feature-visual.cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.feature-visual.amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-visual.teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.feature-visual.violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.feature-visual.slate {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.feature-visual.emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ---------- Features Sub-header ---------- */
.features-subheader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 0 0.5rem;
}

.features-subheader h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.features-subheader h3::before,
.features-subheader h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--gray-200);
}

.features-subheader h3::before {
    right: calc(100% + 1rem);
}

.features-subheader h3::after {
    left: calc(100% + 1rem);
}

/* ---------- Intelligent Automation Section (index) ---------- */
.automation-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.automation-section .omni-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.auto-item {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.auto-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.auto-item i {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.75rem;
}

.auto-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ---------- Enterprise Integration Hub (index) ---------- */
.integrations-hub {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

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

.integrations-hub .section-header h2 {
    color: var(--white);
}

.integrations-hub .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hub-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hub-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.hub-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: block;
}

.hub-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hub-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Compliance & Security Section (index) ---------- */
.compliance-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.compliance-section .omni-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.compliance-visual {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

/* ---------- Customer Self-Service Portal Section (index) ---------- */
.portal-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.portal-section .omni-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.portal-visual {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

/* Integrations (features page) */
.integrations {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
}

.integrations .section-header h2 {
    color: var(--white);
}

.integrations .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.integrations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.integration-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.integration-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: block;
}

.integration-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.integration-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Features CTA */
.features-cta {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--bg-light);
}

.features-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Solutions page */
.industries {
    padding: 5rem 2rem;
}

.industries-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.industry-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.industry-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.industry-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* MNO Value */
.mno-value {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.mno-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mno-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mno-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mno-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mno-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mno-list li .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.mno-list li strong {
    display: block;
    margin-bottom: 0.25rem;
}

.mno-list li span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mno-partners-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mno-partner-card {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.mno-partner-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.mno-partner-card.airtel {
    background: linear-gradient(135deg, #ed1c24, #c41922);
}

.mno-partner-card.zamtel {
    background: linear-gradient(135deg, #00a651, #008941);
}

.mno-partner-card.zedmobile {
    background: linear-gradient(135deg, #1a237e, #0d1752);
}

.mno-partner-card.mtn {
    background: linear-gradient(135deg, #ffcb05, #e6b800);
    color: #000;
}

/* Solutions CTA */
.solutions-cta {
    padding: 5rem 2rem;
    text-align: center;
}

.solutions-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solutions-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.solutions-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Pricing page */
.pricing {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-card.featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

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

.pricing-features li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li i.bi-dash {
    color: var(--gray-200);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* Comparison table */
.comparison {
    padding: 5rem 2rem;
}

.comparison-table {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    font-weight: 600;
    background: var(--bg-light);
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table .check {
    color: var(--primary);
    font-size: 1.25rem;
}

.comparison-table .dash {
    color: var(--gray-200);
}

/* FAQ */
.faq {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Pricing CTA */
.pricing-cta {
    padding: 5rem 2rem;
    text-align: center;
}

.pricing-cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* About page */
.about-intro {
    padding: 5rem 2rem;
}

.intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.intro-visual h3 {
    font-size: 4rem;
    font-weight: 700;
}

.intro-visual p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.mission-vision {
    background: var(--gray-100);
    padding: 5rem 2rem;
}

.mv-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mv-card .icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.values-section {
    padding: 5rem 2rem;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.management-section {
    background: var(--bg-light);
    padding: 5rem 2rem;
}

.management-section .section-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.management-section .section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.management-section .section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.team-photo {
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact page */
.contact-section {
    padding: 5rem 2rem;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-items {
    list-style: none;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.hours-box {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.hours-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    color: var(--text-muted);
}

.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-form-container > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 0.5rem;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
}

.map-section {
    padding: 0;
    height: 400px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ---------- Footer ---------- */
footer {
    background: #0f172a;
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand .brand-name strong {
    color: var(--secondary);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--white);
}

/* ---------- Flash Messages ---------- */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
}

.flash {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flash-success {
    background: #d4edda;
    color: #155724;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"][data-delay="1"] {
    transition-delay: 0.1s;
}

[data-animate="fade-up"][data-delay="2"] {
    transition-delay: 0.2s;
}

[data-animate="fade-up"][data-delay="3"] {
    transition-delay: 0.3s;
}

[data-animate="fade-up"][data-delay="4"] {
    transition-delay: 0.4s;
}

[data-animate="fade-up"][data-delay="5"] {
    transition-delay: 0.5s;
}

[data-animate="fade-up"][data-delay="6"] {
    transition-delay: 0.6s;
}

[data-animate="fade-up"][data-delay="7"] {
    transition-delay: 0.7s;
}

[data-animate="fade-up"][data-delay="8"] {
    transition-delay: 0.8s;
}

[data-animate="fade-up"][data-delay="9"] {
    transition-delay: 0.9s;
}

[data-animate="fade-up"][data-delay="10"] {
    transition-delay: 1.0s;
}

[data-animate="fade-up"][data-delay="11"] {
    transition-delay: 1.1s;
}

[data-animate="fade-up"][data-delay="12"] {
    transition-delay: 1.2s;
}

/* ---------- Responsive — 1024px ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.75rem;
    }
}

/* ---------- Responsive — 968px ---------- */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        color: var(--text-dark) !important;
        padding: 0.5rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-cta .btn-outline {
        display: none;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row.reverse .feature-visual {
        order: 0;
    }

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

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .intro-grid,
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .auto-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .compliance-section .omni-grid,
    .portal-section .omni-grid,
    .automation-section .omni-grid {
        grid-template-columns: 1fr;
    }

    .compliance-visual,
    .portal-visual {
        height: 280px;
    }
}

/* ---------- Responsive — 768px ---------- */
@media (max-width: 768px) {
    .video-section video,
    .page-hero video {
        display: none;
    }

    .video-section .overlay,
    .page-hero .overlay {
        background: #0f172a;
    }

    .hero {
        min-height: auto;
        padding: 8rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stats .stat-value {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .service-icons {
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .solutions-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Responsive — 640px ---------- */
@media (max-width: 640px) {
    section {
        padding: 3rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .mno-partners-visual {
        grid-template-columns: 1fr 1fr;
    }

    .feature-visual {
        height: 250px;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auto-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .video-section video,
    .page-hero video {
        display: none;
    }

    .video-section .overlay,
    .page-hero .overlay {
        background: #0f172a;
    }
}
