/* ============================================
   ENVI TECH AI - CLEAN WHITE & BLUE THEME
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Colors - Light Theme */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --bg-card: #FFFFFF;

    /* Blue Accent */
    --blue-primary: #0EA5E9;
    --blue-dark: #0284C7;
    --blue-light: #38BDF8;
    --blue-pale: #E0F2FE;

    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    /* Borders */
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 100px);
    --container-max: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
}

h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.7;
}

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

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

/* Blue Text Accent */
.gradient-text {
    color: var(--blue-primary);
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #FFFFFF;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation */
.nav-desktop {
    display: block;
}

.nav-desktop .nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-menu li a:hover {
    color: var(--blue-primary);
    background-color: var(--blue-pale);
}

.nav-menu li a.active {
    color: var(--blue-primary);
    background-color: var(--blue-pale);
}

/* Mobile Navigation - hidden on desktop */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.nav-mobile.active {
    max-height: 400px;
}

.nav-mobile .nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 16px;
    gap: 4px;
}

.nav-mobile .nav-menu li a {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: block;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--blue-pale) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--blue-pale);
    border: 1px solid var(--blue-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--blue-primary);
    border-radius: 50%;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Image */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    z-index: 1;
}

.hero-visual img {
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--blue-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    background: var(--blue-pale);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-pale);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--blue-primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--blue-primary);
    transition: stroke var(--transition-base);
}

.service-card:hover .service-icon svg {
    stroke: #FFFFFF;
}

.service-card h4 {
    margin-bottom: 12px;
}

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-item:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 14px;
    height: 14px;
    stroke: white;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   PRODUCTS / HUBEEZ SECTION
   ============================================ */
.products {
    background: var(--bg-primary);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-info h3 {
    margin-bottom: 16px;
}

.product-info p {
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 28px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.product-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-primary);
    flex-shrink: 0;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-pale);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--blue-primary);
}

.contact-item-text h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 0.9375rem;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px var(--blue-pale);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: #FFFFFF;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--blue-primary);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    stroke: #FFFFFF;
}

.footer-column h5 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #94A3B8;
    margin: 0;
}

/* ============================================
   PAGE HEADERS (for subpages)
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #FFFFFF 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-pale) 0%, transparent 50%);
    opacity: 0.3;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.page-header p {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .product-showcase,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    section {
        padding: 50px 0;
    }

    .nav-container {
        height: 70px;
    }

    .logo img {
        height: 40px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-item p {
    font-size: 0.9375rem;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICE LIST (inside cards)
   ============================================ */
.service-list {
    list-style: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
    padding-left: 16px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--blue-primary);
    border-radius: 50%;
}

/* ============================================
   TECHNOLOGY GRID
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-category {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.tech-category:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-md);
}

.tech-category h4 {
    color: var(--blue-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.tech-category p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STAT DESCRIPTION
   ============================================ */
.stat-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section {
    background: var(--bg-secondary);
    padding: var(--section-padding) 0;
}

.process-timeline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--blue-primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.step-content {
    padding: 0 16px;
    flex: 1;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.5;
}

.step-arrow {
    width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-arrow svg {
    width: 28px;
    height: 28px;
    stroke: var(--blue-primary);
    animation: arrowPulse 1.5s ease-in-out infinite;
}

.step-arrow.last svg {
    stroke: #10b981;
    animation: none;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.6;
    }
}

@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .process-step {
        max-width: 100%;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-light);
    }

    .step-arrow {
        display: none;
    }

    .step-arrow.last {
        display: flex;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars span {
    color: #F59E0B;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--blue-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   COMPARISON TABLE (Hubeez vs Others)
   ============================================ */
.comparison-section {
    background: var(--bg-primary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.comparison-table th {
    padding: 20px 24px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border-light);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th.hubeez-col {
    background: var(--blue-primary);
    color: #FFFFFF;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td.hubeez-col {
    background: var(--blue-pale);
    font-weight: 600;
    color: var(--blue-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-secondary);
}

.comparison-table tr:hover td.hubeez-col {
    background: #d0effe;
}

.check-yes { color: #10b981; font-size: 1.2rem; }
.check-no { color: #ef4444; font-size: 1.2rem; }
.check-partial { color: #F59E0B; font-size: 1.2rem; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all var(--transition-base);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #20b857;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

.whatsapp-tooltip {
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-btn {
        width: 54px;
        height: 54px;
    }
}

/* ============================================
   GDPR COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--text-primary);
    color: #FFFFFF;
    z-index: 10000;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    color: #CBD5E1;
    font-size: 0.875rem;
    margin: 0;
    max-width: 700px;
}

.cookie-banner p a {
    color: var(--blue-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept {
    padding: 10px 20px;
    background: var(--blue-primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cookie-accept:hover {
    background: var(--blue-dark);
}

.cookie-decline {
    padding: 10px 20px;
    background: transparent;
    color: #94A3B8;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-decline:hover {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-accept, .cookie-decline {
        flex: 1;
        text-align: center;
    }
}

/* ============================================
   CLIENTS LOGOS BAR
   ============================================ */
.clients-bar {
    background: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.clients-bar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.clients-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.clients-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.client-logo-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
    text-align: center;
}

/* ============================================
   PRICING TEASER
   ============================================ */
.pricing-teaser {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 48px;
}

.pricing-teaser h3 {
    color: #FFFFFF;
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.pricing-teaser p {
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 28px;
}

.pricing-teaser .btn-white {
    background: #FFFFFF;
    color: var(--blue-primary);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.pricing-teaser .btn-white:hover {
    background: var(--blue-pale);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--blue-dark);
}

@media (max-width: 768px) {
    .pricing-teaser {
        padding: 32px 24px;
    }
}

/* ============================================
   IMAGE GALLERY (Hubeez)
   ============================================ */
.gallery-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.gallery-main {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: opacity var(--transition-base);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.gallery-thumb {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    background: var(--bg-secondary);
}

.gallery-thumb:hover {
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px var(--blue-pale);
}

.gallery-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition-base);
}

.gallery-thumb:hover img {
    opacity: 0.9;
}

.gallery-thumb span {
    display: block;
    text-align: center;
    padding: 8px 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-thumb.active span {
    color: var(--blue-primary);
}

@media (max-width: 768px) {
    .gallery-container {
        padding: 16px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-thumb img {
        height: 50px;
    }

    .gallery-thumb span {
        font-size: 0.6875rem;
        padding: 6px 2px;
    }
}

/* ============================================
   BANNER ANALIZA GRATUITA
   ============================================ */
.analiza-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 4rem 0;
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
}

.analiza-banner-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.analiza-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.analiza-banner-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.analiza-banner-text p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    max-width: 580px;
}

.analiza-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.analiza-list li {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.analiza-banner-cta {
    text-align: center;
    min-width: 220px;
}

.analiza-banner-cta .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    white-space: nowrap;
}

.analiza-sub {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .analiza-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .analiza-list {
        grid-template-columns: 1fr;
        text-align: left;
        display: inline-block;
    }
    .analiza-banner-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   SERVICE CARD - SCADA & ANALIZA
   ============================================ */
.service-card#analiza-business .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ============================================
   SECTIUNEA OPTIMIZARE COSTURI
   ============================================ */
.cost-optim {
    padding: 5rem 0;
    background: var(--bg-secondary, #f8fafc);
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cost-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.cost-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.cost-icon svg {
    width: 26px;
    height: 26px;
}

.cost-icon-red {
    background: #fef2f2;
    color: #ef4444;
}

.cost-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.cost-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cost-impact {
    font-size: 0.88rem;
    color: #0ea5e9;
    font-weight: 500;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem;
}

.cost-impact strong {
    color: #10b981;
}

.cost-cta {
    text-align: center;
    margin-top: 3rem;
}

.cost-cta p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 1rem;
}

/* ============================================
   SECTIUNEA DOMENII EXPERTIZA
   ============================================ */
.expertise-section {
    padding: 5rem 0;
    background: #0f172a;
}

.expertise-section .section-header h2,
.expertise-section .section-header p {
    color: #e2e8f0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.expertise-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.expertise-item:hover {
    background: rgba(14,165,233,0.1);
    border-color: rgba(14,165,233,0.4);
}

.expertise-item .exp-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.expertise-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.4rem;
}

.expertise-item p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* ============================================
   HERO GRID (pentru pagini interioare cu imagine laterala)
   ============================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-grid .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    display: block;
}

.hero-grid .hero-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-grid .hero-visual {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================
   PROCESS GRID (4 pași orizontali)
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.process-grid .process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition-base);
}

.process-grid .process-step:hover {
    border-color: var(--blue-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(14,165,233,0.15);
}

.process-grid .step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.process-grid .process-step h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-grid .process-step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}
