/* UmbraLabs Modern Light Theme with Tech Hero */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-muted: #f3f4f6;
    --border: #e5e7eb;
    --shadow: 0 12px 40px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-soft: #ede9fe;
    --gradient: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    --hero-bg: #0f0f1a;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(17, 24, 39, 0.1);
    padding: 18px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show { transform: translateY(0); }

.cookie-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1;
    color: var(--text-secondary);
    font-size: 15px;
}

.cookie-buttons { display: flex; gap: 10px; }

.btn-accept, .btn-decline {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: 'Rajdhani', sans-serif;
}

.btn-accept {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.25);
}

.btn-accept:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(124, 58, 237, 0.35); }

.btn-decline {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--text-secondary);
}

.btn-decline:hover { color: var(--text-primary); border-color: var(--text-secondary); }

/* Header - Glass morphism on dark hero */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    padding: 16px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo h1 { color: var(--text-primary); }
header.scrolled nav a { color: var(--text-secondary); }
header.scrolled nav a:hover, header.scrolled nav a.active { color: var(--accent); }

header .container { display: flex; justify-content: space-between; align-items: center; }

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    letter-spacing: 2px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.logo span { color: var(--accent-light); }

/* Cross-styled L - SVG based Roman cross */
.cross-l-svg {
    display: inline-block;
    width: 0.58em;
    height: 1em;
    vertical-align: text-bottom;
    margin-left: 0.02em;
    margin-right: 0.02em;
    overflow: visible;
}

nav ul { list-style: none; display: flex; gap: 28px; }

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--accent-light);
    transition: width 0.2s ease;
}

nav a:hover, nav a.active { color: #ffffff; }
nav a:hover::after, nav a.active::after { width: 100%; }

/* ===== HERO WITH ANIMATED TECH BACKGROUND ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.3), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(139, 92, 246, 0.1), transparent);
}

/* Animated grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Floating particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 12s ease-in-out infinite;
}

.particles::before {
    background: rgba(124, 58, 237, 0.25);
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.particles::after {
    background: rgba(59, 130, 246, 0.2);
    bottom: -100px;
    right: 10%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Scan line effect */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(124, 58, 237, 0.03) 2px,
        rgba(124, 58, 237, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Gradient fade to white sections */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-muted));
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(124, 58, 237, 0.5);
    margin-bottom: 20px;
}

/* Glitch effect on hover */
.hero h2.glitch {
    position: relative;
}

.hero h2.glitch:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

.subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0 40px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.6px;
    transition: all 0.25s ease;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ===== SECTIONS - MODERN CARDS ===== */
section { padding: 100px 0; }

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 38px;
    text-align: center;
    margin-bottom: 56px;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Services - Glassmorphism cards */
.services { background: var(--bg-muted); }

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Solutions - Modern numbered cards */
.solutions { background: var(--bg-page); }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.solution-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.solution-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.3);
}

.solution-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    opacity: 0.8;
}

.solution-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.solution-item p { color: var(--text-secondary); font-size: 15px; }

/* About Section */
.about {
    background: var(--bg-muted);
    position: relative;
}

.about-content { display: flex; justify-content: center; }

.about-text { max-width: 760px; text-align: center; }

.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 17px; }

.stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 32px;
    min-width: 160px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { color: var(--text-secondary); font-weight: 600; margin-top: 4px; }

/* Contact Section */
.contact { background: var(--bg-page); }

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item h4 { margin-bottom: 4px; color: var(--text-primary); font-size: 16px; }

.contact-item p, .contact-item a { color: var(--text-secondary); text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

/* Footer - Dark section */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin-bottom: 16px;
    font-size: 20px;
}

.footer-section h3 span { color: var(--accent-light); }

.footer-section h4 {
    color: #fff;
    margin-bottom: 12px;
}

.footer-section p { color: #94a3b8; }

.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 8px; }

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-section a:hover { color: var(--accent-light); }

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

/* Utilities */
.glitch { text-transform: uppercase; letter-spacing: 2px; }

/* Responsive */
@media (max-width: 768px) {
    nav ul { gap: 16px; }
    header { padding: 12px 0; }
    section { padding: 70px 0; }
    .hero { padding-top: 100px; min-height: 90vh; }
    .hero h2 { font-size: 32px; }
    .cookie-content { flex-direction: column; align-items: flex-start; }
    .stats { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: 1fr; }
}
