/* ============================================
   TRINZE ENTERPRISE LANDING PAGE
   Design: Premium Deep-Purple & Gold
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --primary:        #3D0099;
    --primary-dark:   #2a0066;
    --secondary:      #6B21A8;
    --accent:         #FFC72C;
    --accent-dark:    #e6af00;
    --text-dark:      #1F1F2E;
    --text-muted:     #6B7280;
    --text-light:     #F3F4F6;
    --bg-white:       #FFFFFF;
    --bg-gray:        #F9FAFB;
    --bg-dark:        #0D0221;
    --border:         #E5E7EB;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
    --shadow-md:   0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:   0 12px 32px rgba(0,0,0,.12);
    --shadow-xl:   0 24px 64px rgba(0,0,0,.18);
    --radius-sm:   .5rem;
    --radius-md:   1rem;
    --radius-lg:   1.5rem;
    --radius-xl:   2rem;
    --transition:  all .35s cubic-bezier(.4,0,.2,1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ---- Utility Classes ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent { color: var(--accent); }

/* ---- Section Labels ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.2rem;
    background: linear-gradient(135deg, rgba(61,0,153,.08), rgba(107,33,168,.06));
    color: var(--primary);
    border-radius: 2rem;
    font-size: .85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(61,0,153,.12);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title-light {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
    color: #fff;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.section-body-light {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    line-height: 1.85;
    max-width: 750px;
    margin: 0 auto 3rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-20px); }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(61,0,153,.2); }
    50%      { box-shadow: 0 0 50px rgba(61,0,153,.45); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes dash-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

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

@keyframes progress-fill {
    from { width: 0; }
    to   { width: 85%; }
}

@keyframes node-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.8); opacity: 0; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes typewriter-cursor {
    0%, 100% { border-right-color: var(--accent); }
    50%      { border-right-color: transparent; }
}

/* Scroll-triggered animation base */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1),
                transform .7s cubic-bezier(.4,0,.2,1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll:nth-child(2) { transition-delay: .1s; }
.animate-on-scroll:nth-child(3) { transition-delay: .2s; }
.animate-on-scroll:nth-child(4) { transition-delay: .3s; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    padding: .6rem 0;
}

.navbar-custom.menu-open {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo {
    height: 110px;
    width: auto;
    transition: var(--transition);
}

.navbar-brand-custom:hover .nav-logo {
    filter: drop-shadow(0 4px 12px rgba(61,0,153,.3));
    transform: scale(1.05);
}

.nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links { display: flex; }
}

.nav-link-custom {
    color: var(--text-dark);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    transition: color .3s;
    padding: .25rem 0;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s ease;
    border-radius: 1px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary);
}

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

/* Mobile menu */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 1.5rem;
    gap: .75rem;
    box-shadow: var(--shadow-lg);
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    animation: fadeInDown .3s ease;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
    z-index: 1060;
}

@media (min-width: 992px) {
    .hamburger { display: none; }
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav CTA - hide below lg since hamburger takes over */
.nav-cta {
    display: none !important;
}

@media (min-width: 992px) {
    .nav-cta { display: inline-flex !important; }
}

/* ---- Buttons ---- */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(61,0,153,.35);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background: rgba(61,0,153,.06);
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(61,0,153,.15);
    transform: translateY(-2px);
}

.btn-gold-custom {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--accent);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold-custom:hover {
    background: var(--accent-dark);
    color: var(--text-dark);
    box-shadow: 0 8px 24px rgba(255,199,44,.4);
    transform: translateY(-2px);
}

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

.btn-sm-custom {
    padding: .6rem 1.2rem;
    font-size: .85rem;
}

.beta-badge {
    font-size: .7rem;
    background: var(--accent);
    color: var(--text-dark);
    padding: .15rem .5rem;
    border-radius: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #faf8ff 0%, #fff 35%, #fffbeb 75%, #f5f0ff 100%);
    z-index: -2;
}

.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(61,0,153,.06) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
    mix-blend-mode: multiply;
    z-index: -1;
}

.blob-purple {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite;
}

.blob-gold {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 12s ease-in-out infinite 2s;
}

.blob-violet {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 40%;
    left: 30%;
    animation: float 14s ease-in-out infinite 4s;
}

.hero-row {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* Hero text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1.25rem;
    background: rgba(61,0,153,.06);
    border: 1px solid rgba(61,0,153,.12);
    color: var(--primary);
    border-radius: 2rem;
    font-size: .85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.75rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .text-gradient {
    display: inline;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--text-muted);
}

.trust-item i {
    color: var(--primary);
    font-size: 1rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(61,0,153,.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

.glass-card {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(61,0,153,.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.glass-card-mini {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(61,0,153,.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.glass-card-dark {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
}

.hero-card {
    position: relative;
    z-index: 2;
    width: 320px;
    max-width: 100%;
    padding: 2rem;
    animation: float-slow 6s ease-in-out infinite;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.hero-card-logo {
    height: 28px;
    width: auto;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34,197,94,.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(61,0,153,.06);
}

.metric-row:last-of-type { border-bottom: none; }

.metric-label {
    font-size: .85rem;
    color: var(--text-muted);
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.progress-bar-custom {
    height: 6px;
    background: rgba(61,0,153,.08);
    border-radius: 3px;
    margin-top: 1.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    animation: progress-fill 2.5s ease-out forwards;
    animation-delay: 1s;
    width: 0;
}

.hero-card-footer-text {
    font-size: .75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: .75rem;
    margin-bottom: 0;
}

/* Floating badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.floating-badge i {
    color: var(--primary);
    font-size: 1rem;
}

.badge-1 {
    top: 10%;
    right: 0;
    animation: float-slow 5s ease-in-out infinite;
}

.badge-2 {
    bottom: 20%;
    left: -10px;
    animation: float-slow 7s ease-in-out infinite 1s;
}

.badge-3 {
    bottom: 5%;
    right: 5%;
    animation: float-slow 6s ease-in-out infinite 2s;
}

.badge-3 i { color: #22c55e; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-gentle 2s ease-in-out infinite;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: .6;
}

/* ============================================
   SECTION 2: THE CORE PROBLEM
   ============================================ */
.problem-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, var(--bg-dark) 0%, #1a0440 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.problem-section .section-label {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
    color: var(--accent);
}

.problem-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .problem-stats { grid-template-columns: repeat(3, 1fr); }
}

.stat-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon i {
    color: var(--accent);
    font-size: 1.4rem;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: .25rem;
}

.stat-desc {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* ============================================
   SECTION 3: INNOVATION
   ============================================ */
.innovation-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gray) 100%);
    position: relative;
}

.innovation-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    overflow: hidden;
}

.innovation-card .card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity .35s ease;
}

.innovation-card:hover {
    border-color: rgba(61,0,153,.2);
    box-shadow: 0 16px 48px rgba(61,0,153,.12);
    transform: translateY(-8px);
}

.innovation-card:hover .card-glow {
    opacity: 1;
}

.innovation-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform .35s ease;
}

.innovation-card:hover .innovation-icon {
    transform: scale(1.08) rotate(-3deg);
}

.innovation-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.innovation-card h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.innovation-card p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    background: rgba(61,0,153,.05);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    border-radius: 2rem;
}

.card-tag i { font-size: .85rem; }

/* ============================================
   SECTION 4: DUAL-MARKET ECOSYSTEM
   ============================================ */
.solutions-section {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.solution-panel {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    height: 100%;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.panel-enterprise::before {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.panel-users::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.solution-panel:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.panel-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.enterprise-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.user-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.panel-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.user-icon i { color: var(--text-dark); }

.panel-label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: 'Poppins', sans-serif;
    color: var(--text-muted);
}

.panel-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: .25rem;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.solution-features li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-features li:last-child { margin-bottom: 0; }

.feature-icon-sm {
    width: 40px;
    height: 40px;
    background: rgba(61,0,153,.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .15rem;
}

.feature-icon-sm i {
    color: var(--primary);
    font-size: 1.1rem;
}

.feature-icon-sm.gold {
    background: rgba(255,199,44,.12);
}

.feature-icon-sm.gold i {
    color: var(--accent-dark);
}

.solution-features strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: .25rem;
}

.solution-features p {
    font-size: .9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.panel-cta {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECTION 5: GLOBAL ARCHITECTURE
   ============================================ */
.global-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.global-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: rgba(61,0,153,.15);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    color: var(--accent);
    font-size: 1.15rem;
}

.highlight-item strong {
    display: block;
    font-size: .95rem;
    color: var(--text-dark);
}

.highlight-item span {
    font-size: .85rem;
    color: var(--text-muted);
}

/* Globe visual */
.global-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.globe-container {
    position: relative;
    width: 350px;
    height: 350px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-ring {
    position: absolute;
    border: 1.5px dashed rgba(61,0,153,.12);
    border-radius: 50%;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: dash-rotate 40s linear infinite;
}

.ring-2 {
    width: 75%;
    height: 75%;
    animation: dash-rotate 30s linear infinite reverse;
}

.ring-3 {
    width: 50%;
    height: 50%;
    animation: dash-rotate 20s linear infinite;
}

.globe-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(61,0,153,.3);
}

.globe-core i {
    font-size: 2rem;
    color: var(--accent);
}

/* Hub nodes */
.hub-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.node-label {
    font-size: .65rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hub-uk {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--accent);
    background: var(--accent);
}

.hub-uk .node-label { color: var(--text-dark); }

.node-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: node-pulse 2s ease-in-out infinite;
}

.hub-us { top: 35%; right: 0; }
.hub-ca { top: 15%; right: 15%; }
.hub-ng { bottom: 10%; left: 10%; }
.hub-in { bottom: 10%; right: 10%; }

/* Global stats */
.global-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gstat {
    text-align: center;
}

.gstat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.gstat-label {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ============================================
   SECTION 6: FOOTER
   ============================================ */

/* Trust bar */
.trust-bar {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0440 100%);
    padding: 3rem 0;
    color: #fff;
}

.trust-bar-title {
    text-align: center;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.5);
    margin-bottom: 2rem;
    font-weight: 600;
}

.trust-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    min-width: 140px;
}

.trust-badge-item:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
    transform: translateY(-2px);
}

.trust-badge-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: .25rem;
}

.trust-badge-item span {
    font-size: .85rem;
    color: rgba(255,255,255,.9);
}

.trust-badge-item small {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
}

/* Footer main */
.footer-main {
    padding: 4rem 0 2rem;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 110px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-brand-text {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: .75rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

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

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

.footer-links a {
    font-size: .9rem;
    color: var(--text-muted);
    transition: color .3s;
}

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

.footer-links small {
    color: var(--text-muted);
    opacity: .7;
}

.uk-tag {
    font-size: .7rem;
    background: rgba(61,0,153,.08);
    color: var(--primary);
    padding: .15rem .5rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-left: .25rem;
}

.contact-links li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.contact-links i {
    color: var(--primary);
    font-size: .95rem;
}

.footer-cta-mini {
    margin-top: 1.5rem;
}

/* Copyright */
.copyright-bar {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg-white);
}

.copyright-bar p {
    font-size: .85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* --- Tablet landscape (<=1199px) --- */
@media (max-width: 1199.98px) {
    .hero-card {
        width: 290px;
    }
}

/* --- Tablet / below lg (<=991px) --- */
@media (max-width: 991.98px) {
    .hero-visual {
        min-height: 360px;
        margin-top: 2rem;
    }

    .hero-row {
        min-height: auto;
        padding: 3rem 0 5rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn-lg-custom {
        justify-content: center;
        text-align: center;
    }

    .globe-container {
        width: 280px;
        height: 280px;
    }

    .scroll-indicator { display: none; }

    .blob-purple { width: 350px; height: 350px; }
    .blob-gold { width: 280px; height: 280px; }
    .blob-violet { width: 200px; height: 200px; }
}

/* --- Small tablet / large phone (<=767px) --- */
@media (max-width: 767.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-subtitle {
        font-size: .95rem;
        line-height: 1.65;
    }

    .problem-section,
    .innovation-section,
    .solutions-section,
    .global-section {
        padding: 3.5rem 0;
    }

    .section-body,
    .section-body-light {
        font-size: .98rem;
    }

    .solution-panel {
        padding: 2rem 1.5rem;
    }

    .hero-card {
        width: 260px;
        padding: 1.5rem;
    }

    .hero-glow {
        width: 240px;
        height: 240px;
    }

    .floating-badge { display: none; }

    .globe-container {
        width: 220px;
        height: 220px;
    }

    .globe-core { width: 60px; height: 60px; }
    .globe-core i { font-size: 1.5rem; }

    .hub-node { width: 34px; height: 34px; }
    .node-label { font-size: .5rem; }

    .global-stats { gap: 1.25rem; }
    .gstat-num { font-size: 1.4rem; }

    .trust-badges-row { gap: .75rem; }

    .trust-badge-item {
        min-width: 0;
        flex: 1 1 calc(50% - .75rem);
        padding: .75rem .75rem;
    }

    .trust-bar { padding: 2rem 0; }

    .stat-number { font-size: 2rem; }
    .stat-card { padding: 1.5rem 1rem; }

    .innovation-icon { width: 52px; height: 52px; }
    .innovation-icon i { font-size: 1.5rem; }
    .innovation-card h3 { font-size: 1.2rem; }

    .panel-title { font-size: 1.3rem; }

    .footer-main { padding: 3rem 0 1.5rem; }

    .hero-trust {
        flex-direction: column;
        gap: .6rem;
    }

    .hero-visual { min-height: 340px; }
}

/* --- Phone (<=575px) --- */
@media (max-width: 575.98px) {
    .container {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .navbar-custom { padding: .75rem 0; }
    .navbar-custom.scrolled { padding: .5rem 0; }
    .nav-logo { height: 30px; }

    .hero-section { padding-top: 60px; }
    .hero-row { padding: 2rem 0 3.5rem; }

    .hero-badge {
        font-size: .75rem;
        padding: .4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: .9rem;
        margin-bottom: 1.5rem;
    }

    .hero-ctas { gap: .75rem; }

    .hero-ctas .btn-lg-custom {
        padding: .85rem 1.25rem;
        font-size: .85rem;
        width: 100%;
    }

    .section-subtitle { font-size: .95rem; }

    .section-label {
        font-size: .78rem;
        padding: .35rem .9rem;
    }

    .problem-section,
    .innovation-section,
    .solutions-section,
    .global-section {
        padding: 3rem 0;
    }

    .problem-stats { gap: 1rem; }
    .stat-number { font-size: 1.75rem; }
    .stat-icon { width: 48px; height: 48px; }
    .stat-desc { font-size: .82rem; }

    .innovation-card { padding: 1.5rem 1.25rem; }
    .innovation-card p { font-size: .9rem; }

    .panel-header {
        flex-direction: column;
        gap: .75rem;
    }

    .panel-icon { width: 48px; height: 48px; }
    .panel-title { font-size: 1.2rem; }

    .solution-features li { gap: .75rem; }
    .feature-icon-sm { width: 36px; height: 36px; }
    .solution-features strong { font-size: .95rem; }
    .solution-features p { font-size: .85rem; }

    .hero-visual { min-height: 300px; }
    .hero-card { width: 240px; padding: 1.25rem; }
    .hero-card-logo { height: 22px; }
    .metric-label { font-size: .78rem; }
    .metric-value { font-size: .95rem; }

    .globe-container { width: 200px; height: 200px; }
    .globe-core { width: 50px; height: 50px; }
    .globe-core i { font-size: 1.25rem; }
    .hub-node { width: 30px; height: 30px; }
    .node-label { font-size: .45rem; }

    .highlight-item { padding: .85rem 1rem; }
    .highlight-icon { width: 38px; height: 38px; }
    .highlight-item strong { font-size: .88rem; }
    .highlight-item span { font-size: .8rem; }

    .global-stats { gap: 1rem; }
    .gstat-num { font-size: 1.3rem; }
    .gstat-label { font-size: .78rem; }

    .trust-badge-item {
        flex: 1 1 calc(50% - .5rem);
        padding: .65rem .6rem;
    }

    .trust-badge-item i { font-size: 1.25rem; }
    .trust-badge-item span { font-size: .78rem; }
    .trust-badge-item small { font-size: .68rem; }

    .trust-bar-title {
        font-size: .75rem;
        margin-bottom: 1.25rem;
    }

    .footer-logo { height: 28px; }
    .footer-heading { font-size: .8rem; margin-bottom: 1rem; }
    .footer-links a { font-size: .85rem; }
    .footer-brand-text { font-size: .85rem; }
    .copyright-bar p { font-size: .78rem; }

    .hero-trust { flex-direction: column; gap: .75rem; }

    /* Reduce blob sizes for performance */
    .blob-purple { width: 250px; height: 250px; }
    .blob-gold { width: 200px; height: 200px; }
    .blob-violet { width: 150px; height: 150px; }
}

/* --- Very small phones (<=380px) --- */
@media (max-width: 380px) {
    .container {
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .hero-ctas .btn-lg-custom {
        padding: .75rem 1rem;
        font-size: .8rem;
    }

    .hero-card { width: 210px; padding: 1rem; }
    .metric-label { font-size: .72rem; }
    .metric-value { font-size: .85rem; }
    .metric-row { padding: .5rem 0; }

    .stat-number { font-size: 1.5rem; }
    .innovation-card { padding: 1.25rem 1rem; }
    .solution-panel { padding: 1.5rem 1.15rem; }

    .globe-container { width: 170px; height: 170px; }
    .hub-node { width: 26px; height: 26px; }
    .node-label { font-size: .4rem; }

    .trust-badge-item { flex: 1 1 100%; }

    .section-body-light {
        font-size: .92rem;
        margin-bottom: 2rem;
    }

    .nav-links.mobile-open { padding: 1rem; }
}

/* ---- Prefers reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ---- Typewriter Cursor ---- */
.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: typewriter-cursor 0.7s step-end infinite;
}

.typewriter-active {
    min-height: 1.2em;
}

/* ---- Prefers reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
