@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Space+Grotesk:wght@300..700&display=swap');

:root {
    --primary: #0F1117;       /* Slate oscuro — fondo principal */
    --secondary: #6366F1;     /* Índigo — acento principal */
    --accent: #818CF8;        /* Índigo claro — hover/detalle */
    --light: #E2E8F0;         /* Texto claro sobre oscuro */
    --dark: #1A1D27;          /* Superficies/tarjetas */
    --gray-400: #94A3B8;      /* Texto secundario */
    --gray-700: #CBD5E1;      /* Texto medio */
    --gray-800: #1A1D27;      /* Fondo tarjetas */
    --success: #6366F1;
    --glass-bg: rgba(26, 29, 39, 0.85);
    --border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.6);
    --gradient: linear-gradient(135deg, #6366F1 0%, #818CF8 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--light);
    line-height: 1.6;
    background-color: var(--primary);
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    /* Peso extra bold para mayor fuerza */
    letter-spacing: -0.01em;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(11, 13, 14, 0.85); /* Restored to dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: #e2e8f0; /* White text for dark header */
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Consolas', 'Courier New', Courier, monospace;
}

.logo span {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blink {
    animation: blink 1s step-end infinite;
    color: var(--secondary);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #94a3b8; /* Gray text */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #e2e8f0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #e2e8f0;
}

/* --- Hero Section --- */
.hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0F1117 0%, #1A1D27 50%, #1e1f35 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(129, 140, 248, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #ffffff 20%, #C7D2FE 60%, #818CF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(203, 213, 225, 0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    /* Texto de botón más fuerte */
    text-transform: uppercase;
    /* Mayúsculas para más impacto */
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #000;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s ease;
    font-weight: 800;
}

.btn-primary:active,
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.3);
    filter: brightness(1.1);
}

.btn-primary .cursor {
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

.btn-accent {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-accent:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* --- Sections Common --- */
section {
    padding: 8rem 0;
}

.section-padding {
    padding: 6rem 0;
}

/* --- Works Carousel (Swiper 3D) --- */
.works {
    padding: 4rem 0 6rem;
    background: var(--primary);
    overflow: hidden;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide.work-item {
    background-position: center;
    background-size: cover;
    width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    margin: 0;
}

.swiper-pagination-bullet {
    background: var(--secondary);
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-overlay span {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.work-item:hover img {
    transform: scale(1.1);
}

.work-item:hover .work-overlay {
    opacity: 1;
}



.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--light);
}

.section-title p {
    color: var(--gray-400);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services --- */
.services {
    background-color: var(--primary);
}

.services .section-title h2 {
    color: var(--light);
}

.services .section-title p {
    color: var(--gray-400);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Card base */
.service-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    background: #13151E;
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(145, 129, 108, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: #1A1D27;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

/* Bulletproof reset for card links */
.services-grid a.service-card,
.services-grid a.service-card:hover,
.services-grid a.service-card:focus,
.services-grid a.service-card:visited {
    text-decoration: none !important;
    color: inherit !important;
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Ícono */
.service-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(145, 129, 108, 0.12);
    border: 1px solid rgba(145, 129, 108, 0.2);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

/* Contenido */
.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--accent);
}

.service-content p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
}

/* Lista de ítems */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(213, 206, 196, 0.1);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.service-list li i {
    font-size: 0.65rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.service-card:hover .service-list li {
    color: var(--gray-700);
}

/* CTA al pie */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.03em;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-cta {
    gap: 12px;
}

/* --- Featured Project --- */
.featured-project {
    background: linear-gradient(to bottom, var(--primary), #0f1113);
    padding: 10rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.featured-project::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.03) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

.featured-project .container {
    max-width: 1250px;
    position: relative;
    z-index: 1;
}

.project-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.badge-row {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.6rem 1.2rem;
    background: var(--secondary);
    color: #000;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.badge-outline {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    color: var(--gray-400);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-project h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
}

.accent-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.featured-project p {
    font-size: 1.15rem;
    color: var(--gray-400);
    margin-bottom: 3rem;
    max-width: 550px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-card i {
    font-size: 1.25rem;
    color: var(--secondary);
    background: rgba(0, 255, 163, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 255, 163, 0.1);
}

.feature-card h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.project-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.demo-url {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-700);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Visual Mockup */
.project-visual {
    perspective: 2000px;
}

.glass-mockup {
    background: #000;
    border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 255, 163, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.glass-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 255, 163, 0.2);
}

.mockup-header {
    background: #121212;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #282828;
}

.mockup-address {
    margin-left: 20px;
    background: #000;
    padding: 5px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--gray-700);
    font-family: monospace;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-screen {
    position: relative;
    line-height: 0;
}

.mockup-screen img {
    width: 100%;
    height: auto;
}

.kpi-pop {
    bottom: 40px;
    left: -30px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
    .project-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .featured-project {
        padding: 6rem 0;
    }
    .project-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .badge-row, .feature-grid, .project-buttons, .feature-card {
        justify-content: center;
    }
    .feature-card {
        text-align: left;
    }
    .featured-project p {
        margin-left: auto;
        margin-right: auto;
    }
    .glass-mockup {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    .kpi-pop {
        left: 20px;
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem !important;
    }

    .hero p {
        font-size: 0.95rem !important;
    }

    .section-title h2 {
        font-size: 1.4rem !important;
    }

    .contact-info h3 {
        font-size: 1.3rem !important;
    }

    /* --- Responsive Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-card {
        padding: 1.75rem 1.5rem;
    }
    .service-content h3 {
        font-size: 1.1rem;
    }
}


/* --- Brands --- */
.brands {
    background-color: var(--primary);
    padding: 5rem 0;
    overflow: hidden;
}
.brands-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: brands-scroll 22s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.brand-item img {
    height: 40px;
    width: auto;
    max-width: 120px;
    filter: grayscale(100%) invert(100%) opacity(0.4);
    transition: filter 0.4s ease, transform 0.3s ease;
}

.brand-item img:hover {
    filter: grayscale(0%) invert(0%) opacity(1);
    transform: scale(1.1);
}

/* --- Contact Section --- */
.contact {
    background-color: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.25rem;
    color: var(--gray-400);
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: #1A1D27;
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.form-group textarea {
    min-height: 150px;
}

/* --- Toast Notification --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--gray-800);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: slideIn 0.3s ease-out;
}

.toast i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.toast.error i {
    color: var(--accent);
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--dark);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid var(--border);
}

/* Override section-title para el footer oscuro */
footer .section-title h2,
footer .section-title p {
    color: var(--gray-700);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--gray-700);
    font-size: 0.82rem;
}

/* Footer responsive */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    /* La primera columna (descripción) ocupa todo el ancho */
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 10px 0;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    section {
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 2.5rem;
    }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    height: 54px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0 25px;
    gap: 12px;
}

.whatsapp-float span {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
        padding: 0;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* --- Admin Panel Global Styles --- */
:root {
    --admin-sidebar: #0e1011;
    --admin-card: #15181a;
    --admin-border: rgba(0, 255, 163, 0.05);
}

.admin-body {
    background: #0b0d0e;
    display: flex;
    min-height: 100vh;
    color: #e2e8f0;
}

.sidebar {
    width: 280px;
    background: var(--admin-sidebar);
    border-right: 1px solid var(--admin-border);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar .logo {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    padding: 0 1rem;
    justify-content: flex-start;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 4rem;
    width: calc(100% - 280px);
    background: #0b0d0e;
    min-height: 100vh;
}

.main-content h1 {
    font-size: 2.8rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #000;
}

.admin-card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--admin-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--admin-border);
}

.admin-table th {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.2rem 1.5rem;
    text-align: left;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--admin-border);
    color: #333;
}

.admin-nav-links {
    list-style: none;
    margin-top: 1rem;
}

.admin-nav-links li {
    margin-bottom: 0.8rem;
}

.admin-nav-links a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.admin-nav-links a i {
    font-size: 1.1rem;
}

.admin-nav-links a:hover,
.admin-nav-links a.active {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.admin-nav-links a.active {
    background: rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.stock-badge {
    background: rgba(0, 0, 0, 0.05);
    color: #444;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid rgba(0, 0, 0, 0.1);
}