/* ===== GLOBAL & VARIABLES ===== */
:root {
    --primary: #6D28D9;
    --secondary: #A855F7;
    --accent: #06B6D4;
    --dark: #0F0720;
    --light: #FAF5FF;
    --glass: rgba(250, 245, 255, 0.05);
    --glass-border: rgba(250, 245, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 600; }
a { text-decoration: none; color: var(--light); }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.6);
}
.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--dark); }

section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { color: rgba(250, 245, 255, 0.7); }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== NAVBAR ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
    padding: 20px 0;
}
header.scrolled {
    background: rgba(15, 7, 32, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; }
.logo i { color: var(--accent); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 400; transition: 0.3s; }
.nav-links a:hover { color: var(--secondary); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO SECTION ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(109, 40, 217, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
}
.hero-content { max-width: 800px; margin-top: 60px; }
.hero-sub { display: inline-block; padding: 8px 20px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 50px; font-size: 0.9rem; margin-bottom: 20px; color: var(--accent); }
.hero-content h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; color: rgba(250, 245, 255, 0.8); margin-bottom: 30px; }

/* Floating shapes animation */
.shape { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.shape-1 { width: 300px; height: 300px; background: var(--primary); top: 20%; right: 10%; animation: float 6s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; background: var(--accent); bottom: 10%; left: 5%; animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { height: 400px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 20px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.about-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.vm-item { background: var(--glass); border: 1px solid var(--glass-border); padding: 20px; border-radius: 15px; transition: 0.3s; }
.vm-item:hover { transform: translateY(-5px); border-color: var(--accent); }
.vm-item h4 { color: var(--secondary); margin-bottom: 10px; }

/* ===== STATS SECTION ===== */
.stats-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { padding: 30px; background: var(--glass); border-radius: 15px; border: 1px solid var(--glass-border); }
.stat-item h2 { font-size: 3rem; color: var(--accent); margin-bottom: 10px; }
.stat-item p { color: rgba(250, 245, 255, 0.7); }

/* ===== FEATURES & SERVICES ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.card:hover { transform: translateY(-10px); background: rgba(250, 245, 255, 0.08); }
.card:hover::before { transform: scaleX(1); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; color: var(--light); }
.card p { color: rgba(250, 245, 255, 0.7); font-size: 0.95rem; }

/* ===== WORK PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-step { text-align: center; position: relative; }
.step-num { width: 60px; height: 60px; background: var(--dark); border: 2px solid var(--primary); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; position: relative; z-index: 2; transition: 0.3s; }
.process-step:hover .step-num { background: var(--primary); color: var(--light); transform: scale(1.1); }
.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: rgba(250, 245, 255, 0.7); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: rgba(250, 245, 255, 0.8); }
.form-control {
    width: 100%;
    padding: 12px 20px;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--light);
    transition: 0.3s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2); }

/* ===== FAQ ===== */
.faq-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.faq-header { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.faq-header i { transition: 0.3s; }
.faq-item.active .faq-header i { transform: rotate(180deg); color: var(--accent); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 20px; }
.faq-item.active .faq-content { max-height: 300px; padding: 0 20px 20px; color: rgba(250, 245, 255, 0.7); }

/* ===== REVIEWS ===== */
.review-card { text-align: center; }
.review-stars { color: #FFD700; margin-bottom: 15px; }
.review-text { font-style: italic; margin-bottom: 20px; color: rgba(250, 245, 255, 0.9); }
.review-author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.review-author img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent); }
.review-author h5 { font-size: 1rem; }
.review-author span { font-size: 0.8rem; color: rgba(250, 245, 255, 0.5); }

/* ===== CONTACT & FOOTER ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.contact-info-item i { font-size: 1.5rem; color: var(--accent); width: 50px; height: 50px; background: var(--glass); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

footer { background: #0a0414; padding: 60px 0 20px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 20px; color: var(--light); }
.footer-col p, .footer-col a { color: rgba(250, 245, 255, 0.6); margin-bottom: 10px; display: block; transition: 0.3s; }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--glass-border); color: rgba(250, 245, 255, 0.5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 70px; right: 20px; background: rgba(15, 7, 32, 0.95); padding: 20px; border-radius: 10px; border: 1px solid var(--glass-border); width: 200px; }
    .hero-content h1 { font-size: 2.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-container, .grid-3, .process-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .vm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .stats-container, .grid-3, .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
}