:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px -4px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

/* ===== NAVBAR ===== */
#mainNav {
    height: 15%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0.7rem 0;
    transition: var(--transition);
    z-index: 1030;
}

#mainNav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark) !important;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gradient-1);
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
}

.brand-text { color: var(--dark); }
.brand-accent { color: var(--primary); }

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--gray) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

.nav-cta {
    border-radius: 50px;
    padding: 0.5rem 1.4rem !important;
    font-weight: 600;
    background: var(--gradient-1);
    border: none;
    color: white !important;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.nav-spacer { height: 72px; }

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--gradient-1);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 6rem 0 7rem;
    background: var(--gradient-2);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.8);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin-bottom: 2rem;
}

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

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2rem;
}

.hero-card .card-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-card h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.hero-card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--gray);
    font-size: 1rem;
}

/* ===== SERVICES ===== */
.services-section { padding: 5rem 0; background: var(--gray-light); }

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.2rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon { transform: scale(1.08); }

.icon-web { background: rgba(99, 102, 241, 0.08); color: var(--primary); }
.icon-seo { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.icon-app { background: rgba(245, 158, 11, 0.08); color: var(--secondary); }

.service-card h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 1.2rem; line-height: 1.6; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-link:hover { gap: 0.8rem; }

/* ===== FEATURES ===== */
.features-section { padding: 5rem 0; }

.feature-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-item:hover { background: var(--gray-light); }

.feature-icon {
    min-width: 45px;
    height: 45px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.feature-item h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.3rem; }
.feature-item p { color: var(--gray); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ===== CTA ===== */
.cta-section {
    padding: 4.5rem 0;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content { position: relative; z-index: 2; }

/* ===== ABOUT PAGE ===== */
.about-hero {
    padding: 4rem 0 5rem;
    background: var(--gradient-2);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--gray); font-size: 0.88rem; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 4rem 0; }

.contact-info-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
    transition: var(--transition);
}

.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.contact-info-card h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-info-card p { color: var(--gray); font-size: 0.88rem; margin: 0; line-height: 1.6; }

.contact-form {
    background: white;
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-control, .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.7rem 1.1rem;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.form-label { font-weight: 600; font-size: 0.85rem; color: var(--dark); margin-bottom: 0.4rem; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: white; }
.footer-top { padding: 4rem 0 2.5rem; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: white !important;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 300px;
    line-height: 1.7;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.88rem;
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
}
.footer-contact li i { color: var(--primary-light); margin-top: 3px; font-size: 0.9rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.2rem 0;
}

.copyright { color: rgba(255,255,255,0.4); margin: 0; font-size: 0.85rem; }

.footer-bottom-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.2rem; justify-content: flex-end; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    font-size: 0.9rem;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); color: white; }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero { padding: 4rem 0 5rem; }
    .nav-spacer { height: 68px; }
    .footer-bottom-links { justify-content: center; margin-top: 0.8rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .footer-top { padding: 3rem 0 2rem; }
}
