/* ========================================================
   ILAB TECHNOLOGIES - Optimized Stylesheet
   Primary: #134374 | Secondary: #539BD7
   ======================================================== */

/* ========================================================
   1. CSS VARIABLES
   ======================================================== */
:root {
    --primary: #F8FAFC;
    --secondary: #134374;
    --secondary-light: #8B5CF6;
    --accent: #539BD7;
    --accent-light: #FBBF24;
    --success: #10B981;
    --surface: #FFFFFF;
    --background: #F1F5F9;
    --text: #0F172A;
    --text-secondary: #475569;
    --muted: #94A3B8;
    --borders: #E2E8F0;
    --gradient-1: linear-gradient(135deg, #134374, #8B5CF6, #539BD7);
    --gradient-2: linear-gradient(135deg, #E2E8F0, #134374);
    --gradient-3: linear-gradient(135deg, #539BD7, #F97316);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(108, 60, 225, 0.1);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================
   2. RESET & BASE
   ======================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========================================================
   3. UTILITY CLASSES
   ======================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.glass:hover { box-shadow: var(--shadow-hover); }

.section-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(108, 60, 225, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid rgba(108, 60, 225, 0.15);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.section { padding: 5rem 0; position: relative; }

.bg-primary { background: var(--primary) !important; }
.bg-primary-dark { background: var(--primary-dark) !important; }
.bg-surface { background: var(--surface) !important; }
.bg-background { background: var(--background) !important; }
.text-center { text-align: center !important; }

/* ========================================================
   4. BUTTONS
   ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.25);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(108, 60, 225, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid #0F172A;
}
.btn-outline:hover {
    background: var(--surface);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ========================================================
   5. HEADER / NAVIGATION
   ======================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--borders);
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: slideDown 0.6s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}
.logo-icon { font-size: 1.8rem; animation: pulse 3s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; }

.nav-desktop ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}
.nav-desktop a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 2rem;
    border-bottom: 1px solid var(--borders);
    z-index: 999;
    box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; animation: slideDown 0.3s ease; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { color: var(--text); font-size: 1.1rem; font-weight: 500; padding: 0.5rem 0; display: block; }

/* ========================================================
   6. HERO SECTION
   ======================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(108, 60, 225, 0.06), transparent 60%);
    animation: heroGlow 10s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.2) rotate(5deg); opacity: 1; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(108, 60, 225, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(108, 60, 225, 0.15);
    animation: fadeInUp 0.8s ease;
}
@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
    animation: fadeInUp 1s ease;
}
.hero-title .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientMove 4s ease infinite;
}
@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1.4s ease;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1.6s ease;
}
.hero-stats .stat { display: flex; flex-direction: column; }
.hero-stats .stat .number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stats .stat .label { color: var(--text-secondary); font-size: 0.85rem; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-visual .tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(108, 60, 225, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 60, 225, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    border-radius: var(--radius);
    animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-visual .orb {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--secondary-light), var(--secondary), var(--accent));
    opacity: 0.8;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(20px, -30px) scale(1.1) rotate(120deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(240deg); }
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite;
    box-shadow: 0 0 10px var(--secondary);
}
.floating-particle:nth-child(2) { top: 15%; left: 10%; animation-delay: 0s; }
.floating-particle:nth-child(3) { top: 70%; left: 80%; animation-delay: 3s; width: 6px; height: 6px; }
.floating-particle:nth-child(4) { top: 40%; left: 85%; animation-delay: 6s; opacity: 0.15; }
.floating-particle:nth-child(5) { top: 80%; left: 15%; animation-delay: 9s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.3); }
    50% { transform: translate(-20px, 20px) scale(0.7); }
    75% { transform: translate(25px, -15px) scale(1.1); }
}

/* ========================================================
   7. PAGE HERO (Interior Pages)
   ======================================================== */
.page-hero {
    padding: 6rem 0 3rem;
    background: var(--primary);
    border-bottom: 1px solid var(--borders);
    text-align: center;
}
.page-hero h1 {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.page-hero p { color: var(--text-secondary); font-size: 1.2rem; }

.glass-hero {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 6rem 0 4rem;
    text-align: center;
    overflow: hidden;
}
.glass-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, #134374, transparent 100%);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}
.glass-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, #539BD7, transparent 100%);
    animation: heroGlow 8s ease-in-out infinite 2s;
    pointer-events: none;
}
.glass-hero .container { position: relative; z-index: 1; }
.glass-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================================
   8. INTRO / ABOUT
   ======================================================== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.intro-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.intro-text p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}
.intro-stats .stat-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    background: var(--surface);
}
.intro-stats .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.intro-stats .stat-card .number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.intro-stats .stat-card .label { color: var(--text-secondary); font-size: 0.9rem; }

/* ========================================================
   9. SERVICES
   ======================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 2rem;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius);
}
.service-card:hover::before { opacity: 0.04; }
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.service-card h3 { margin-bottom: 0.5rem; color: var(--text); }
.service-card p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.95rem; }
.service-card .learn-more {
    color: var(--secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}
.service-card .learn-more:hover { gap: 0.5rem; color: var(--accent); }

/* ========================================================
   10. INDUSTRIES
   ======================================================== */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.industry-tag {
    padding: 0.5rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--borders);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: default;
}
.industry-tag:hover {
    border-color: var(--secondary);
    color: var(--text);
    transform: scale(1.05) translateY(-2px);
    background: rgba(108, 60, 225, 0.04);
    box-shadow: var(--shadow);
}

/* ========================================================
   11. TECHNOLOGY
   ======================================================== */
.tech-category { margin-bottom: 3rem; }
.tech-category h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--text); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.tech-item {
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    background: var(--surface);
}
.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.tech-item .tech-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.tech-item h4 { margin-bottom: 0.25rem; color: var(--text); }
.tech-item p { color: var(--text-secondary); font-size: 0.85rem; }

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0;
}
.tech-icons span {
    padding: 0.7rem 1.8rem;
    background: var(--surface);
    border: 1px solid var(--borders);
    border-radius: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 0 1 auto;
    min-width: 80px;
    text-align: center;
}
.tech-icons span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.05;
    transition: var(--transition);
}
.tech-icons span:hover::before { left: 0; }
.tech-icons span:hover {
    border-color: var(--secondary);
    color: var(--text);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* ========================================================
   12. BENEFITS / FEATURES
   ======================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.benefit-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.benefit-card .icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.benefit-card h4 { margin-bottom: 0.5rem; }
.benefit-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ========================================================
   13. CASE STUDIES
   ======================================================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.case-card {
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: var(--surface);
}
.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}
.case-card:hover::after { transform: scaleX(1); }
.case-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
}
.case-card .tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(108, 60, 225, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.case-card h3 { margin-bottom: 0.5rem; }
.case-card p { color: var(--text-secondary); margin-bottom: 0.5rem; font-size: 0.95rem; }
.case-card .read-more {
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    margin-top: 0.5rem;
}
.case-card .read-more:hover { color: var(--accent); }

/* ========================================================
   14. TESTIMONIALS
   ======================================================== */
.testimonial-card {
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: var(--surface);
}
.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 0;
    left: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
}
.testimonial-card .quote { font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.8; color: var(--text); }
.testimonial-card .author { color: var(--text-secondary); }
.testimonial-card .author strong { color: var(--text); }

/* ========================================================
   15. CONTACT
   ======================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}
.contact-info { padding: 2rem; background: var(--surface); }
.contact-info h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.contact-info p i { width: 20px; color: var(--secondary); }

.social-links { margin-top: 2rem; }
.social-links h4 { margin-bottom: 0.75rem; }
.social-links a {
    display: inline-block;
    color: var(--text-secondary);
    margin-right: 1rem;
    transition: var(--transition);
    font-size: 1.2rem;
}
.social-links a:hover { color: var(--secondary); transform: translateY(-2px); }

.business-hours { margin-top: 2rem; }
.business-hours h4 { margin-bottom: 0.75rem; }
.business-hours p { color: var(--text-secondary); font-size: 0.9rem; }

.contact-form { padding: 2rem; background: var(--surface); }
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--background);
    border: 1px solid var(--borders);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(108, 60, 225, 0.1);
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: var(--text);
}
.contact-form select option { background: var(--surface); color: var(--text); }

.contact-form .success-message {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.contact-form .error-message {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #DC2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* ========================================================
   16. ABOUT PAGE
   ======================================================== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-content p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.value-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--borders);
    transition: var(--transition);
}
.value-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.value-card .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.value-card h3 { margin-bottom: 0.25rem; }
.value-card p { color: var(--text-secondary); font-size: 0.95rem; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.stats-grid .stat-card { padding: 2rem; text-align: center; background: var(--surface); }
.stats-grid .stat-card .number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.stats-grid .stat-card .label { color: var(--text-secondary); font-size: 0.9rem; }

/* ========================================================
   17. RELATED SERVICES
   ======================================================== */
.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.related-service {
    padding: 1.5rem;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--borders);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    display: block;
}
.related-service:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.related-service .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.related-service h4 { margin-bottom: 0.25rem; color: var(--text); }
.related-service p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }

/* ========================================================
   18. IMAGE PLACEHOLDERS
   ======================================================== */
.image-placeholder-ai,
.image-placeholder-cloud,
.image-placeholder-data,
.image-placeholder-digital,
.image-placeholder-security {
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(83, 155, 215, 0.3);
}
.image-placeholder-ai { background: linear-gradient(135deg, #0a1a2e, #134374); }
.image-placeholder-cloud { background: linear-gradient(135deg, #0a1628, #134374); }
.image-placeholder-data { background: linear-gradient(135deg, #0a1a0a, #134374); }
.image-placeholder-digital { background: linear-gradient(135deg, #1a0a1a, #134374); }
.image-placeholder-security { background: linear-gradient(135deg, #0a0a1a, #134374); }

.image-placeholder-ai .icon,
.image-placeholder-cloud .icon,
.image-placeholder-data .icon,
.image-placeholder-digital .icon,
.image-placeholder-security .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}
.image-placeholder-ai h3,
.image-placeholder-cloud h3,
.image-placeholder-data h3,
.image-placeholder-digital h3,
.image-placeholder-security h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}
.image-placeholder-ai p,
.image-placeholder-cloud p,
.image-placeholder-data p,
.image-placeholder-digital p,
.image-placeholder-security p {
    color: var(--text-secondary);
}

/* ========================================================
   19. CTA / NEWSLETTER
   ======================================================== */
.cta-newsletter .glass {
    padding: 4rem;
    text-align: center;
    background: var(--gradient-2);
    border: none;
}
.cta-newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.cta-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--borders);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}
.newsletter-form input[type="email"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}
.newsletter-form input[type="email"]:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(83, 155, 215, 0.15);
}
.newsletter-form .btn { white-space: nowrap; }

.section.bg-primary .cta-newsletter .glass {
    background: var(--gradient-2);
    border: none;
    padding: 4rem;
}
.section.bg-primary .cta-newsletter h2 { color: var(--text); }
.section.bg-primary .cta-newsletter p { color: var(--text-secondary); }

/* ========================================================
   20. FOOTER
   ======================================================== */
.footer {
    background: var(--primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--borders);
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.footer-brand .logo .logo-icon { font-size: 1.8rem; color: var(--secondary); }
.footer-brand .logo .logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
    line-height: 1.7;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    transition: var(--transition);
}
.footer-contact:hover { color: var(--text); }
.footer-contact i { width: 18px; flex-shrink: 0; }

.footer-links { display: flex; flex-direction: column; }
.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}
.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--text);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--borders);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.social {
    display: flex;
    gap: 1.5rem;
}
.social a {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.social a:hover {
    color: var(--text);
    transform: translateY(-3px);
}

.site-logo-footer {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* ========================================================
   21. COOKIE BANNER
   ======================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--borders);
    z-index: 9999;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: var(--text-secondary); font-size: 0.9rem; }
.cookie-banner a { color: var(--secondary); }

/* ========================================================
   22. BACK TO TOP & WHATSAPP
   ======================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(108, 60, 225, 0.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 40px rgba(108, 60, 225, 0.35);
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 6rem;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========================================================
   23. PRELOADER
   ======================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease;
}
.preloader.fade-out { opacity: 0; pointer-events: none; }
.loader-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--borders);
    border-top-color: var(--secondary);
    border-bottom-color: var(--accent);
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

/* ========================================================
   24. ANIMATIONS
   ======================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ========================================================
   25. LINK FIXES - Ensure all links are clickable
   ======================================================== */
a, a.learn-more, a.read-more, a.btn, a.btn-primary, a.btn-outline, a.btn-ghost {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    text-decoration: none !important;
    z-index: 999 !important;
    position: relative !important;
}
.service-card, .case-card { position: relative !important; z-index: 1 !important; }
.service-card a, .case-card a {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    color: var(--secondary-light) !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    position: relative !important;
    z-index: 999 !important;
}
.service-card a:hover, .case-card a:hover {
    gap: 0.5rem !important;
    color: var(--accent) !important;
}
.btn, .btn-primary, .btn-outline, .btn-ghost {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    z-index: 999 !important;
    position: relative !important;
}
.service-card .learn-more {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    color: var(--secondary-light) !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 999 !important;
    padding: 0.5rem 0 !important;
}
.service-card .learn-more:hover {
    gap: 0.5rem !important;
    color: var(--accent) !important;
}
.case-card .read-more {
    display: inline-block !important;
    color: var(--secondary-light) !important;
    font-weight: 500 !important;
    transition: var(--transition) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 999 !important;
    padding: 0.5rem 0 !important;
}
.case-card .read-more:hover { color: var(--accent) !important; }
.service-card::before, .case-card::before { pointer-events: none !important; }
.service-card *, .case-card * { pointer-events: auto !important; }
.services-grid, .case-grid { pointer-events: auto !important; }

/* ========================================================
   26. RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual .orb { width: 250px; height: 250px; }
    .intro-grid { grid-template-columns: 1fr; text-align: center; }
    .intro-stats { justify-content: center; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
    body { padding-top: 60px; }
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-stats .stat .number { font-size: 1.8rem; }
    .section { padding: 3rem 0; }
    .section-header h2 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
    .intro-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
    .intro-stats .stat-card { padding: 1rem; }
    .intro-stats .stat-card .number { font-size: 1.5rem; }
    .intro-text h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .whatsapp-float { right: 1rem; bottom: 5rem; width: 48px; height: 48px; }
    .back-to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
    .page-hero { padding: 5rem 0 2rem; }
    .page-hero h1 { font-size: 2rem; }
    .glass-hero { padding: 4rem 0 2.5rem; }
    .glass-hero h1 { font-size: 2.2rem; }
    .glass-hero p { font-size: 1rem; }
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
    .tech-item { padding: 1rem; }
    .tech-item .tech-icon { font-size: 2rem; }
    .contact-form { padding: 1.5rem; }
    .contact-info { padding: 1.5rem; }
    .values-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 2rem 1rem; }
    .testimonial-card::before { font-size: 3rem; left: 1rem; }
    .tech-icons span { padding: 0.5rem 1rem; font-size: 0.75rem; min-width: 60px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .related-services { grid-template-columns: 1fr 1fr; }
    .cta-newsletter .glass { padding: 2rem; }
    .cta-newsletter h2 { font-size: 1.8rem; }
    .newsletter-form { flex-direction: column; align-items: center; }
    .newsletter-form input[type="email"] { min-width: 100%; width: 100%; }
    .newsletter-form .btn { width: 100%; justify-content: center; }
    .site-logo { height: 35px; max-width: 150px; }
    .site-logo-footer { height: 35px; max-width: 150px; }
    .image-placeholder-ai,
    .image-placeholder-cloud,
    .image-placeholder-data,
    .image-placeholder-digital,
    .image-placeholder-security { padding: 2rem 1rem; min-height: 200px; }
    .image-placeholder-ai .icon,
    .image-placeholder-cloud .icon,
    .image-placeholder-data .icon,
    .image-placeholder-digital .icon,
    .image-placeholder-security .icon { font-size: 3rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-actions { flex-direction: column; }
    .section-header h2 { font-size: 1.5rem; }
    .intro-stats { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
    .tech-item { padding: 0.75rem; }
    .tech-item .tech-icon { font-size: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .logo { font-size: 1rem; }
    .logo-icon { font-size: 1.3rem; }
    .site-logo { height: 30px; max-width: 120px; }
    .site-logo-footer { height: 30px; max-width: 120px; }
    .glass-hero h1 { font-size: 1.8rem; }
    .related-services { grid-template-columns: 1fr; }
}

/* ========================================================
   SPACING UTILITIES - Additional
   ======================================================== */

.mt-3 { margin-top: 3rem !important; }
.mt-4 { margin-top: 4rem !important; }
.mt-5 { margin-top: 5rem !important; }

/* Services section spacing */
.services-section .services-grid {
    margin-bottom: 0;
}

.services-section .view-all-btn {
    margin-top: 3rem;
    display: block;
    text-align: center;
}

/* ========================================================
   LEGAL PAGES STYLES
   ======================================================== */

/* Legal Navigation */
.legal-nav-section {
    padding: 2rem 0 1rem !important;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--borders);
    align-items: center;
}

.legal-nav a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.legal-nav a:hover {
    color: var(--text);
    background: rgba(108, 60, 225, 0.08);
}

.legal-nav a.active {
    color: var(--text);
    background: rgba(108, 60, 225, 0.12);
}

/* Legal Content */
.legal-content-section {
    padding-top: 1rem !important;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content .legal-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--borders);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.4rem;
}

.legal-content .last-updated {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--borders);
}

/* Legal Related Links */
.legal-related-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--borders);
}

.legal-related-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ========================================================
   SITEMAP STYLES
   ======================================================== */

.sitemap-section {
    padding-top: 1rem !important;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.sitemap-column h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
}

.sitemap-column ul li {
    margin-bottom: 0.6rem;
}

.sitemap-column ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.sitemap-column ul li a:hover {
    color: var(--text);
    transform: translateX(5px);
}

.sitemap-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--borders);
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ========================================================
   RESPONSIVE LEGAL PAGES
   ======================================================== */

@media (max-width: 768px) {
    .legal-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-content p,
    .legal-content ul {
        font-size: 0.95rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .sitemap-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .legal-btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* ========================================================
   HERO IMAGE STYLES - Option 1
   ======================================================== */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease;
    min-height: 400px;
}

.hero-visual .tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(108, 60, 225, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 60, 225, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    border-radius: var(--radius);
    animation: gridPulse 8s ease-in-out infinite;
    z-index: 1;
}

.hero-visual .orb {
    position: absolute;
    width: 80%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--secondary-light), var(--secondary), var(--accent));
    opacity: 1;
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
    z-index: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
    width: 150%;
    max-width: 200%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: none;
    animation: fadeIn 1.8s ease;
}

/* Floating Badge */
.hero-image-badge {
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 3;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow);
    animation: floatBadge 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-image-badge .badge-icon {
    font-size: 1.5rem;
}

.hero-image-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.hero-image-badge .badge-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Hero Image Responsive */
@media (max-width: 1024px) {
    .hero-image {
        width: 60%;
        max-width: 400px;
    }
    
    .hero-visual .orb {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        width: 80%;
        max-width: 350px;
    }
    
    .hero-visual .orb {
        width: 250px;
        height: 250px;
    }
    
    .hero-image-badge {
        bottom: 5%;
        right: 10%;
        padding: 0.5rem 1rem;
    }
    
    .hero-image-badge .badge-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 90%;
        max-width: 300px;
    }
    
    .hero-visual .orb {
        width: 200px;
        height: 200px;
    }
    
    .hero-image-badge {
        bottom: 2%;
        right: 5%;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-image-badge .badge-text {
        font-size: 0.7rem;
    }
    
    .hero-image-badge .badge-sub {
        font-size: 0.6rem;
    }
}


/* ========================================================
   NAVIGATION CONTACT BUTTON - WHITE TEXT
   ======================================================== */

.nav-desktop .btn-primary,
.mobile-menu .btn-primary {
    color: #FFFFFF !important;
}

.nav-desktop .btn-primary:hover,
.mobile-menu .btn-primary:hover {
    color: #FFFFFF !important;
}

/* Also ensure any btn in nav has white text */
.header .btn,
.header .btn-primary,
.header .btn-outline {
    color: #FFFFFF !important;
}

.header .btn:hover,
.header .btn-primary:hover {
    color: #FFFFFF !important;
}