/* ============================================
   CRM Pro - Public Website Ultra Stylesheet
   ============================================ */

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

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-900: #312e81;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-light: #67e8f9;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --white: #ffffff;
    --bg: #f8fafc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-3: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-hero: linear-gradient(160deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #4f46e5 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.3);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dark); line-height: 1.7; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
}
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--white); }
.nav-logo i { font-size: 1.7rem; color: var(--primary-light); }
.nav-logo span.pro { font-size: 0.65rem; background: var(--gradient-2); padding: 2px 8px; border-radius: 4px; font-weight: 700; vertical-align: super; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.88rem; position: relative; padding: 6px 10px; border-radius: var(--radius); }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 700; }
.nav-links a.active::after { width: 100%; }
.nav-links a::after { content: ''; position: absolute; bottom: 0px; left: 10px; right: 10px; width: auto; height: 2px; background: var(--primary-light); transition: var(--transition); transform: scaleX(0); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 15px; }
.nav-cta .btn-ghost { color: var(--white); padding: 8px 20px; border: 1.5px solid rgba(255,255,255,0.5); border-radius: var(--radius); font-weight: 600; font-size: 0.88rem; background: transparent; }
.nav-cta .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); color: var(--white); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(79,70,229,0.4); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 25px rgba(79,70,229,0.5); }
.btn-white { background: white; color: var(--primary); box-shadow: var(--shadow-lg); }
.btn-white:hover { box-shadow: var(--shadow-xl); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-gradient { background: var(--gradient-2); color: white; box-shadow: 0 4px 15px rgba(79,70,229,0.4); }
.btn-gradient:hover { box-shadow: 0 8px 30px rgba(79,70,229,0.5); filter: brightness(1.1); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { background: var(--dark-800); }
.btn-success { background: var(--success); color: white; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.3) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-content { color: white; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 50px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { text-align: center; }
.hero-stat .value { font-size: 2rem; font-weight: 800; color: white; display: block; }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.hero-visual { position: relative; }
.hero-mockup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #22c55e; }
.mockup-bars { display: flex; flex-direction: column; gap: 14px; }
.mockup-row { display: flex; gap: 12px; align-items: center; }
.mockup-bar {
    height: 12px;
    border-radius: 6px;
    animation: barGrow 2s ease-out forwards;
    opacity: 0;
}
@keyframes barGrow { from { width: 0; opacity: 0; } to { opacity: 1; } }
.mockup-bar:nth-child(1) { width: 75%; background: var(--primary-light); animation-delay: 0.5s; }
.mockup-bar:nth-child(2) { width: 60%; background: var(--accent); animation-delay: 0.7s; }
.mockup-bar:nth-child(3) { width: 85%; background: var(--success); animation-delay: 0.9s; }
.mockup-bar:nth-child(4) { width: 45%; background: var(--warning); animation-delay: 1.1s; }
.mockup-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.mockup-stat-card {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}
.mockup-stat-card .number { font-size: 1.4rem; font-weight: 800; color: white; }
.mockup-stat-card .text { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* ============================================
   TRUSTED BY / LOGOS
   ============================================ */
.trusted-section {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.trusted-section .label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 30px;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.5;
}
.trusted-logos .logo-item { font-size: 1.4rem; font-weight: 800; color: var(--dark-600); display: flex; align-items: center; gap: 8px; }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: white; }
.section-gray { background: var(--bg); }
.section-gradient { background: var(--gradient-hero); color: white; }

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}
.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-dark .section-header .overline { color: var(--accent-light); }
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.feature-icon.purple { background: var(--primary-50); color: var(--primary); }
.feature-icon.blue { background: #eff6ff; color: #3b82f6; }
.feature-icon.green { background: #f0fdf4; color: #22c55e; }
.feature-icon.orange { background: #fff7ed; color: #f97316; }
.feature-icon.pink { background: #fdf2f8; color: #ec4899; }
.feature-icon.cyan { background: #ecfeff; color: #06b6d4; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid-public {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}
.stat-item {
    text-align: center;
    color: white;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ============================================
   SERVICES / HOW IT WORKS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}
.service-card .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 10px 30px rgba(79,70,229,0.3);
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.testimonial-stars {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: flex;
    gap: 2px;
}
.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--dark-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-card blockquote::before { content: '\201C'; font-size: 2rem; color: var(--primary-light); line-height: 0; vertical-align: -0.5em; margin-right: 4px; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-info h4 { font-size: 0.95rem; font-weight: 700; }
.testimonial-info p { font-size: 0.82rem; color: var(--gray); }

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.pricing-card:hover { box-shadow: var(--shadow-xl); }
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}
.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-2);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .pricing-desc { color: var(--gray); font-size: 0.9rem; margin-bottom: 24px; }
.pricing-price { margin-bottom: 30px; }
.pricing-price .amount { font-size: 3.2rem; font-weight: 900; color: var(--dark); }
.pricing-price .period { color: var(--gray); font-size: 0.95rem; }
.pricing-features { margin-bottom: 30px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--dark-600);
}
.pricing-features li i { color: var(--success); font-size: 0.85rem; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(79,70,229,0.3);
    filter: blur(100px);
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}
.cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-card .icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-card p { color: var(--gray); font-size: 0.9rem; }
.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg);
    outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); background: white; }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.blog-card-image {
    height: 200px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}
.blog-card-image .blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.blog-card-meta i { margin-right: 4px; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-card .read-more:hover { gap: 10px; }

/* Blog Single Post */
.blog-post-header { background: var(--gradient-hero); padding: 140px 0 60px; color: white; }
.blog-post-header .category { display: inline-block; background: rgba(255,255,255,0.15); padding: 4px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; }
.blog-post-header h1 { font-size: 2.6rem; font-weight: 800; max-width: 800px; line-height: 1.2; margin-bottom: 20px; }
.blog-post-header .meta { display: flex; gap: 20px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.blog-post-content { padding: 60px 0; }
.blog-post-content .content { max-width: 800px; margin: 0 auto; font-size: 1.05rem; line-height: 1.9; color: var(--dark-600); }
.blog-post-content .content h2 { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin: 40px 0 16px; }
.blog-post-content .content p { margin-bottom: 20px; }
.blog-post-content .content ul, .blog-post-content .content ol { margin: 16px 0; padding-left: 24px; }
.blog-post-content .content li { margin-bottom: 8px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.about-content p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.about-visual {
    background: var(--gradient-2);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 6rem;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { text-align: center; padding: 30px; }
.value-card .icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }
.value-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--gray); font-size: 0.95rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { text-align: center; }
.team-card .team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.team-card h4 { font-size: 1rem; font-weight: 700; }
.team-card p { color: var(--gray); font-size: 0.85rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 16px; }
.footer-brand .logo i { color: var(--primary-light); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.footer-links h4 { color: white; font-weight: 700; font-size: 1rem; margin-bottom: 20px; }
.footer-links a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   NEWSLETTER INLINE
   ============================================ */
.newsletter-inline { display: flex; gap: 10px; max-width: 400px; }
.newsletter-inline input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    color: white;
    outline: none;
    font-size: 0.9rem;
}
.newsletter-inline input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-inline button { padding: 10px 20px; background: var(--primary); color: white; border: none; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: var(--transition); }
.newsletter-inline button:hover { background: var(--primary-dark); }

/* ============================================
   ALERT MESSAGES
   ============================================ */
.alert-public {
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-public.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-public.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid, .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .pricing-card.popular { transform: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid-public { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: var(--dark); padding: 80px 30px 30px;
        transition: var(--transition); z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    .mobile-menu.active { right: 0; }
    .mobile-menu a { display: block; color: rgba(255,255,255,0.8); padding: 14px 0; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .mobile-menu a:hover { color: white; }
    .mobile-menu .mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
    .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 20px; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .features-grid, .services-grid, .testimonials-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stats-grid-public { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item .stat-number { font-size: 2.2rem; }
    .page-hero h1 { font-size: 2rem; }
    .cta-content h2 { font-size: 2rem; }
    .form-row-2 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.15);
}

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

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--gray-200);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content > i {
    font-size: 1.8rem;
    color: var(--warning);
    flex-shrink: 0;
}

.cookie-content > p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-600);
    line-height: 1.6;
    min-width: 200px;
}

.cookie-content > p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-content > p a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track .testimonial-card {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    border-color: var(--primary-light);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.15);
}

/* ============================================
   LEGAL PAGES (Privacy & Terms)
   ============================================ */
.legal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.legal-content .legal-updated {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.legal-content > p {
    font-size: 0.95rem;
    color: var(--dark-600);
    line-height: 1.9;
    margin-bottom: 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 44px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-50);
    position: relative;
}

.legal-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.legal-content ul li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.95rem;
    color: var(--dark-600);
    line-height: 1.8;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

.legal-content ul li strong {
    color: var(--dark);
}

.legal-content a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

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

/* ============================================
   RESPONSIVE - NEW COMPONENTS
   ============================================ */
@media (max-width: 1024px) {
    .carousel-track .testimonial-card {
        min-width: calc(50% - 20px);
    }
    .legal-content {
        padding: 40px 36px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 0 48px;
    }
    .carousel-track .testimonial-card {
        min-width: calc(100% - 20px);
    }
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 14px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .faq-question {
        padding: 20px 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    .legal-content {
        padding: 30px 20px;
    }
    .legal-content h2 {
        font-size: 1.3rem;
    }
}
