/* Axcendy Inspired Styles */
:root {
    --primary-color: #BF1922;
    --primary-dark: #92131a;
    --primary-light: #e32832;
    --dark-color: #111111;
    --gray-color: #2a2a2a;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --border-color: #E5E7EB;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --gradient-primary: linear-gradient(135deg, #BF1922 0%, #e32832 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--dark-color);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark-color); margin-bottom: 1rem; line-height: 1.2; }
p { color: #555; margin-bottom: 1.5rem; }
a { color: var(--primary-color); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--primary-dark); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.section { padding: 80px 0; }
.section-alt { background-color: var(--light-gray); }

/* Header */
.header {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 24px; font-weight: 800; color: #111827; letter-spacing: -0.5px; z-index: 1001; }
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 1.25rem; color: #111827; cursor: pointer; z-index: 1001; padding: 4px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link { color: #6b7280; font-weight: 500; font-size: 0.85rem; letter-spacing: 0.3px; transition: color 0.2s; text-decoration: none; }
.nav-link:hover { color: #111827; }

/* Dropdown / Mega Menu */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: #ffffff; border: 1px solid #e5e7eb;
    border-radius: 6px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    min-width: 280px; padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.2s ease; z-index: 1000;
}
.mega-menu {
    min-width: 580px;
    padding: 20px;
    left: 50%;
    transform: translate(-50%, 10px);
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; 
}
.dropdown:hover .mega-menu {
    transform: translate(-50%, 0);
}
.dropdown-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 12px;
    color: #4b5563; text-decoration: none; transition: background 0.2s, color 0.2s;
    border-radius: 6px;
}
.dropdown-item i {
    font-size: 1.1rem; color: var(--primary-color); margin-top: 2px;
}
.dropdown-item strong {
    display: block; font-size: 0.9rem; color: #111827; font-weight: 600; margin-bottom: 2px;
}
.dropdown-item span {
    display: block; font-size: 0.75rem; color: #6b7280; line-height: 1.3;
}
.dropdown-item:hover {
    background: #f9fafb;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-weight: 600; border-radius: 6px;
    text-decoration: none; transition: all 0.2s ease;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--primary-color); color: var(--white);
    box-shadow: none;
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid #ff4d4d;
    box-shadow: none;
    transform: translateY(-1px);
}
.btn-outline { background: transparent; border: 1px solid #d1d5db; color: var(--dark-color); }
.btn-outline:hover { border-color: var(--dark-color); background: var(--light-gray); }

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--dark-color);
    background-image: radial-gradient(circle at 10% 50%, #2a080c 0%, #111111 50%);
    color: var(--white);
    padding: 120px 0;
}
.hero h1 { font-size: 4rem; color: var(--white); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary-color); }
.hero p { font-size: 1.25rem; color: #a1a1aa; max-width: 600px; margin-bottom: 2.5rem; }

/* Stats Bar */
.stats-bar {
    display: flex; background: var(--white); border-bottom: 1px solid var(--border-color);
}
.stat-item {
    flex: 1; padding: 2rem; border-right: 1px solid var(--border-color); text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #666; font-weight: 600; }

/* Services Flat Grid */
.services-grid, .why-grid {
    display: grid; grid-template-columns: repeat(1, 1fr);
    background-color: var(--border-color); border: 1px solid var(--border-color); gap: 1px;
}
@media (min-width: 768px) { .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } .why-grid { grid-template-columns: repeat(4, 1fr); } }

.service-cell, .why-cell {
    background-color: var(--white); padding: 2.5rem 2rem; display: flex; transition: background 0.2s;
}
.service-cell { align-items: flex-start; gap: 1.5rem; }
.service-cell:hover { background-color: #fafafa; }
.service-icon {
    width: 48px; height: 48px; background: var(--primary-color); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem; border-radius: 4px; flex-shrink: 0;
}
.service-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-content p { font-size: 0.95rem; color: #666; margin: 0; }
.service-arrow { margin-left: auto; color: #ccc; align-self: center; transition: 0.2s; }
.service-cell:hover .service-arrow { color: var(--primary-color); transform: translateX(5px); }

/* Why Section */
.why-cell { flex-direction: column; }
.why-number { color: var(--primary-color); font-weight: 800; font-size: 0.9rem; margin-bottom: 1.5rem; }
.why-title { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.why-desc { font-size: 0.95rem; color: #666; line-height: 1.6; margin: 0; }

/* Footer (Axcendy Style) */
.footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--gray-color) 100%);
    color: var(--white); padding: 80px 0 0; position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}
.footer__content { display: grid; grid-template-columns: 2.5fr 1fr 1fr 2.5fr; gap: 40px; margin-bottom: 60px; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.brand__logo img { filter: brightness(0) invert(1); height: 45px; }
.brand__tagline { color: var(--primary-light); font-size: 1.3rem; font-weight: 700; margin-top: 1rem; line-height: 1.3; text-shadow: 0 0 10px rgba(227, 40, 50, 0.2); }
.footer__description { color: rgba(255,255,255,0.8); margin-top: 1rem; font-size: 0.95rem; }
.social__links { display: flex; gap: 12px; margin-top: 20px; }
.social__link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: 0.3s; }
.social__link:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer__title { font-size: 1.1rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer__title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-color); }
.footer__links { list-style: none; }
.footer__links a { color: rgba(255,255,255,0.7); display: block; padding: 6px 0; transition: 0.3s; }
.footer__links a:hover { color: var(--primary-light); padding-left: 5px; }
.contact__item { display: flex; gap: 12px; margin-bottom: 15px; }
.contact__item i { color: var(--primary-light); margin-top: 4px; }
.contact__details strong { display: block; font-size: 0.85rem; color: var(--white); }
.contact__details span, .contact__details a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 30px 0; text-align: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; background: rgba(0,0,0,0.2); }

@media (max-width: 991px) {
    .footer__content { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3rem; }
}
@media (max-width: 767px) {
    .mobile-menu-btn { display: block; }
    .nav-links { 
        position: absolute; top: 100%; left: 0; right: 0; 
        background: #ffffff; flex-direction: column; 
        padding: 20px; gap: 20px; 
        border-bottom: 1px solid #e5e7eb; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: all 0.3s ease; pointer-events: none;
        max-height: 80vh; overflow-y: auto;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
    
    /* Dropdown on Mobile */
    .dropdown-menu {
        position: static; box-shadow: none; border: none; background: transparent; 
        padding: 10px 0 0 15px; margin-top: 5px; opacity: 1; visibility: visible; 
        transform: none !important; min-width: 100%; border-left: 2px solid #e5e7eb; border-radius: 0;
    }
    .mega-menu-grid { grid-template-columns: 1fr; gap: 8px; }
    .dropdown-item { padding: 8px 10px; }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 80px 0; text-align: center; }

/* Premium Tech Utilities */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glow-effect {
    position: relative;
}
.glow-effect::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 150%; height: 150%; background: radial-gradient(circle, rgba(191, 25, 34, 0.08) 0%, transparent 65%);
    z-index: -1; pointer-events: none;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
    .hero p { margin: 0 auto 2rem auto; }
    .stats-bar { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); }
    .footer__content { grid-template-columns: 1fr; gap: 40px; }
}
