/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-color: #020617;
    --bg-secondary: #0f172a;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Social Colors */
    --yt: #ff0000;
    --ig: #e1306c;
    --fb: #1877f2;
    --tk: #00f2fe;
    --tg: #0088cc;
    --sp: #1db954;
    --wa: #25D366;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

/* Typography & Gradients */
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.w-100 { width: 100%; }

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.8) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

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

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

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.2);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.2);
    bottom: 100px;
    right: -50px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.yt-color { color: var(--yt); }
.ig-color { color: var(--ig); }
.fb-color { color: var(--fb); }
.tk-color { color: var(--tk); }
.tg-color { color: var(--tg); }
.sp-color { color: var(--sp); }

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.btn-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

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

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

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.features-list i {
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    padding: 30px 20px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    display: inline-block;
}

.stat-box span {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.price-card {
    padding: 40px 30px;
    position: relative;
    text-align: center;
}

.price-card.popular {
    transform: scale(1.05);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.price span:first-child {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    text-align: left;
    margin-bottom: 30px;
}

.price-card li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.price-card li i {
    color: var(--primary);
    margin-right: 10px;
}

.price-card li.disabled {
    opacity: 0.4;
}

.price-card li.disabled i {
    color: #ef4444;
}

/* ==========================================================================
   Testimonials & FAQ
   ========================================================================== */
.testimonial-slider {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slide {
    display: none;
    padding: 40px;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.slide p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--secondary);
}

.slider-dots {
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    background: var(--glass-border);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

/* ==========================================================================
   Contact Forms
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card, .map-placeholder {
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-whatsapp { background: var(--wa); color: white; flex: 1; }
.btn-telegram { background: var(--tg); color: white; flex: 1; }

.contact-form {
    padding: 40px;
}

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

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

select option {
    background: var(--bg-secondary);
}

/* ==========================================================================
   Footer & Utilities
   ========================================================================== */
footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin: 0 5px;
    transition: var(--transition);
}

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

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    transition: bottom 0.5s ease;
    width: 90%;
    max-width: 600px;
}

.cookie-consent.show {
    bottom: 30px;
}

.cookie-consent a {
    color: var(--primary);
    text-decoration: underline;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-container, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .price-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        transition: 0.3s;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { left: 0; }
    .hero h1 { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .contact-buttons { flex-direction: column; }
    .cookie-consent { flex-direction: column; text-align: center; }
}