/* Base and Variables */
:root {
    --primary: #0a4dcc;
    --primary-light: #3e78ec;
    --primary-dark: #063185;
    --secondary: #00d2ff;
    --dark: #0f172a;
    --darker: #0b1120;
    --light: #f8fafc;
    --white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --gray-200: #e2e8f0;
    --whatsapp: #25d366;
    --gradient-hero: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    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 {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Typography Utilities */
.text-white { color: var(--white); }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }

.bg-gradient-1 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.bg-gradient-2 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
.bg-gradient-3 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); }
.bg-gradient-4 { background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-block {
    width: 100%;
}

/* 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(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled a {
    color: var(--text-main);
}
.navbar.scrolled .logo, .navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo img {
    height: 40px;
    max-width: 150px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-main);
}

.nav-menu a:hover {
    color: var(--secondary);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #c1dbff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(10, 77, 204, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.3) 0%, transparent 40%);
    z-index: 1;
    animation: flowBg 15s ease infinite alternate;
}

@keyframes flowBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Live Activity - Unique Premium Design */
.live-activity {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: linear-gradient(135deg, rgba(16, 24, 39, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 20px 8px 12px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transform: translateX(-150px) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

.live-activity.show-pop {
    animation: bounceInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
}

.live-activity.hide-pop {
    animation: bounceOutLeft 0.6s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
    pointer-events: none;
}

@keyframes bounceInLeft {
    0% { opacity: 0; transform: translateX(-100px) scale(0.9); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes bounceOutLeft {
    0% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(-100px) scale(0.8); }
}

.activity-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0; /* Soft white text */
    letter-spacing: 0.3px;
}

#live-viewers {
    color: var(--secondary); /* High-tech cyan highlight for the number */
    font-weight: 700;
    font-size: 1rem;
}

/* Radar Pulse Dot */
.pulsing-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981; /* Premium Emerald Green */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid #10b981;
    border-radius: 50%;
    animation: radarPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes radarPulse {
    0% { width: 10px; height: 10px; border-width: 2px; opacity: 1; }
    100% { width: 35px; height: 35px; border-width: 0px; opacity: 0; }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-card.premium {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

.pricing-card .features {
    text-align: left;
    margin-bottom: 40px;
}

.pricing-card .features li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card .features i {
    color: var(--whatsapp);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.portfolio-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
    text-align: left;
}

.portfolio-info h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio Categories */
.portfolio-categories {
    margin-top: 60px;
}

.categories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.category-col {
    background: var(--light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.category-col h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-col ul li {
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.category-col ul li i {
    color: var(--whatsapp);
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(10deg);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.review-msg {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--gray-200);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-header .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.review-header .info {
    display: flex;
    flex-direction: column;
}

.review-header .info strong {
    color: var(--dark);
    font-size: 1.1rem;
}

.review-header .info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.message-bubble {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 0 16px 16px 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
}

.message-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: #f1f5f9 transparent transparent transparent;
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    border: none;
}

.contact-card.whatsapp .icon-box {
    background: rgba(255,255,255,0.2);
}

.contact-card.whatsapp h4 { color: var(--white); }
.contact-card.whatsapp p { color: rgba(255,255,255,0.9); }

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-form-side {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-200);
}

.contact-form-side h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.contact-form-side p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(10, 77, 204, 0.1);
}

body.dark-mode .contact-card,
body.dark-mode .contact-form-side {
    background: var(--white);
    border-color: var(--gray-200);
}

body.dark-mode .contact-card h4,
body.dark-mode .contact-form-side h3 {
    color: var(--dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: rgba(15, 23, 42, 0.3);
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #cbd5e1;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}


/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; transition-delay: 0.8s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .pricing-card.premium {
        transform: scale(1);
    }
    .pricing-card.premium:hover {
        transform: translateY(-10px);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px 0;
        box-shadow: var(--shadow-sm);
    }
    
    .navbar .logo {
        color: var(--dark);
    }
    
    .menu-toggle {
        display: block;
        color: var(--dark);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: 0.4s;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        color: var(--dark);
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .live-activity {
        bottom: 25px;
        left: 20px;
        right: auto;
        padding: 6px 16px 6px 10px;
        font-size: 0.8rem;
        background: linear-gradient(135deg, rgba(16, 24, 39, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateX(-150px) scale(0.9);
        opacity: 0;
        pointer-events: none;
    }
    
    .live-activity .viewer-text {
        display: none;
    }
    
    .live-activity .viewer-count::after {
        content: " active";
        font-weight: 500;
        color: #94a3b8; /* subtle grayish text */
    }
}

/* --- PRO LEVEL MULTI-PAGE COMPONENTS --- */
.page-header {
    padding: 160px 0 100px;
    background: #0b1120;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(10, 77, 204, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, rgba(11, 17, 32, 1) 100%);
    overflow: hidden;
}

/* Floating abstract shapes */
.page-header-bg::before, .page-header-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.5;
    animation: floatShape 15s infinite alternate;
}

.page-header-bg::before {
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.page-header-bg::after {
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Breadcrumbs */
.breadcrumb {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--secondary);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #c1dbff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    line-height: 1.6;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}
.nav-btn {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}
.nav-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .nav-btn {
        display: inline-block !important;
        margin-top: 15px;
    }
}
.pro-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
}
.pro-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}
.pro-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-hero);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}
.pro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.pro-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
}
.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--gray-200);
}
.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
}
.hero-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    color: white;
}

/* --- FULL AGENCY FOOTER --- */
.full-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.footer-col p {
    color: var(--gray-400);
    line-height: 1.8;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-500);
}

/* --- MULTI-PLATFORM SOCIAL REVIEWS --- */
.social-reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.social-review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}
.social-review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.avatar-wrap {
    margin-right: 15px;
}
.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--dark);
}
.author-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.platform-icon {
    margin-left: auto;
    font-size: 1.5rem;
    opacity: 0.8;
}
.review-content {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}
/* Platform Specific */
.linkedin-card .platform-icon { color: #0a66c2; }
.instagram-card .platform-icon { background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.email-card .platform-icon { color: #ea4335; }
.email-subject { margin-bottom: 10px; font-size: 0.9rem; color: var(--dark); }

body.dark-mode .social-review-card { background: var(--light); border-color: rgba(255,255,255,0.05); }
body.dark-mode .author-info h4, body.dark-mode .email-subject { color: var(--text-main); }
body.dark-mode .review-content, body.dark-mode .author-info span { color: var(--text-muted); }

/* --- PREMIUM ADDITIONS --- */

/* Scroll Progress */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s;
}

/* Dark Mode Variables and Overrides */
body.dark-mode {
    --white: #0f172a;       /* Slate 900 - Deep Base */
    --light: #1e293b;       /* Slate 800 - Secondary Base */
    --dark: #f8fafc;        /* Slate 50 - High Focus Text */
    --darker: #020617;      /* Slate 950 - Ultra Deep */
    --text-main: #f1f5f9;   /* Slate 100 - Better reading contrast */
    --text-muted: #94a3b8;  /* Slate 400 - Subtle descriptors */
    --gray-200: rgba(255,255,255,0.08); /* Transparent borders for depth */
    background-color: var(--white);
    color: var(--text-main);
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Background Fixes */
body.dark-mode .bg-light,
body.dark-mode .section-padding {
    background-color: var(--white);
}

body.dark-mode .even-section {
    background-color: var(--light);
}

/* Card & Component Optimization */
body.dark-mode .service-card, 
body.dark-mode .pricing-card, 
body.dark-mode .portfolio-item,
body.dark-mode .faq-item,
body.dark-mode .contact-card,
body.dark-mode .contact-form-side,
body.dark-mode .category-col,
body.dark-mode .feature-item { 
    background: var(--light) !important; 
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
}

body.dark-mode .service-card:hover,
body.dark-mode .contact-card:hover { border-color: var(--primary) !important; }

/* Navbar Optimization */
body.dark-mode .navbar.scrolled { 
    background: rgba(15, 23, 42, 0.9) !important; 
}
body.dark-mode .nav-menu a { color: var(--text-main); }
body.dark-mode .nav-menu a:hover { color: var(--primary); }

/* Logo Visibility */
body.dark-mode .logo img {
    filter: brightness(0) invert(1) contrast(1.2);
}

/* Form Styles Override */
body.dark-mode .form-group input, 
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: var(--white-pure) !important;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(255,255,255,0.05) !important;
    border-color: var(--primary) !important;
}

/* Breadcrumb & Section Titles */
body.dark-mode .section-title h2,
body.dark-mode .page-header h1 {
    color: var(--dark);
}

body.dark-mode .hero-glass {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .breadcrumb a { color: var(--text-muted); }
body.dark-mode .breadcrumb span { color: var(--dark); }

/* Message/Review Bubbles */
body.dark-mode .review-msg,
body.dark-mode .message-bubble { 
    background: #1e293b !important; 
    color: var(--text-main) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}
body.dark-mode .message-bubble::before { border-color: #1e293b transparent transparent transparent; }

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    transform: scale(1.2) rotate(15deg);
}

.theme-toggle-btn i {
    transition: transform 0.5s ease;
}

.theme-toggle-btn:active i {
    transform: scale(0.8);
}

/* View Transitions Support */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}
::view-transition-new(root) {
  z-index: 9999;
}

.dark-mode::view-transition-old(root) {
  z-index: 9999;
}
.dark-mode::view-transition-new(root) {
  z-index: 1;
}
.navbar.scrolled .theme-toggle-btn { color: var(--text-main); }
.theme-toggle-btn:hover { color: var(--secondary); transform: scale(1.1); }

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(0,0,0,0.01);
    transition: all 0.4s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-answer { max-height: 300px; }

/* Enhanced Hero Background */
.hero-bg-animated {
    background: 
        radial-gradient(circle at 10% 20%, rgba(10, 77, 204, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(10, 77, 204, 0.2) 0%, transparent 60%);
    filter: blur(80px);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    color: var(--text-main);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    border-left: 5px solid var(--whatsapp);
    animation: slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show { 
    display: flex;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.toast-icon { color: var(--whatsapp); font-size: 1.5rem; }
.toast-message { font-weight: 500; font-size: 0.95rem; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* --- PRO MOBILE OPTIMIZATIONS --- */
@media (max-width: 768px) {
    /* Layout Spacing */
    .container { padding: 0 15px; }
    .section-padding { padding: 50px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .section-title { margin-bottom: 30px; }
    
    /* Hero Adjustments */
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    
    /* Contact Section Optimization */
    .contact-info, .contact-form { padding: 30px 20px; }
    .contact-grid { gap: 0; box-shadow: none; border: 1px solid var(--gray-200); }
    body.dark-mode .contact-grid { border-color: var(--gray-200); }
    
    /* Services & Pricing */
    .pricing-card, .service-card { padding: 30px 20px; }
    
    /* Toast Centering for Mobile */
    .toast {
        right: auto;
        left: 50%;
        bottom: 30px;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        display: none;
    }
    .toast.show {
        display: flex;
    }

    /* Back to Top Position to avoid overlaps */
    .back-to-top {
        bottom: 80px; 
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* FAQ Adjustments */
    .faq-question { font-size: 1rem; padding: 15px; }
    .faq-answer { padding: 0 15px; }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .portfolio-img { height: 200px; }
    .service-icon { font-size: 2.5rem; }
    .pricing-card .price { font-size: 1.8rem; }
    .hero-buttons { gap: 15px; }
    .btn { padding: 12px 20px; font-size: 0.95rem; }
}
