/* ---------- RESET / BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ----- light theme (default) variables ----- */
:root {
    --bg-body: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --nav-link: #1e293b;
    --nav-hover: #2563eb;
    --hero-start: #0f172a;
    --hero-end: #1e40af;
    --hero-text: #ffffff;
    --hero-btn-bg: rgba(255, 255, 255, 0.1);
    --hero-btn-hover: rgba(255, 255, 255, 0.2);
    --hero-btn-text: #ffffff;
    --about-bg: #ffffff;
    --about-text: #1e293b;
    --card-bg: #ffffff;
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --contact-bg: #f1f5f9;
    --input-border: #e2e8f0;
    --input-bg: #ffffff;
    --input-text: #1e293b;
    --input-focus-border: #2563eb;
    --contact-btn-bg: #2563eb;
    --contact-btn-hover: #1d4ed8;
    --contact-btn-text: white;
    --footer-bg: #0f172a;
    --footer-text: #f1f5f9;
    --accent-color: #2563eb;
    --accent-gradient: linear-gradient(135deg, #2563eb, #7c3aed);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --testimonial-bg: #ffffff;
    --testimonial-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --rating-color: #fbbf24;
}

/* ----- dark theme variables ----- */
body.dark-theme {
    --bg-body: #0f172a;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --header-bg: rgba(15, 23, 42, 0.9);
    --header-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --nav-link: #f1f5f9;
    --nav-hover: #60a5fa;
    --hero-start: #020617;
    --hero-end: #1e3a8a;
    --hero-text: #f1f5f9;
    --hero-btn-bg: rgba(255, 255, 255, 0.05);
    --hero-btn-hover: rgba(255, 255, 255, 0.1);
    --hero-btn-text: #f1f5f9;
    --about-bg: #1e293b;
    --about-text: #f1f5f9;
    --card-bg: #1e293b;
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --contact-bg: #0f172a;
    --input-border: #334155;
    --input-bg: #1e293b;
    --input-text: #f1f5f9;
    --input-focus-border: #60a5fa;
    --contact-btn-bg: #1e40af;
    --contact-btn-hover: #1e3a8a;
    --contact-btn-text: #f1f5f9;
    --footer-bg: #020617;
    --footer-text: #cbd5e1;
    --accent-color: #60a5fa;
    --accent-gradient: linear-gradient(135deg, #60a5fa, #a78bfa);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --testimonial-bg: #1e293b;
    --testimonial-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --rating-color: #fbbf24;
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HEADER with glass morphism ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    transition: all 0.3s;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header.scrolled {
    padding: 0.8rem 2rem;
}

.logo {
    height: 40px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--nav-link);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Theme toggle */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border-radius: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.toggle-track {
    width: 50px;
    height: 24px;
    background: var(--bg-body);
    border-radius: 30px;
    position: relative;
    transition: background 0.3s;
}

.toggle-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.dark-theme .toggle-thumb {
    transform: translateX(26px);
}

.toggle-sun, .toggle-moon {
    position: absolute;
    top: 5px;
    font-size: 14px;
    color: var(--text-primary);
}

.toggle-sun {
    left: 6px;
    opacity: 1;
}

.toggle-moon {
    right: 6px;
    opacity: 0;
}

.dark-theme .toggle-sun {
    opacity: 0;
}

.dark-theme .toggle-moon {
    opacity: 1;
}

.toggle-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
    color: var(--hero-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.glitch-text {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitchTop 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch-text::after {
    animation: glitchBottom 0.3s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

.typed-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    min-height: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.typed-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--hero-btn-bg);
    color: var(--hero-btn-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--hero-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--hero-text);
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0.7;
    font-size: 0.9rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---------- ABOUT PREVIEW ---------- */
.about-preview {
    padding: 100px 0;
    background: var(--about-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    position: relative;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1.2;
}

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

.live-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.mission-card {
    background: var(--accent-gradient);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    transform: rotate(1deg);
    transition: all 0.3s;
}

.mission-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.mission-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* ---------- SERVICES PREVIEW ---------- */
.services-preview {
    padding: 80px 0;
    background: var(--bg-body);
}

.service-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-mini-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.service-mini-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.service-mini-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-mini-card h3 {
    font-size: 1.2rem;
}

/* ---------- ERP RESELLER SECTION ---------- */
.erp-reseller-section {
    padding: 80px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.erp-reseller-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.erp-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.erp-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.erp-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

.erp-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.erp-logo-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.erp-logo-card img {
    max-width: 140px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(1) contrast(1);
    transition: filter 0.3s;
}

.dark-theme .erp-logo-card img {
    filter: brightness(0.9) contrast(1.1);
}

.erp-logo-badge {
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
}

.erp-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.erp-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.erp-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.erp-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.erp-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.erp-cta p strong {
    color: var(--accent-color);
}

.erp-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.erp-cta-buttons .btn-primary i,
.erp-cta-buttons .btn-outline i {
    margin-right: 0.5rem;
}

/* Dark theme specific adjustments */
.dark-theme .erp-logo-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* ---------- PRODUCTS PREVIEW ---------- */
.products-preview {
    padding: 80px 0;
    background: var(--about-bg);
}

.products-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-mini-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    position: relative;
}

.product-mini-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.product-mini-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-mini-badge-popular {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.product-mini-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.product-mini-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-mini-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-mini {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-mini:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    height: 35px;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.2rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
}

.footer-section a {
    display: block;
    color: var(--footer-text);
    text-decoration: none;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    transition: all 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 0 1rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 0 5px 5px 0;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom a {
    color: var(--footer-text);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .service-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .erp-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .service-grid-mini {
        grid-template-columns: 1fr;
    }
    
    .products-grid-mini {
        grid-template-columns: 1fr;
    }
    
    .erp-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .erp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .erp-cta-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .erp-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .erp-logo-card {
        padding: 1rem;
    }
    
    .erp-logo-card img {
        max-width: 100px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .erp-logos-grid {
        grid-template-columns: 1fr;
    }
}




/* ========== 3D SERVICE CARDS STYLES ========== */
.service-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    perspective: 1000px;
}

.service-card-3d {
    position: relative;
    width: 100%;
    height: 400px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.service-card-3d:hover {
    transform: rotateY(180deg);
}

/* For mobile touch support */
.service-card-3d.touch-flip {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-front {
    transform: rotateY(0deg);
    background: linear-gradient(145deg, var(--card-bg), var(--glass-bg));
    text-align: center;
    justify-content: center;
    align-items: center;
}

.card-back {
    transform: rotateY(180deg);
    background: var(--accent-gradient);
    color: white;
    justify-content: flex-start;
    gap: 1rem;
}

/* Front card styles */
.service-icon-large {
    width: 90px;
    height: 90px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
}

.card-front h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-tags span {
    background: var(--glass-bg);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.card-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
    background: var(--glass-bg);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.card-hint i {
    font-size: 0.85rem;
}

/* Back card styles */
.card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.service-features-3d {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features-3d li {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.service-features-3d i {
    color: white;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.btn-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-3d:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: var(--accent-color);
    color: white;
}

/* Load more button */
.load-more-btn {
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.load-more-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* Section subtitle */
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .service-grid-3d {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-3d {
        height: 380px;
    }
    
    .card-front h3 {
        font-size: 1.4rem;
    }
    
    .service-icon-large {
        width: 70px;
        height: 70px;
    }
    
    .service-icon-large i {
        font-size: 2.2rem;
    }
    
    .card-back h3 {
        font-size: 1.2rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
    
    .service-features-3d li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service-card-3d {
        height: 420px;
    }
    
    .card-front {
        padding: 1.5rem;
    }
    
    .card-back {
        padding: 1.5rem;
    }
    
    .service-tags span {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Dark theme adjustments */
.dark-theme .card-front {
    background: linear-gradient(145deg, var(--card-bg), var(--glass-bg));
}

.dark-theme .service-tags span {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.dark-theme .card-hint {
    background: rgba(0, 0, 0, 0.3);
    color: white;
}

/* Scrollbar styling for card back */
.card-back::-webkit-scrollbar {
    width: 5px;
}

.card-back::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.card-back::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
}

.card-back::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.8);
}

/* Focus state for accessibility */
.service-card-3d:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.service-card-3d:focus:not(:focus-visible) {
    outline: none;
}

.service-card-3d:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}


/* ========== FLOATING CONTACT HUB ========== */
.contact-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-hub-button {
    width: 160px;
    height: 60px;
    border-radius: 60px;
    background: var(--accent-gradient);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse-ring 2s infinite;
}

.contact-hub-button i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.contact-hub-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-hub-button:hover i {
    transform: rotate(10deg);
}

.contact-hub-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.contact-hub-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hub-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 5px;
    cursor: pointer;
    border: 1px solid transparent;
}

.hub-item:hover {
    background: var(--glass-bg);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.hub-item i {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.hub-item-content {
    display: flex;
    flex-direction: column;
}

.hub-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.schedule-demo .hub-value {
    color: var(--accent-color);
    font-weight: 700;
}

/* Pulse animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* ========== CHAT WIDGET ========== */
.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.chat-widget.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

.chat-header {
    padding: 18px 20px;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.3rem;
    transition: transform 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.chat-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    animation: fadeIn 0.3s;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}

.bot .message-content {
    background: var(--glass-bg);
    color: var(--text-primary);
    border-bottom-left-radius: 5px;
    border: 1px solid var(--glass-border);
}

.user .message-content {
    background: var(--accent-gradient);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-input-area {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
    background: var(--card-bg);
}

.chat-input-area input {
    flex: 1;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 30px;
    color: var(--input-text);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-input-area input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.chat-input-area button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-input-area button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.chat-input-area button:active {
    transform: scale(0.95);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border-radius: 18px;
    width: fit-content;
    border: 1px solid var(--glass-border);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

/* ========== SCHEDULE MODAL ========== */
.schedule-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
}

.schedule-modal-content {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 30px;
    max-width: 550px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.schedule-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--glass-bg);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.schedule-modal-close:hover {
    background: var(--accent-gradient);
    color: white;
    transform: rotate(90deg);
}

.schedule-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.schedule-modal p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 15px;
    color: var(--input-text);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.schedule-form input:hover,
.schedule-form select:hover,
.schedule-form textarea:hover {
    border-color: var(--accent-color);
}

.btn-schedule {
    padding: 1.2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-schedule:active {
    transform: translateY(0);
}

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Keyboard shortcut hint */
.keyboard-hint {
    position: fixed;
    bottom: 100px;
    right: 200px;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    animation: fadeInOut 3s ease;
    pointer-events: none;
    z-index: 997;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hub-button {
        width: 140px;
        height: 50px;
        font-size: 1rem;
    }
    
    .contact-hub-menu {
        width: 280px;
        right: 0;
        bottom: 70px;
    }
    
    .chat-widget {
        width: 320px;
        height: 450px;
        right: 15px;
        bottom: 90px;
    }
    
    .hub-item {
        padding: 10px 12px;
    }
    
    .hub-item i {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .schedule-modal-content {
        padding: 2rem;
    }
    
    .schedule-modal h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hub {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-hub-button {
        width: 130px;
        height: 45px;
        font-size: 0.95rem;
    }
    
    .contact-hub-menu {
        width: 260px;
    }
    
    .chat-widget {
        width: 300px;
        height: 400px;
        right: 10px;
        bottom: 80px;
    }
    
    .chat-header {
        padding: 15px;
    }
    
    .chat-header h4 {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .message-content {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .chat-input-area {
        padding: 12px 15px;
    }
    
    .chat-input-area input {
        padding: 10px 15px;
    }
    
    .chat-input-area button {
        width: 40px;
        height: 40px;
    }
}

/* Dark theme adjustments */
.dark-theme .hub-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark-theme .chat-widget {
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .schedule-modal-content {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Loading state for buttons */
.btn-schedule.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-schedule.loading i {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tooltip for keyboard shortcut */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.8rem;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    margin-bottom: 10px;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
}

/* Unread message badge */
.unread-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}


/* ========== SMART SERVICE RECOMMENDER ========== */
.recommender-section {
    padding: 80px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.recommender-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.recommender-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.recommender-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
}

.recommender-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.recommender-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Start Screen */
.recommender-start {
    text-align: center;
    padding: 2rem;
}

.start-illustration {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.start-illustration i {
    font-size: 3rem;
    color: var(--accent-color);
    background: var(--glass-bg);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    animation: float 3s ease-in-out infinite;
}

.start-illustration i:nth-child(2) {
    animation-delay: 0.5s;
}

.start-illustration i:nth-child(3) {
    animation-delay: 1s;
}

.recommender-start h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.recommender-start p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.btn-start {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-start i {
    transition: transform 0.3s;
}

.btn-start:hover i {
    transform: scale(1.2);
}

/* Quiz Container */
.quiz-container {
    animation: fadeIn 0.5s ease;
}

/* Progress Bar */
.quiz-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 8px;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--glass-border);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.step.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Questions */
.questions-container {
    margin-bottom: 2rem;
    min-height: 400px;
}

.question-card {
    display: none;
    animation: slideIn 0.5s ease;
}

.question-card.active {
    display: block;
}

.question-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.size-grid,
.timeline-grid,
.budget-grid {
    grid-template-columns: repeat(4, 1fr);
}

.support-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.option-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.option-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.option-card.selected::before {
    opacity: 0.1;
}

.option-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.option-card .fa-dollar-sign {
    display: inline-block;
    margin-right: -5px;
}

.option-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.option-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Navigation */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev,
.btn-next {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-prev:hover:not(:disabled) {
    background: var(--glass-border);
    transform: translateX(-5px);
}

.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-next:hover:not(:disabled) {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Container */
.results-container {
    animation: fadeIn 0.5s ease;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.results-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--text-secondary);
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recommendation-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}

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

.recommendation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.recommendation-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-right: 80px;
}

.recommendation-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.recommendation-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.recommendation-features li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.recommendation-features i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.recommendation-cta {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.recommendation-cta:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-email-results,
.btn-restart,
.btn-schedule {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-email-results {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-email-results:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.btn-restart {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-restart:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.btn-schedule {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Email Modal */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
}

.email-modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.email-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.email-modal-close:hover {
    background: var(--accent-gradient);
    color: white;
    transform: rotate(90deg);
}

.email-modal h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.email-modal input {
    width: 100%;
    padding: 1rem;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 10px;
    color: var(--input-text);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.email-modal input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-send-email {
    width: 100%;
    padding: 1rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn-send-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.email-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

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

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .recommender-container {
        padding: 2rem 1rem;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .size-grid,
    .timeline-grid,
    .budget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .btn-email-results,
    .btn-restart,
    .btn-schedule {
        width: 100%;
        justify-content: center;
    }
    
    .start-illustration i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .recommender-start h3 {
        font-size: 1.5rem;
    }
    
    .question-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .size-grid,
    .timeline-grid,
    .budget-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .btn-start {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Dark theme adjustments */
.dark-theme .option-card.selected {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
}

.dark-theme .recommendation-card {
    background: rgba(255, 255, 255, 0.05);
}

/* ========== ROI CALCULATOR ========== */
.roi-calculator-section {
    padding: 80px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.roi-calculator-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.roi-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.roi-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
}

.roi-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.roi-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Input Section */
.calculator-inputs h3,
.calculator-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.calculator-inputs h3::after,
.calculator-results h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.input-group label i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-wrapper .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-wrapper input[type="range"] {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: var(--glass-border);
    border-radius: 3px;
    outline: none;
}

.input-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.input-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.input-wrapper input[type="number"] {
    width: 100px;
    padding: 0.5rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--input-text);
    font-size: 1rem;
    text-align: center;
}

.input-wrapper input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.input-range-value {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.input-range-value span {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.calculator-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.calculator-note i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.calculator-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Results Section */
.calculator-results {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
}

.results-summary {
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.result-item:last-child {
    border-bottom: none;
}

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

.result-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-value.savings {
    color: var(--accent-color);
}

.result-item.highlight {
    background: var(--accent-gradient);
    margin: 1rem -1rem;
    padding: 1.5rem;
    border-radius: 10px;
}

.result-item.highlight .result-label,
.result-item.highlight .result-value {
    color: white;
}

.result-item.annual {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.result-item.annual .result-value {
    color: #10b981;
}

/* Savings Chart */
.savings-chart {
    margin: 2rem 0;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chart-label {
    width: 100px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.bar-container {
    flex: 1;
    height: 30px;
    background: var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
}

.bar {
    height: 100%;
    transition: width 0.5s ease;
}

.current-bar {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
}

.savings-bar {
    background: var(--accent-gradient);
}

/* Savings Percentage */
.savings-percentage {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.percentage-circle {
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
}

.percentage-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.percentage-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ROI CTA */
.roi-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-email-results,
.btn-schedule {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-email-results {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-email-results:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.btn-schedule {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Benefits Section */
.roi-benefits {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.roi-benefits h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.5rem;
}

.benefit-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .roi-container {
        padding: 2rem 1rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-wrapper input[type="range"] {
        width: 100%;
    }
    
    .input-wrapper input[type="number"] {
        width: 100%;
    }
    
    .roi-cta {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-label {
        width: auto;
    }
}

@media (max-width: 480px) {
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .percentage-circle {
        width: 100px;
        height: 100px;
    }
    
    .percentage-value {
        font-size: 1.5rem;
    }
}

/* Dark theme adjustments */
.dark-theme .calculator-note {
    background: rgba(255, 255, 255, 0.05);
}

.dark-theme .result-item.highlight {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.dark-theme .btn-email-results {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-theme .btn-email-results:hover {
    background: var(--accent-gradient);
}

/* ========== CLIENT SUCCESS WALL ========== */
.success-wall-section {
    padding: 80px 0;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.success-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.success-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.success-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.success-filters .filter-btn {
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.success-filters .filter-btn:hover,
.success-filters .filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.success-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.success-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.success-card:hover .success-image img {
    transform: scale(1.1);
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s;
}

.success-card:hover .success-overlay {
    opacity: 1;
}

.success-stats {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
}

.success-stats .stat {
    text-align: center;
    flex: 1;
}

.success-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.success-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.success-content {
    padding: 1.5rem;
}

.industry-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.industry-badge.healthcare { background: #e11d48; color: white; }
.industry-badge.finance { background: #059669; color: white; }
.industry-badge.retail { background: #7c3aed; color: white; }
.industry-badge.technology { background: #2563eb; color: white; }
.industry-badge.manufacturing { background: #d97706; color: white; }

.success-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.success-metric {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.success-quote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.client-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.success-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.success-tags span {
    background: var(--glass-bg);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.load-more-success {
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
}

.load-more-success:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* ========== INTERACTIVE TEAM MAP ========== */
.team-map-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.map-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    margin-bottom: 3rem;
}

.world-map {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.country {
    transition: all 0.3s;
    cursor: pointer;
}

.country:hover {
    fill: var(--accent-color);
    opacity: 0.3;
}

.office-pin {
    cursor: pointer;
    transition: all 0.3s;
    animation: bounce 2s infinite;
}

.office-pin:hover {
    r: 10;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.pulse-pin {
    animation: pulse 2s infinite;
    pointer-events: none;
}

.map-info-panel {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 300px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    display: none;
    z-index: 10;
}

.map-info-panel.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.info-header {
    padding: 1rem;
    background: var(--accent-gradient);
    color: white;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-header i {
    font-size: 1.2rem;
}

.info-header h4 {
    flex: 1;
    font-size: 1rem;
}

.info-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.info-close:hover {
    transform: rotate(90deg);
}

.info-content {
    padding: 1.5rem;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

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

.team-stat-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

.team-stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

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

.timezone-coverage {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.timezone-coverage h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.timezone-bars {
    max-width: 600px;
    margin: 0 auto;
}

.timezone-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timezone-name {
    width: 120px;
    font-weight: 600;
    color: var(--text-primary);
}

.timezone-bar .bar-container {
    flex: 1;
    height: 30px;
    background: var(--glass-bg);
    border-radius: 15px;
    overflow: hidden;
}

.timezone-bar .bar {
    height: 100%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.timezone-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== LIVE PROJECT DASHBOARD ========== */
.dashboard-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.live-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.last-updated i {
    margin-right: 0.5rem;
    animation: spin 2s infinite linear;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.project-status {
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-status.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
}

.project-status.completed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-bar-container {
    flex: 1;
    height: 10px;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.5s ease;
}

.progress-fill.completed {
    background: linear-gradient(90deg, #10b981, #059669);
}

.progress-percentage {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 45px;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--accent-color);
}

.milestone-timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.milestone i {
    font-size: 1.1rem;
}

.milestone.completed i {
    color: #10b981;
}

.milestone.active i {
    color: var(--accent-color);
}

.testimonial-preview {
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #fbbf24;
}

.testimonial-preview i {
    color: #fbbf24;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.testimonial-preview p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.satisfaction-meter {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.satisfaction-meter h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.meter-container {
    height: 30px;
    background: var(--glass-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.meter-value {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #10b981);
    transition: width 0.5s ease;
}

.meter-stats {
    text-align: center;
}

.meter-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-block;
    margin-right: 0.5rem;
}

.meter-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.meter-total {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-feed {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.activity-feed h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.activity-feed h3 i {
    color: #fbbf24;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--glass-bg);
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
    animation: fadeIn 0.5s;
}

.feed-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 80px;
}

.feed-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
    
    .success-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .success-filters .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .map-info-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 350px;
    }
    
    .team-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timezone-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timezone-name {
        width: auto;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feed-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}