/* ============================================================
   GLOBAL CORPORATION AI SOLUTIONS — COMMON STYLESHEET
   common.css  |  Modern Corporate Dark Theme — v3.0
   ============================================================ */

/* ── RESET & ROOT VARIABLES ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── Enhanced Corporate Color Palette ── */
    --deep-navy:        #0A0E27;
    --charcoal:         #151932;
    --midnight:         #1A1F3A;

    /* Primary Brand Colors */
    --primary-blue:     #3B82F6;
    --primary-cyan:     #06B6D4;
    --primary-purple:   #8B5CF6;
    --primary-indigo:   #6366F1;

    /* Accent Colors */
    --accent-orange:    #F59E0B;
    --accent-green:     #10B981;
    --accent-pink:      #EC4899;
    --accent-red:       #EF4444;

    /* Light shades */
    --sky-500:          #3B82F6;
    --sky-400:          #60A5FA;
    --sky-300:          #93C5FD;
    --cyan-500:         #06B6D4;
    --cyan-400:         #22D3EE;
    --electric-blue:    #3B82F6;
    --purple-accent:    #8B5CF6;

    /* Text Colors */
    --white:            #FFFFFF;
    --off-white:        #F1F5F9;
    --pearl:            #CBD5E1;
    --gray-light:       #94A3B8;
    --gray-mid:         #64748B;
    --gray-100:         #111827;
    --gray-200:         #1e293b;
    --gray-300:         #94A3B8;
    --gray-400:         #64748B;
    --gray-600:         #94A3B8;
    --gray-800:         #e2e8f0;

    /* Gradients - More Vibrant */
    --gradient-primary:     linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gradient-dark:        linear-gradient(135deg, #0A0E27 0%, #151932 100%);
    --gradient-glow:        linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.06) 100%);
    --gradient-purple:      linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --gradient-orange:      linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-green:       linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    --gradient-pink:        linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    --gradient-rainbow:     linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);

    --font-primary:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display:  'Plus Jakarta Sans', 'Inter', sans-serif;

    --section-padding:   80px;
    --container-width:   1280px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast:   all 0.2s ease;

    /* Card System */
    --card-bg:              rgba(255,255,255,0.04);
    --card-border:          rgba(255,255,255,0.08);
    --card-hover-bg:        rgba(59,130,246,0.06);
    --card-hover-border:    rgba(59,130,246,0.25);
    --card-expanded-bg:     rgba(59,130,246,0.05);
    --card-expanded-border: rgba(59,130,246,0.2);

    /* Shadows - Enhanced */
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.1);
    --shadow-md:    0 4px 24px rgba(0,0,0,0.15);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.2);
    --shadow-xl:    0 20px 60px rgba(0,0,0,0.3);
    --shadow-glow:  0 0 40px rgba(59,130,246,0.3);

    /* Icon Gradients */
    --icon-blue:    linear-gradient(135deg, #3B82F6, #60A5FA);
    --icon-purple:  linear-gradient(135deg, #8B5CF6, #A78BFA);
    --icon-green:   linear-gradient(135deg, #10B981, #34D399);
    --icon-orange:  linear-gradient(135deg, #F59E0B, #FBBF24);
    --icon-pink:    linear-gradient(135deg, #EC4899, #F472B6);
    --icon-cyan:    linear-gradient(135deg, #06B6D4, #22D3EE);

    /* Off-white dim */
    --off-white-dim: #CBD5E1;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--deep-navy);
    color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ── */
p {
    text-align: justify;
    text-justify: inter-word;
}
.hero p,
.hero-content p,
.cta-section p,
.section-description,
.page-hero p,
.legal-hero p,
.contact-card-content p,
.stat-label,
.stat-card .label,
.footer-brand p,
.value-card p,
.mv-card p,
.product-hero .subtitle {
    text-align: center;
    text-justify: unset;
}
.footer-brand p,
.philosophy-content p,
.philosophy-highlight p,
.leader-detail .bio p,
.tech-list li,
.form-note,
.hours-list li,
.service-features li {
    text-align: left;
    text-justify: unset;
}
.footer-bottom p {
    text-align: left;
}

/* ── CONTAINER ── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── SECTION SHARED ── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.25);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--sky-400);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    font-family: var(--font-display);
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-300);
    line-height: 1.8;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAVIGATION ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled,
.navbar.solid {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.3),
        0 0 0 1px rgba(59,130,246,0.1);
    padding: 14px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
    line-height: 1;
}
.logo:hover { opacity: 0.9; }

.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transition: var(--transition-fast);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--sky-400);
}

/* Contact Us nav button */
.btn-nav-primary {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6) !important;
    color: #FFFFFF !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow:
        0 6px 24px rgba(59,130,246,0.35),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    white-space: nowrap;
}
.btn-nav-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 36px rgba(59,130,246,0.5),
        0 0 0 1px rgba(255,255,255,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-nav-primary::after,
.btn-nav-primary.active::after { display: none !important; }

/* hide Industries from nav */
.nav-item-industries { display: none !important; }

/* ── MOBILE MENU TOGGLE ── */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* ── MOBILE MENU DRAWER ── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
}
.mobile-menu-overlay.open { display: flex !important; }

/* Dark backdrop */
.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 14, 0.8);
    backdrop-filter: blur(4px);
    animation: backdropIn 0.3s ease forwards;
}
@keyframes backdropIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Slide-in drawer from left */
.mobile-menu-drawer {
    position: relative;
    z-index: 1;
    width: 280px;
    max-width: 82vw;
    height: 100%;
    background: #0A0E27;
    border-right: 1px solid rgba(59,130,246,0.12);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: drawerIn 0.32s cubic-bezier(0.16,1,0.3,1) forwards;
    box-shadow: 4px 0 32px rgba(0,0,0,0.5);
}
@keyframes drawerIn {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* Drawer header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    min-height: 62px;
    background: #0A0E27;
}
.mobile-menu-logo {
    display: block;
    height: 34px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}
.mobile-menu-close {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.mobile-menu-close:hover {
    background: rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.4);
    color: var(--sky-400);
}

/* Nav items */
.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}
.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.mobile-menu-nav a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.3);
    transition: color 0.18s ease;
    flex-shrink: 0;
}
.mobile-menu-nav a:hover {
    color: #fff;
    background: rgba(59,130,246,0.08);
    border-left-color: var(--sky-500);
}
.mobile-menu-nav a:hover i { color: var(--sky-400); }
.mobile-menu-nav a.active {
    color: var(--sky-400);
    background: rgba(59,130,246,0.08);
    border-left-color: var(--sky-500);
    font-weight: 600;
}
.mobile-menu-nav a.active i { color: var(--sky-400); }

.mobile-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 8px 20px;
}

/* CTA footer button */
.mobile-menu-footer {
    padding: 16px 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
    background: #0A0E27;
}
.mobile-menu-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px rgba(59,130,246,0.3);
    white-space: nowrap;
}
.mobile-menu-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59,130,246,0.45);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    padding: 160px 0 30px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.5px;
}
.page-hero p {
    font-size: 20px;
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
}

/* ── BUTTONS ── */
.btn-primary {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #FFFFFF;
    padding: 18px 44px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow:
        0 12px 40px rgba(59,130,246,0.3),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 60px rgba(59,130,246,0.4),
        0 0 0 1px rgba(255,255,255,0.15),
        inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--white);
    padding: 18px 44px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}

.btn-white {
    background: #FFFFFF;
    color: #3B82F6;
    padding: 18px 44px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    color: #8B5CF6;
}

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.15)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}
.cta-content {
    position: relative; z-index: 10;
    max-width: 800px; margin: 0 auto;
}
.cta-section h2 {
    font-size: 52px; font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    font-family: var(--font-display);
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-section p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
    background: #060910;
    padding: 80px 0 30px;
    color: var(--gray-300);
    border-top: 1px solid rgba(59,130,246,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand h3 {
    font-size: 24px; font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    font-family: var(--font-display);
}
.footer-brand p {
    font-size: 15px; line-height: 1.8;
    margin-bottom: 24px;
    color: var(--gray-400);
    text-align: left;
}
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link:hover {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.3);
    border-color: transparent;
}

.footer-column h4 {
    font-size: 16px; font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    color: var(--gray-400);
    text-decoration: none; font-size: 14px;
    transition: var(--transition-fast);
    display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--sky-400); padding-left: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    font-size: 13px; color: var(--gray-400);
    flex: 0 0 auto; text-align: left;
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal a {
    color: var(--gray-400);
    text-decoration: none; font-size: 13px;
    transition: color 0.2s; white-space: nowrap;
}
.footer-legal a:hover { color: var(--sky-400); }

/* ── SCROLL ANIMATIONS ── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate].animated { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translate(0,0); }
    25%  { transform: translate(100px,-100px); }
    50%  { transform: translate(-50px,50px); }
    75%  { transform: translate(50px,100px); }
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.loading { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ── VALUES GRID (shared between index + about) ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.value-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(59,130,246,0.08) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.value-card:hover::after { opacity: 1; }
.value-card:hover {
    border-color: var(--card-hover-border);
    box-shadow: 0 12px 48px rgba(59,130,246,0.12);
    transform: translateY(-6px);
    background: var(--card-hover-bg);
}

/* Colorful value icons */
.value-card:nth-child(1) .value-icon { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.value-card:nth-child(2) .value-icon { background: linear-gradient(135deg, #8B5CF6, #A78BFA); }
.value-card:nth-child(3) .value-icon { background: linear-gradient(135deg, #10B981, #34D399); }
.value-card:nth-child(4) .value-icon { background: linear-gradient(135deg, #F59E0B, #FBBF24); }

.value-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--white); font-size: 22px;
    box-shadow: 0 8px 24px rgba(59,130,246,0.25);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent);
    transition: left 0.6s ease;
}
.value-card:hover .value-icon::before { left: 100%; }
.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 12px 32px rgba(59,130,246,0.4),
        0 0 40px rgba(59,130,246,0.3);
}

.value-card h4 {
    font-size: 18px; font-weight: 700;
    color: var(--white); margin-bottom: 10px;
    font-family: var(--font-display);
}
.value-card p { font-size: 14px; color: var(--gray-300); line-height: 1.7; }

/* ── LEGAL PAGES ── */
.legal-hero {
    padding: 160px 0 70px;
    background: var(--gradient-dark);
    text-align: center; color: var(--white);
}
.legal-hero h1 {
    font-size: 52px; font-weight: 800;
    margin-bottom: 14px;
    font-family: var(--font-display);
    text-align: center;
}
.legal-hero .date { font-size: 15px; color: var(--gray-300); }
.legal-content { padding: 70px 0; max-width: 900px; margin: 0 auto; }
.legal-section { margin-bottom: 52px; }
.legal-section h2 {
    font-size: 28px; font-weight: 700;
    color: var(--white); margin-bottom: 18px;
    font-family: var(--font-display);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-section h3 {
    font-size: 20px; font-weight: 600;
    color: var(--sky-400);
    margin-bottom: 14px; margin-top: 28px;
}
.legal-section p {
    font-size: 16px; color: var(--gray-300);
    line-height: 1.9; margin-bottom: 18px;
    text-align: justify; text-justify: inter-word;
}
.legal-section ul, .legal-section ol { margin: 16px 0; padding-left: 24px; }
.legal-section li {
    font-size: 16px; color: var(--gray-300);
    line-height: 1.9; margin-bottom: 10px;
}
.highlight-box {
    background: rgba(59,130,246,0.08);
    border-left: 4px solid var(--sky-500);
    padding: 24px 32px; border-radius: 0 10px 10px 0; margin: 32px 0;
}
.highlight-box p { margin-bottom: 0; font-weight: 500; color: var(--off-white); text-align: left; }
.contact-box {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    color: var(--white);
    padding: 48px; border-radius: 20px;
    text-align: center; margin-top: 60px;
}
.contact-box h3 {
    font-size: 28px; font-weight: 700;
    margin-bottom: 16px; color: var(--white);
    font-family: var(--font-display);
}
.contact-box p { color: rgba(255,255,255,0.9); margin-bottom: 10px; font-size: 16px; text-align: center; }
.contact-box a { color: var(--white); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    :root { --section-padding: 60px; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .section-title { font-size: 40px; }
    .page-hero h1 { font-size: 42px; }
    .values-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .nav-menu    { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    .section-title { font-size: 32px; }
    .cta-section h2 { font-size: 30px; }
    .page-hero h1  { font-size: 32px; }
    .footer-grid   { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-legal  { justify-content: flex-start; gap: 12px; }
    .legal-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    p { text-align: left; text-justify: unset; }
    .legal-section p { text-align: left; text-justify: unset; }
    .product-description { text-align: left; text-justify: unset; }
}

/* ============================================================
   PRO SAAS HERO ANIMATIONS
   ============================================================ */

/* ── Floating orbs ── */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: orbFloat var(--orb-duration, 8s) ease-in-out infinite;
    animation-delay: var(--orb-delay, 0s);
}
.hero-orb-1 {
    width: 6px; height: 6px;
    background: #3B82F6;
    top: 20%; left: 15%;
    --orb-duration: 9s; --orb-delay: 0s;
    animation-name: orbFloat1;
}
.hero-orb-2 {
    width: 4px; height: 4px;
    background: #8B5CF6;
    top: 60%; left: 80%;
    --orb-duration: 11s; --orb-delay: 1.5s;
    animation-name: orbFloat2;
}
.hero-orb-3 {
    width: 8px; height: 8px;
    background: #06B6D4;
    top: 35%; left: 70%;
    --orb-duration: 13s; --orb-delay: 3s;
    animation-name: orbFloat1;
}
.hero-orb-4 {
    width: 3px; height: 3px;
    background: #60A5FA;
    top: 75%; left: 25%;
    --orb-duration: 10s; --orb-delay: 0.8s;
    animation-name: orbFloat2;
}
.hero-orb-5 {
    width: 5px; height: 5px;
    background: #A78BFA;
    top: 45%; left: 45%;
    --orb-duration: 14s; --orb-delay: 2s;
    animation-name: orbFloat1;
}
.hero-orb-6 {
    width: 4px; height: 4px;
    background: #06B6D4;
    top: 15%; left: 60%;
    --orb-duration: 12s; --orb-delay: 4s;
    animation-name: orbFloat2;
}
.hero-orb-7 {
    width: 6px; height: 6px;
    background: #60A5FA;
    top: 80%; left: 55%;
    --orb-duration: 10s; --orb-delay: 1s;
    animation-name: orbFloat1;
}
.hero-orb-8 {
    width: 3px; height: 3px;
    background: #22D3EE;
    top: 50%; left: 10%;
    --orb-duration: 16s; --orb-delay: 2.5s;
    animation-name: orbFloat2;
}
@keyframes orbFloat1 {
    0%   { transform: translate(0,0);     opacity: 0; }
    10%  { opacity: 0.7; }
    50%  { transform: translate(40px,-70px);  opacity: 0.9; }
    90%  { opacity: 0.6; }
    100% { transform: translate(-20px,40px);  opacity: 0; }
}
@keyframes orbFloat2 {
    0%   { transform: translate(0,0);     opacity: 0; }
    10%  { opacity: 0.6; }
    50%  { transform: translate(-50px,30px);  opacity: 0.8; }
    90%  { opacity: 0.5; }
    100% { transform: translate(30px,-50px);  opacity: 0; }
}

/* ── Content entrance animations ── */
.hero-anim-1 { animation: heroSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both; }
.hero-anim-2 { animation: heroSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.25s both; }
.hero-anim-3 { animation: heroSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s both; }
.hero-anim-4 { animation: heroSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.55s both; }
.hero-badge-anim { animation: heroBadgePop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.05s both; }
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgePop {
    from { opacity: 0; transform: scale(0.7) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Page hero (inner pages) — floating badge ── */
.page-hero-badge {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.25);
    padding: 8px 20px; border-radius: 50px;
    color: var(--sky-400);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 20px;
    animation: heroBadgePop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.05s both;
}

/* ── Hero section ensure content above animations ── */
.hero .hero-content,
.page-hero .container,
.products-hero .hero-content {
    position: relative;
    z-index: 10;
}

/* ── Dark Section Utility ── */
.dark-section {
    background: var(--charcoal);
    position: relative;
}
.dark-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Off-White Text Utility ── */
.text-offwhite { color: var(--off-white); }
.text-pearl { color: var(--pearl); }
.text-sky { color: var(--sky-400); }
.text-cyan { color: var(--cyan-400); }
