/* ==========================================================================
   Premium Dark Edition Styles - MNC Level Landing Page
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --bg-dark: #07090f;
    --bg-card: rgba(20, 24, 38, 0.6);
    --bg-card-hover: rgba(30, 36, 56, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a8ba;
    
    /* Brand Colors */
    --accent-blue: #047cff;
    --accent-light: #4ea2ff;
    --accent-cyan: #00BCD4;
    --glow-color: rgba(4, 124, 255, 0.5);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--glow-color);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utilities & Reusable Classes --- */
.accent-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(4, 124, 255, 0.1);
    border: 1px solid rgba(4, 124, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Buttons */
.btn-primary, .btn-primary-sm, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-blue), #0056b3);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 124, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 124, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-light), var(--accent-blue));
}

.btn-primary-sm {
    padding: 0.6rem 1.5rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    background: var(--accent-light);
    box-shadow: 0 4px 15px rgba(4, 124, 255, 0.4);
}

.btn-outline {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* --- Layout & Sections --- */
section {
    padding: 6rem 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Ambient Background Effects --- */
.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: rgba(4, 124, 255, 0.3);
    top: -100px;
    left: -100px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 188, 212, 0.2);
    top: 20%;
    right: -200px;
    animation-delay: -5s;
}

.sphere-3 {
    width: 600px;
    height: 600px;
    background: rgba(4, 124, 255, 0.2);
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* --- Header / Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    z-index: 1000;
    background: rgba(7, 9, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease, background 0.3s ease;
}

.glass-nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(7, 9, 15, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary-sm) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn-primary-sm):hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary-sm):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.main-visual-card {
    padding: 1rem;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.main-visual-card:hover {
    transform: rotateY(0) rotateX(0);
}

.main-visual-card img {
    border-radius: var(--border-radius-md);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: float-y 4s ease-in-out infinite;
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
}

.text-warning { color: #ffc107; }

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(4, 124, 255, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(4, 124, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(4, 124, 255, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 12px;
}

.card-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Ensure icons are visible in dark mode */
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-light);
}

.card-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-visual {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    transition: transform 0.5s ease;
}

.about-visual:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--accent-blue);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(4, 124, 255, 0.4);
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.05rem;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 4rem 5%;
}

.cta-content {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(4, 124, 255, 0.2);
}

.premium-gradient-bg {
    background: linear-gradient(135deg, rgba(20, 24, 38, 0.8), rgba(4, 124, 255, 0.1));
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

/* --- Footer --- */
.footer {
    background: #040609;
    padding: 6rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.brand-col p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col ul li a {
    color: var(--text-secondary);
}

.links-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.contact-info li i {
    color: var(--accent-blue);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin-inline: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .experience-badge {
        left: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section { padding: 4rem 5%; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        clip-path: circle(0 at top right);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at top right);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}
