/* =========================================
   VARIABLES & DESIGN SYSTEM
========================================= */
:root {
    /* Colors */
    --primary: #FF00E5; /* Magenta */
    --secondary: #00FFFF; /* Cyan */
    --bg-dark: #020259; /* Deep Blue */
    --bg-darker: #010133;
    --text-main: #FFFFFF;
    --text-muted: #A0A0C0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* =========================================
   RESET & BASE STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.highlight {
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 229, 0.4);
}

.btn-primary:hover {
    background-color: #d100bb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 229, 0.6);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(2, 2, 89, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

.brand {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--secondary);
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--secondary);
}

.btn-contact {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-contact:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Dropdown */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(1, 1, 51, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
}

.dropdown li a:hover {
    background: var(--glass-bg);
    color: var(--secondary);
    padding-left: 25px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 2, 89, 0.9) 0%, rgba(2, 2, 89, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,0,229,0.2) 0%, rgba(0,255,255,0.2) 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

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

.glass-card i {
    font-size: 60px;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
}

.about-text .section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary);
    background: rgba(255,0,229,0.1);
    padding: 5px;
    border-radius: 50%;
}

/* =========================================
   STATS SECTION
========================================= */
.stats {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 40px 20px;
}

.stat-number {
    font-size: 60px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number span {
    color: var(--primary);
}

.stat-label {
    font-size: 20px;
    margin-bottom: 15px;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   SOLUTIONS SECTION
========================================= */
.section-header {
    margin-bottom: 60px;
}

.subtitle {
    color: var(--secondary);
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
}

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

.solution-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.solution-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.solution-card:hover .card-bg {
    opacity: 1;
}

.card-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 120px;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    z-index: -1;
    transition: var(--transition);
}

.solution-card:hover .card-number {
    color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: var(--transition);
}

.solution-card:hover .card-content p {
    color: #fff;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
}

.solution-card:hover .card-link {
    color: #fff;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-col p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   MODAL
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    transform: translateY(50px);
    transition: var(--transition);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-group label span {
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1);
}

.error-msg {
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.w-100 {
    width: 100%;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .about-container { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr; gap: 20px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-menu.active { left: 0; }
    .nav-item { width: 100%; text-align: center; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; display: none; }
    .nav-item:hover .dropdown { display: block; }
    .hero-title { font-size: 36px; }
    .footer-container { grid-template-columns: 1fr; }
}
