/* ============================================================
   custom.css - Software Product Showcase Platform
   Main Frontend Stylesheet
   ============================================================ */

/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #a78bfa;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --dark: #1e1b4b;
    --dark-900: #111827;
    --dark-800: #1f2937;
    --dark-700: #374151;

    --light: #f8fafc;
    --body-bg: #ffffff;
    --text: #334155;
    --text-muted: #64748b;
    --heading: #1e293b;

    --border-radius: 0.75rem;
    --border-radius-lg: 1.25rem;
    --border-radius-sm: 0.5rem;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-indigo: 0 10px 25px -5px rgba(79, 70, 229, 0.4);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #312e81 0%, #4f46e5 40%, #7c3aed 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    color: var(--text);
    background-color: var(--body-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    padding: 0.625rem 1.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-indigo);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    border: none;
}

.btn-lg {
    padding: 0.875rem 2rem;
}

.btn-sm {
    padding: 0.5rem 0.5rem;;
    font-size: 0.875rem;
}

.btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: var(--gradient-hero);
    background-size: 100% 100%;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}

.hero-section::before {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    top: -150px;
    right: -100px;
    animation: float-blob 8s ease-in-out infinite;
}

.hero-section::after {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float-blob 10s ease-in-out infinite reverse;
}

@keyframes float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content h1 span {
    background: linear-gradient(90deg, #c7d2fe, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons .btn {
    margin-right: 0.75rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.hero-stat strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.hero-stat span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge i {
    font-size: 1.25rem;
}

.hero-badge-top {
    top: 2rem;
    left: -1rem;
}

.hero-badge-bottom {
    bottom: 2rem;
    right: -1rem;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ============================================================
   CLIENT LOGOS SLIDER
   ============================================================ */
.logos-section {
    background: var(--light);
    padding: 4rem 0;
    overflow: hidden;
}

.logos-section .section-heading {
    margin-bottom: 2rem;
}

.logos-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: scroll-logos 30s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logos-track .logo-item {
    flex-shrink: 0;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-700);
    white-space: nowrap;
}

.logos-track .logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--primary);
}

@keyframes scroll-logos {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card .product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--light);
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card .product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-badge.featured {
    background: var(--warning);
}

.product-card .product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-card .product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-card .product-title a {
    color: var(--heading);
}

.product-card .product-title a:hover {
    color: var(--primary);
}

.product-card .product-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card .product-price {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--heading);
}

.product-card .product-price small {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius);
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-indigo);
}

.pricing-card .popular-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-indigo);
}

.pricing-card .popular-badge::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-dark);
}

.pricing-card .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--heading);
    margin-bottom: 0.25rem;
}

.pricing-card .plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .plan-period {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card .plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.9375rem;
}

.pricing-card .plan-features li i {
    color: var(--success);
    margin-top: 0.25rem;
}

.pricing-card .plan-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-card .plan-features li.disabled i {
    color: var(--danger);
}

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.testimonial-section {
    background: var(--light);
    padding: 5rem 0;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-card .quote-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.testimonial-card .testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--heading);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-card .testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.testimonial-card .author-info {
    text-align: left;
}

.testimonial-card .author-name {
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 0.125rem;
}

.testimonial-card .author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-card .author-stars {
    color: var(--warning);
    font-size: 0.875rem;
}

.testimonial-carousel .carousel-indicators {
    bottom: -3rem;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-light);
    opacity: 0.5;
}

.testimonial-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--primary);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-item:not(:first-of-type) {
    border-top: 1px solid #e2e8f0;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--heading);
    padding: 1.25rem 1.5rem;
    background: #fff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
    padding: 0 1.5rem 1.5rem;
    background: #fff;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    padding: 5rem 0;
    background: #fff;
}

.contact-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-card .contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-card h5 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.contact-form-wrapper {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

/* ============================================================
   FORM INPUT FOCUS STYLES
   ============================================================ */
.form-control,
.form-select {
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    padding: 0.625rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--heading);
    font-size: 0.9375rem;
}

.input-group-text {
    background: var(--light);
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
}

/* ============================================================
   VIDEO DEMO SECTION
   ============================================================ */
.video-demo-section {
    background: var(--gradient-hero);
    padding: 6rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-demo-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.video-demo-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.video-thumbnail {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
    animation: pulse-play 2s infinite;
}

.video-thumbnail .play-button:hover {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse-play {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-indigo);
}

.newsletter-section h3 {
    color: #fff;
}

.news-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: var(--border-radius);
    min-width: 280px;
}

.news-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.news-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
    color: #fff;
}

.news-form .btn {
    white-space: nowrap;
}

.news-form.success-message {
    color: #fff;
    font-weight: 600;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #1eb857;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whatsapp-ring 2s infinite;
}

.whatsapp-float::after {
    animation-delay: 1s;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

@keyframes whatsapp-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.reveal-left {
    transform: translateX(-50px);
}

.reveal.reveal-right {
    transform: translateX(50px);
}

.reveal.reveal-zoom {
    transform: scale(0.9);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   FOOTER STYLES
   ============================================================ */
.site-footer {
    background: var(--dark-900);
    color: #adb5bd;
    position: relative;
    z-index: 1;
}

.site-footer .footer-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gradient-primary);
}

.site-footer .footer-links li {
    margin-bottom: 0.5rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact a {
    color: #adb5bd;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.site-footer .footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-light);
}

.site-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.site-footer .footer-contact li i {
    color: var(--primary-light);
    margin-top: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-indigo);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================================
   STATS / COUNTER STYLES
   ============================================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--light);
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item .stat-number::after {
    content: '+';
}

.stat-item .stat-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.about-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.about-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-section {
    padding: 5rem 0;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-values .value-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
}

.about-values .value-item i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.team-member {
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-light);
}

.team-member h5 {
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-member p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============================================================
   BLOG CARD STYLES
   ============================================================ */
.blog-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card .blog-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card .blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.blog-card .blog-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card .blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card .blog-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card .blog-title a {
    color: var(--heading);
}

.blog-card .blog-title a:hover {
    color: var(--primary);
}

.blog-card .blog-excerpt {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .blog-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================
   PRODUCT DETAIL PAGE STYLES
   ============================================================ */
.product-detail-header {
    background: var(--gradient-hero);
    padding: 4rem 0;
    color: #fff;
}

.product-detail-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-detail-header p {
    opacity: 0.9;
    max-width: 700px;
}

.product-detail-section {
    padding: 5rem 0;
}

.product-detail-gallery img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.product-detail-info .product-price-lg {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-detail-info .product-price-lg small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.product-detail-meta {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.product-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.product-detail-meta .meta-item i {
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.product-detail-meta .meta-item:last-child {
    border-bottom: none;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--gradient-hero);
    color: #fff;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1030;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #fff;
    text-decoration: none;
}

.top-bar-left a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-right .social-top {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.top-bar-right .social-top:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar,
.navbar-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: var(--transition);
    padding: 1rem 0;
}

.main-navbar.scrolled,
.navbar-main.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.main-navbar .navbar-brand,
.navbar-main .navbar-brand {
    font-weight: 800;
    color: var(--heading);
    font-size: 1.25rem;
}

.main-navbar .navbar-brand img,
.navbar-main .navbar-brand img {
    height: 36px;
    margin-right: 0.5rem;
}

.main-navbar .nav-link,
.navbar-main .nav-link {
    font-weight: 500;
    color: var(--text) !important;
    margin: 0 0.25rem;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.main-navbar .nav-link::after,
.navbar-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.main-navbar .nav-link:hover::after,
.navbar-main .nav-link:hover::after,
.main-navbar .nav-link.active::after,
.navbar-main .nav-link.active::after {
    width: 100%;
}

.main-navbar .nav-link.active,
.navbar-main .nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================================
   MISCELLANEOUS UTILITIES
   ============================================================ */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-light-soft {
    background: var(--light);
}

.text-primary-dark {
    color: var(--primary-dark);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page {
    text-align: center;
    padding: 6rem 0;
}

.error-page h1 {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.social-share a {
    width: 40px;
    height: 40px;
    background: var(--light);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-share a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-buttons .btn {
        margin: 0 0.375rem 0.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-badge {
        display: none;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .navbar-main,
    .main-navbar {
        background: #fff;
    }

    .navbar-main .nav-link::after,
    .main-navbar .nav-link::after {
        display: none;
    }

    .navbar-main .nav-link,
    .main-navbar .nav-link {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-stat strong {
        font-size: 1.375rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .pricing-card {
        padding: 2rem;
    }

    .stat-item .stat-number {
        font-size: 2.25rem;
    }

    .news-form {
        flex-direction: column;
        align-items: stretch !important;
    }

    .news-form .form-control {
        min-width: 0;
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }

    .news-form .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    #back-to-top {
        bottom: 1.5rem;
        left: 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .video-thumbnail .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.875rem;
    }

    .section-heading h2 {
        font-size: 1.75rem;
    }

    .hero-stat strong {
        font-size: 1.125rem;
    }

    .error-page h1 {
        font-size: 5rem;
    }

    .product-card .product-price {
        font-size: 1.125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   MEGA MENU (Products dropdown)
   ============================================================ */
.mega-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(30, 27, 75, 0.18);
    padding: 0;
    overflow: hidden;
    margin-top: 14px !important;
}
.mega-menu-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 20px;
    max-width: 960px;
}
.mega-menu-col {
    min-width: 170px;
    flex: 1 1 0;
    padding: 6px 16px;
    border-left: 1px solid #eef0f7;
}
.mega-menu-col:first-child { border-left: none; padding-left: 4px; }
.mega-menu-all { flex: 1.3 1 0; }
.mega-menu-heading {
    display: block;
    font-weight: 700;
    font-size: .95rem;
    color: #1e1b4b;
    text-decoration: none;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eef0f7;
    transition: color .2s ease;
}
.mega-menu-heading i { color: #4f46e5; }
.mega-menu-heading:hover { color: #4f46e5; }
.mega-menu-desc { font-size: .85rem; color: #64748b; line-height: 1.6; margin: 0; }
.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mega-menu-list li { margin-bottom: 4px; }
.mega-menu-list li a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: #334155;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s ease;
}
.mega-menu-list li a:hover {
    background: #eef2ff;
    color: #4338ca;
    padding-left: 14px;
}

/* Desktop: open on hover, also honour Bootstrap's .show (click) class */
@media (min-width: 992px) {
    .main-navbar .dropdown:hover > .dropdown-menu.mega-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        margin-top: 0;
    }
    .mega-menu { box-shadow: 0 25px 60px rgba(30, 27, 75, 0.18); }
}

/* Mobile / tablet: rely on Bootstrap click behaviour (keep .show handling) */
@media (max-width: 991px) {
    .mega-menu-inner { flex-wrap: wrap; max-width: 100%; }
    .mega-menu-col { flex: 1 1 50%; min-width: 0; }
}
@media (max-width: 575px) {
    .mega-menu-col { flex: 1 1 100%; border-left: none; padding: 6px 4px; }
}
