html, body {
    overflow-x: hidden;
}

/* Custom Properties */
:root {
    --primary-color: #007AFF;
    --primary-dark: #0066CC;
    --secondary-color: #3B82F6;
    --dark-bg: #020617;
    --light-bg: #F8FAFC;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1f2937;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #1e3a8a 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-badge {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    color: #bfdbfe;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.step-1 { background-color: var(--primary-color); }
.step-2 { background-color: #a855f7; }
.step-3 { background-color: #10b981; }

.trust-box {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.25rem;
}

/* Service Cards */
.service-card {
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
    border-color: #93c5fd;
}

.service-card.purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 100%);
    border-color: #d8b4fe;
}

.service-card.red {
    background: linear-gradient(135deg, #fee2e2 0%, #ffffff 100%);
    border-color: #fca5a5;
}

.service-card.green {
    background: linear-gradient(135deg, #dcfce7 0%, #ffffff 100%);
    border-color: #86efac;
}

/* Domain Cards */
.domain-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.domain-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.1);
    transform: translateY(-5px);
}

/* Product Cards */
.product-card {
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card.dark {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 2px solid #374151;
    color: white;
}

.product-card.dark:hover {
    border-color: #10b981;
}

.product-card.light {
    background: white;
    border: 2px solid #e5e7eb;
}

.product-card.light:hover {
    border-color: var(--primary-color);
}

.product-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 256px;
    height: 256px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    pointer-events: none;
}

.product-glow.green { background-color: #10b981; }
.product-glow.blue { background-color: var(--primary-color); }

.terminal-text {
    font-family: 'JetBrains Mono', monospace;
    color: #10b981;
    font-size: 0.75rem;
}

.metric-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    font-weight: 600;
    padding: 12px 32px;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 122, 255, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 122, 255, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light-gray {
    background-color: #f9fafb;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Remove Emergent Badge */
a[href*="emergent"],
div[class*="emergent"],
button[class*="emergent"] {
    display: none !important;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toast.success {
    background-color: #10b981;
    color: white;
}

.toast.error {
    background-color: #ef4444;
    color: white;
}



/* =========================
   TYPOGRAPHY IMPROVEMENTS
========================= */
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

p {
    line-height: 1.6;
}

/* =========================
   SECTION HEADINGS
========================= */
.section-padding h2 {
    letter-spacing: -0.5px;
}

.section-padding .text-muted {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   TESTIMONIAL CARDS
========================= */
.bg-light.p-4.rounded.border {
    transition: all 0.3s ease;
    background: white !important;
}

.bg-light.p-4.rounded.border:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* =========================
   CONTACT FORM IMPROVEMENTS
========================= */
#contact .form-control,
#contact .form-select {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

#contact .form-control:focus,
#contact .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

#contact button {
    border-radius: 10px;
}

/* =========================
   IMAGE STYLING
========================= */
img {
    max-width: 100%;
    height: auto;
}

img.rounded {
    border-radius: 16px !important;
}

/* =========================
   SPACING CONSISTENCY
========================= */
.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* =========================
   LINK STYLING
========================= */
a {
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.9;
}

/* =========================
   CARD CONSISTENCY
========================= */
.service-card,
.domain-card,
.product-card {
    will-change: transform;
}

/* =========================
   VALUE ICON FIX (CENTER ALIGN)
========================= */
.value-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   SMALL TEXT COLOR FIXES
========================= */
.text-light.small {
    color: #d1d5db !important;
}

/* =========================
   HERO BUTTON IMPROVEMENTS
========================= */
.hero-section .btn-light {
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.hero-section .btn-light:hover {
    transform: translateY(-2px);
}

/* =========================
   SCROLL SMOOTH
========================= */
html {
    scroll-behavior: smooth;
}

/* =========================
   SUBTLE BACKGROUND NOISE (PREMIUM LOOK)
========================= */
.hero-section::before,
.hero-section::after {
    pointer-events: none;
}

/* =========================
   HOVER MICRO INTERACTIONS
========================= */
.domain-card:hover i,
.service-card:hover i {
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* =========================
   PRODUCT CARD TEXT FIX
========================= */
.product-card h3 {
    line-height: 1.3;
}

/* =========================
   METRIC BOX POLISH
========================= */
.metric-box {
    transition: all 0.3s ease;
}

.metric-box:hover {
    transform: scale(1.05);
}

/* =========================
   MOBILE IMPROVEMENTS
========================= */
@media (max-width: 576px) {

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .product-card {
        padding: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}



.product-card ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-left: 0;
    text-align: left;
}

.product-card ul li {
    margin-bottom: 6px;
}

a.text-decoration-none {
    color: inherit;
    display: block;
}

/* Floating Buttons - FIXED */
.floating-buttons {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Common button */
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* WhatsApp */
.whatsapp-btn {
    background: #25D366;
}

/* Scroll */
.scroll-btn {
    background: var(--primary-color);
    opacity: 0;
    visibility: hidden;
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    transform: translateY(-4px);
}

.whatsapp-btn {
    background: #25D366;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-btn {
    backdrop-filter: blur(10px);
}

/* Glow effect */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.scroll-btn {
    background: linear-gradient(135deg, #007AFF, #3B82F6);
}




/* HERO MOBILE IMPROVEMENTS */
.hero-cta .btn {
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* Primary button */
.hero-btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: auto;
}

/* Secondary button */
.hero-btn-secondary {
    padding: 12px 28px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* HOVER POLISH */
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* MOBILE FIX */
@media (max-width: 768px) {

    .hero-cta {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 85%;
        text-align: center;
    }

    .hero-btn-primary {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-btn-secondary {
        padding: 12px 20px;
    }
}

@media (max-width: 768px) {

    .hero-section h1 {
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero-section p {
        font-size: 0.9rem;
    }
}

.service-card ul li {
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.95rem;
}


/* ICON WRAPPER (BIG UPGRADE) */
.service-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* COLOR VARIANTS */
.service-card.blue .service-icon-wrapper {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.service-card.purple .service-icon-wrapper {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.service-card.red .service-icon-wrapper {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.service-card.green .service-icon-wrapper {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}


/* BULLET LIST UPGRADE */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

/* CUSTOM BULLET DOT */
.service-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #9ca3af;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}


/* CARD DEPTH IMPROVEMENT */
.service-card {
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

/* HOVER EFFECT (PREMIUM FEEL) */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.services-row {
    margin-top: 10px;
}

.service-card {
    padding: 32px; /* increase internal spacing */
    border-radius: 16px;
    height: 100%;
}

/* Add vertical breathing on mobile */
/*@media (max-width: 768px) {*/
/*    .services-row {*/
/*        gap: 20px 0;*/
/*    }*/
/*}*/

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

@media (max-width: 768px) {
    #services .text-center {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 768px) {
    #services.section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.navbar-logo {
    height: 38px;
}

@media (min-width: 992px) {
    .navbar-logo {
        height: 45px;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
}
