/* ============================================
   GetSupport Rwanda - Main CSS
   Premium Dark Theme with Glassmorphism
   ============================================ */

/* ------------ CSS Variables ------------ */
:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #3b82f6;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --pink: #ec4899;
    
    --bg-dark: #0f172a;
    --bg-darker: #070e1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.3);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --font-main: 'Inter', 'Space Grotesk', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------ Reset & Base ------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: white; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ------------ Scrollbar ------------ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ------------ Preloader ------------ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo img {
    width: 100px;
    height: 100px;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: loading-bar 2s ease forwards;
}

.preloader-inner p {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 1px;
}

@keyframes loading-bar {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.9)); transform: scale(1.05); }
}

/* ------------ Container ------------ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------ Navbar ------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(7, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: white;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-logo span { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ------------ Buttons ------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    border-color: var(--border);
    color: var(--text-primary);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(6, 182, 212, 0.08);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

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

.btn-outline-white {
    border-color: rgba(255,255,255,0.5);
    color: white;
    background: transparent;
}
.btn-outline-white:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.btn-xl { padding: 15px 30px; font-size: 16px; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }

/* ------------ Hamburger ------------ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.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(5px, -5px); }

/* ------------ Hero Section ------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 14, 26, 0.92) 0%,
        rgba(15, 23, 42, 0.85) 50%,
        rgba(30, 27, 75, 0.88) 100%
    );
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float-particle linear infinite;
    opacity: 0.6;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-desc strong { color: var(--primary); -webkit-text-fill-color: var(--primary); }

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 0 32px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    animation: bounce-scroll 2s infinite;
    transition: var(--transition);
}

.hero-scroll a:hover { border-color: var(--primary); color: var(--primary); }

@keyframes bounce-scroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ------------ Marquee Strip ------------ */
.marquee-strip {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% auto;
    animation: gradient-shift 4s linear infinite;
    padding: 14px 0;
    overflow: hidden;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.marquee-inner {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

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

.marquee-inner span { flex-shrink: 0; }

/* ------------ Sections ------------ */
.section {
    padding: 100px 0;
}

.section-dark {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ------------ Services Grid ------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, linear-gradient(90deg, var(--primary), var(--secondary)));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-cta {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.section-cta p { color: var(--text-secondary); }

/* ------------ Features Grid ------------ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-card p { font-size: 14px; color: var(--text-secondary); }

/* ------------ About Section ------------ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-title { text-align: left; }

.about-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text strong { color: var(--primary); }

.about-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 24px;
}
.about-stat:last-child { border-right: none; padding-right: 0; }

.about-stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.about-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.about-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.about-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mini-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.mini-stat-card:hover { transform: translateY(-4px); border-color: var(--primary); }

.mini-stat-card.accent {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.2);
}

.mini-stat-card i {
    font-size: 28px;
    color: var(--primary);
}

.mini-stat-card strong {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.mini-stat-card span { font-size: 13px; color: var(--text-secondary); }

/* ------------ Team Grid ------------ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 182, 212, 0.1);
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo-wrapper img { transform: scale(1.08); }

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(7, 14, 26, 0.95));
}

.team-social-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(60px);
    transition: var(--transition);
}

.team-card:hover .team-social-overlay { transform: translateX(0); }

.team-social-overlay a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    transition: var(--transition);
}

.team-social-overlay a:hover { background: var(--primary); }

.team-info {
    padding: 24px;
}

.team-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ------------ Testimonials ------------ */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

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

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 60px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: -20px;
}

.testimonial-stars {
    color: var(--warning);
    font-size: 16px;
    margin-bottom: 16px;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.testimonial-author-info strong { display: block; color: white; font-size: 15px; margin-bottom: 2px; }
.testimonial-author-info span { font-size: 13px; color: var(--text-secondary); }

/* ------------ FAQ ------------ */
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.faq-item:hover { border-color: rgba(6, 182, 212, 0.2); }
.faq-item.active { border-color: rgba(6, 182, 212, 0.3); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
}
.faq-item.active .faq-question h4 { color: var(--primary); }

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer-inner {
    padding: 0 28px 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* ------------ Contact Section ------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: rgba(6, 182, 212, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 { color: white; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-details a { color: var(--primary); font-size: 14px; display: block; }
.contact-details a:hover { text-decoration: underline; }
.contact-details span { color: var(--text-secondary); font-size: 13px; }

.social-links-box {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.social-links-box h4 { color: white; font-weight: 600; margin-bottom: 14px; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    transition: var(--transition);
}

.social-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.youtube { background: #ff0000; }

/* ------------ Contact Form ------------ */
.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 28px;
}

/* ------------ Form Elements ------------ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    width: 100%;
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
    background: rgba(6, 182, 212, 0.04);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-dark); color: var(--text-primary); }

.form-group small { font-size: 12px; color: var(--text-muted); }

.form-group input[type="file"] {
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
}

/* ------------ CTA Banner ------------ */
.cta-banner {
    background: linear-gradient(135deg, #0f172a, #1e1b4b, #0f172a);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ------------ Footer ------------ */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

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

.footer-brand img.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.footer-links ul li,
.footer-services ul li { margin-bottom: 10px; }

.footer-links ul li a,
.footer-services ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact ul li a { color: var(--text-secondary); }
.footer-contact ul li a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 6px;
}

.footer-bottom a { color: var(--text-secondary); margin: 0 8px; }
.footer-bottom a:hover { color: var(--primary); }

/* ------------ Modal ------------ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #0f1c30;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px 0;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.modal-header h3 i { color: var(--primary); }
.modal-header p { color: var(--text-secondary); font-size: 14px; }

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-close:hover { background: var(--danger); border-color: var(--danger); color: white; }

.modal-body { padding: 0 32px 32px; }

/* ------------ Chat Widget ------------ */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
    transition: var(--transition);
    position: relative;
    animation: chat-pulse 3s infinite;
}

@keyframes chat-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4); }
    50% { box-shadow: 0 8px 40px rgba(6, 182, 212, 0.7), 0 0 0 8px rgba(6, 182, 212, 0.1); }
}

.chat-toggle:hover { transform: scale(1.1); }

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--danger);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid var(--bg-dark);
}

.chat-box {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    background: #0d1b2e;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.chat-box.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: linear-gradient(135deg, var(--bg-darker), #1e1b4b);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    position: relative;
}

.agent-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.agent-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--bg-darker);
}

.chat-agent strong { color: white; font-size: 14px; display: block; }
.chat-agent span { color: var(--success); font-size: 12px; }

.chat-header button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}
.chat-header button:hover { color: white; }

.chat-messages {
    padding: 16px;
    height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg { display: flex; }
.chat-msg.agent { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.msg-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.agent .msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 16px 16px 16px 4px;
}

.chat-msg.user .msg-bubble {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 16px 16px 4px 16px;
}

.msg-bubble p { margin-bottom: 4px; }
.msg-bubble p:last-child { margin-bottom: 0; }
.msg-bubble strong { color: var(--primary); }
.chat-msg.user .msg-bubble strong { color: white; }

.msg-time {
    display: block;
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
}

.quick-replies {
    padding: 10px 16px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-replies button {
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-replies button:hover { background: var(--primary); color: white; }

.chat-input-area {
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
}

.chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus { border-color: var(--primary); }

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-input button:hover { filter: brightness(1.2); }

/* ------------ Toast Notification ------------ */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 5000;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    justify-content: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.warning { border-color: var(--warning); }

/* ------------ Back to Top ------------ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1400;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ------------ Admin-specific styles (shared) ------------ */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.status-open { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.status-in_progress { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-resolved { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-closed { background: rgba(107, 114, 128, 0.1); color: #9ca3af; }
.status-waiting { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }

/* ------------ Loading Spinner ------------ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

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

/* ------------ Responsive ------------ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .nav-menu { gap: 0; }
    .nav-link { padding: 8px 10px; font-size: 13px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(7, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.open { transform: translateX(0); }
    
    .nav-link {
        font-size: 18px;
        padding: 14px 32px;
        width: 250px;
        text-align: center;
    }
    
    .btn-whatsapp { display: none; }
    
    .hero-stats {
        padding: 20px;
        gap: 0;
    }
    
    .stat-item { padding: 0 16px; }
    .stat-num { font-size: 24px; }
    .stat-divider { height: 30px; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    
    .hero-actions { flex-direction: column; align-items: center; }
    
    .chat-box { width: 300px; right: -10px; }
    
    .modal { border-radius: var(--radius-lg); }
    .modal-body { padding: 0 20px 24px; }
    .modal-header { padding: 24px 20px 0; }
    
    .about-stats { flex-direction: column; gap: 16px; }
    .about-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
    .about-stat:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 480px) {
    .section { padding: 70px 0; }
    .team-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 60px; height: 1px; }
    .about-card-grid { grid-template-columns: 1fr 1fr; }
}
