/* === 1. THEME VARIABLES === */
:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --primary: #3b82f6;
    --accent: #06b6d4;
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --border: rgba(59, 130, 246, 0.2);
    --glass: rgba(15, 23, 42, 0.6);
    --font-main: 'Outfit', sans-serif;
}

/* === 2. GLOBAL RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; }

/* === 3. CUSTOM CURSOR === */
#cursor {
    position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--accent); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%); transition: transform 0.1s;
    box-shadow: 0 0 10px var(--accent);
}
#cursor-blur {
    position: fixed; top: 0; left: 0; width: 40px; height: 40px;
    border: 2px solid var(--primary); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%); transition: 0.15s ease-out;
    opacity: 0.5;
}
body.hovering #cursor-blur {
    width: 70px; height: 70px;
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--accent);
    backdrop-filter: blur(2px);
}
body.modal-open, body.modal-open * { cursor: auto !important; }
body.modal-open #cursor, body.modal-open #cursor-blur { display: none; }

/* === 4. NAVIGATION === */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; text-transform: uppercase; }
.logo span { color: var(--accent); text-shadow: 0 0 15px rgba(6, 182, 212, 0.6); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
    color: var(--text-gray); font-weight: 600; font-size: 0.95rem;
    position: relative;
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 1.5rem; color: white; cursor: pointer; }

/* === 5. BUTTONS === */
.btn {
    padding: 0.8rem 2rem; border-radius: 50px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;
    transition: all 0.3s ease; display: inline-flex;
    justify-content: center; align-items: center;
    position: relative; overflow: hidden; z-index: 1; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white; box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.6);
}
.btn-outline {
    background: transparent; color: white;
    border: 2px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    background: rgba(6, 182, 212, 0.05);
}

/* === 6. SECTION SHARED STYLES === */
.section-header { text-align: center; margin-bottom: 3rem; padding-top: 5rem; }
.section-tag {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section-header h2 { font-size: 3rem; font-weight: 800; color: white; margin-bottom: 0.8rem; }
.subtitle { color: var(--text-gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === 7. HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    background: radial-gradient(ellipse at top, #1e3a5f 0%, var(--bg-dark) 60%);
    padding: 8rem 1rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    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='%233b82f6' fill-opacity='0.03'%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");
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: var(--accent);
    padding: 0.5rem 1.5rem; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(6,182,212,0.2); }
    50% { box-shadow: 0 0 20px rgba(6,182,212,0.5); }
}
.hero h1 {
    font-size: 4.8rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.highlight {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero > p { color: var(--text-gray); max-width: 650px; margin-bottom: 3rem; font-size: 1.2rem; }
.hero-btns { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 4rem; }

/* HERO STATS */
.hero-stats {
    display: flex; align-items: center; gap: 2rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem 3rem;
    backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-number {
    display: block; font-size: 2rem; font-weight: 800;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 0.8rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

/* === 8. PORTFOLIO / WORK SECTION === */
.filter-container { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; padding: 0 1rem; }
.filter-btn {
    padding: 0.7rem 2rem;
    background: rgba(30, 41, 59, 0.5); backdrop-filter: blur(5px);
    border: 1px solid var(--border); color: var(--text-gray); border-radius: 50px;
    font-weight: 600; transition: 0.3s; text-transform: uppercase;
    font-size: 0.8rem; letter-spacing: 0.5px;
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent); color: white;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}
.work-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; padding: 0 5%; margin-bottom: 4rem;
}

/* THUMBNAIL CARD */
.work-card {
    background: var(--bg-card); border-radius: 16px;
    position: relative; z-index: 1; padding: 2px;
    transition: transform 0.3s; overflow: hidden;
}
.work-card::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--accent));
    transform: translate(-50%, -50%) rotate(0deg); z-index: -2;
    opacity: 0; transition: opacity 0.3s;
}
.work-card::after {
    content: ''; position: absolute; inset: 2px;
    background: var(--bg-card); border-radius: 14px; z-index: -1;
}
.work-card:hover { transform: translateY(-5px); }
.work-card:hover::before { opacity: 1; animation: spin 1.5s linear infinite; }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.card-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.card-image {
    position: relative; aspect-ratio: 16/9;
    overflow: hidden; border-radius: 12px 12px 0 0;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-card:hover .card-image img { transform: scale(1.08); }

.view-overlay {
    position: absolute; inset: 0; background: rgba(2, 6, 23, 0.7);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s; backdrop-filter: blur(2px);
}
.work-card:hover .view-overlay { opacity: 1; }
.view-text {
    color: var(--accent); font-weight: 700; border: 2px solid var(--accent);
    padding: 8px 20px; border-radius: 50px; text-transform: uppercase; font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}
.card-info { padding: 1.5rem; }
.card-title { font-size: 1.1rem; margin-bottom: 0.8rem; color: white; font-weight: 600; }
.card-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-gray); }
.tag { color: var(--primary); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }

/* === 9. PRICING SECTION === */
.pricing-section { padding: 2rem 5% 5rem; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; max-width: 1100px; margin: 0 auto 2rem;
    align-items: start;
}
.pricing-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
}
.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(6, 182, 212, 0.06);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    transform: scale(1.03);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3);
}
.popular-label {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white; font-size: 0.7rem; font-weight: 800;
    padding: 0.3rem 0.8rem; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 1px;
}
.plan-badge {
    font-size: 0.85rem; font-weight: 700; color: var(--accent);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem;
}
.plan-price { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 1rem; }
.currency { font-size: 1.5rem; color: var(--text-gray); font-weight: 600; }
.amount { font-size: 4rem; font-weight: 800; color: white; line-height: 1; }
.period { font-size: 0.9rem; color: var(--text-gray); margin-left: 0.3rem; }
.plan-desc { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.plan-features { margin-bottom: 2.5rem; }
.plan-features li {
    display: flex; align-items: center; gap: 0.8rem;
    font-size: 0.95rem; color: var(--text-white); padding: 0.5rem 0;
}
.plan-features li i { color: var(--accent); font-size: 0.85rem; width: 16px; text-align: center; }
.plan-features li.disabled { color: var(--text-gray); opacity: 0.5; }
.plan-features li.disabled i { color: var(--text-gray); }
.plan-btn { width: 100%; }
.pricing-note {
    text-align: center; color: var(--text-gray); font-size: 0.95rem;
    max-width: 500px; margin: 0 auto;
}
.pricing-note a { color: var(--accent); border-bottom: 1px solid rgba(6, 182, 212, 0.4); }
.pricing-note a:hover { color: white; }

/* === 10. CONTACT SECTION === */
.contact-section {
    padding: 2rem 5% 5rem;
    max-width: 900px;
    margin: 0 auto;
}
.contact-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
    display: flex; align-items: center; gap: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
}
.contact-card:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
}
.contact-icon {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.6rem; flex-shrink: 0;
}
.whatsapp-icon { background: rgba(37, 211, 102, 0.15); color: #25d366; border: 1px solid rgba(37, 211, 102, 0.3); }
.insta-icon { background: rgba(225, 48, 108, 0.12); color: #e1306c; border: 1px solid rgba(225, 48, 108, 0.3); }
.linkedin-icon { background: rgba(10, 102, 194, 0.15); color: #0a66c2; border: 1px solid rgba(10, 102, 194, 0.3); }
.contact-info { flex: 1; }
.contact-info h4 { font-size: 1.1rem; font-weight: 700; color: white; }
.contact-info p { font-size: 0.9rem; color: var(--text-gray); }
.contact-arrow { color: var(--text-gray); transition: 0.3s; font-size: 1rem; }
.contact-card:hover .contact-arrow { color: var(--accent); transform: translateX(5px); }

/* === 11. FOOTER === */
footer {
    background: #000; position: relative;
    padding-top: 4rem; margin-top: 4rem;
    border-top: 1px solid var(--border);
}
footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px var(--accent);
}
.footer-content {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
    padding: 0 5% 4rem; max-width: 1400px; margin: 0 auto;
}
.footer-brand h3 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: white; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { color: var(--text-gray); font-size: 1rem; max-width: 350px; margin-bottom: 1.5rem; }
.footer-links h4 { font-size: 1.2rem; color: white; margin-bottom: 1.5rem; font-weight: 600; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-gray); transition: 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.social-icons-footer { display: flex; gap: 1rem; }
.social-btn {
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; justify-content: center; align-items: center;
    color: white; font-size: 1.2rem; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover {
    background: var(--primary); border-color: var(--primary);
    transform: translateY(-5px); box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.copyright {
    text-align: center; padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555; font-size: 0.9rem;
}

/* === 12. LIGHTBOX === */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.98); z-index: 10000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; animation: fadeIn 0.3s; }
.lightbox img {
    max-width: 90%; max-height: 80%;
    border: 2px solid var(--border);
    box-shadow: 0 0 50px rgba(6, 182, 212, 0.3);
    border-radius: 8px;
}
.lightbox-close {
    position: absolute; top: 30px; right: 30px;
    color: white; font-size: 2.5rem;
    transition: 0.3s;
}
.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* === 13. RESPONSIVENESS === */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.5rem; }
    .hero-stats { flex-wrap: wrap; justify-content: center; padding: 1.5rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 70px; left: 0; width: 100%;
        background: var(--bg-dark); flex-direction: column;
        padding: 2rem; border-bottom: 1px solid var(--border);
        display: none;
    }
    .nav-links.active { display: flex; }
    .hero h1 { font-size: 2.8rem; }
    .work-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-brand p { margin: 0 auto 1.5rem; }
    .social-icons-footer { justify-content: center; }
    .section-header h2 { font-size: 2.2rem; }
    .hero-stats { gap: 1rem; padding: 1.2rem; }
    .stat-divider { width: 50px; height: 1px; }
}