/* ========================================
   AIEXPERTZ - Main Stylesheet
   LIGHT THEME - CSS VARIABLES
   ======================================== */
:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f0f2f7;
    --bg-card: #ffffff;
    --accent-primary: #0066ff;
    --accent-secondary: #4f46e5;
    --accent-tertiary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #0066ff 0%, #4f46e5 50%, #7c3aed 100%);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.1);
    --border-hover: rgba(0, 102, 255, 0.4);
    --focus-ring: 0 0 0 3px rgba(0, 102, 255, 0.3);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ACCESSIBILITY - SKIP LINK
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top var(--transition-normal);
}
.skip-link:focus {
    top: 1rem;
    outline: none;
}

/* ========================================
   ACCESSIBILITY - FOCUS STATES
   ======================================== */
*:focus { outline: none; }
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
    box-shadow: var(--focus-ring);
}

/* ========================================
   SCREEN READER ONLY
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 5px; }
::selection { background: var(--accent-primary); color: #ffffff; }

h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ========================================
   BACKGROUND - LIGHT THEME
   ======================================== */
.bg-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none; z-index: 0;
}

.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15; /* Reduced opacity for light theme */
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.orb-1 {
    width: 800px; height: 800px; top: -300px; right: -200px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.4) 0%, transparent 70%);
    animation: floatOrb1 20s ease-in-out infinite;
}
.orb-2 {
    width: 600px; height: 600px; bottom: -200px; left: -150px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
    animation: floatOrb2 25s ease-in-out infinite;
}

@keyframes floatOrb1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 50px) scale(1.1); } }
@keyframes floatOrb2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, -30px) scale(1.1); } }

/* ========================================
   SVG ICON SYSTEM
   ======================================== */
.icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon svg {
    width: 100%;
    height: 100%;
}
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }
.icon-2xl { width: 64px; height: 64px; }

/* ========================================
   UTILITIES
   ======================================== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.gradient-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-padding { padding: 8rem 0; content-visibility: auto; /* PERFORMANCE */ }

/* ========================================
   NAVIGATION - LIGHT THEME
   ======================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 5%; display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(20px); background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color); transition: all var(--transition-normal);
}
.navbar.scrolled { padding: 0.75rem 5%; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-lg); }

.logo {
    font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 800;
    background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; letter-spacing: -1px; display: flex; align-items: center; gap: 0.5rem;
}
.logo-icon {
    width: 40px; height: 40px; background: var(--accent-gradient); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: var(--bg-primary); -webkit-text-fill-color: var(--bg-primary);
}

.nav-menu { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-link { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; transition: all var(--transition-normal); position: relative; padding: 0.5rem 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-gradient); transition: width var(--transition-normal); }
.nav-link:hover, .nav-link:focus { color: var(--text-primary); }
.nav-link:hover::after, .nav-link:focus::after { width: 100%; }

.nav-cta {
    padding: 0.75rem 1.75rem; background: var(--accent-gradient); border: none; border-radius: var(--radius-full);
    color: #ffffff; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: all var(--transition-normal); box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.nav-cta:hover, .nav-cta:focus { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4); }

.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 5px; z-index: 1001; }
.mobile-toggle span { width: 28px; height: 2px; background: var(--text-primary); transition: all var(--transition-normal); transform-origin: center; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem 2rem; border-radius: var(--radius-full); font-family: 'Outfit', sans-serif;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: all var(--transition-normal);
    border: none; text-decoration: none;
}
.btn-primary { background: var(--accent-gradient); color: #ffffff; box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3); }
.btn-primary:hover, .btn-primary:focus { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--bg-secondary); border-color: var(--accent-primary); }
.btn-icon { width: 20px; height: 20px; }

/* Button Loading State */
.btn-loading { pointer-events: none; opacity: 0.8; }
.btn-loading .btn-text { opacity: 0; }
.btn-loading .btn-spinner { display: block; }
.btn-spinner {
    display: none;
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========================================
   HERO SECTION
   ======================================== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 5% 6rem; position: relative; z-index: 1; overflow: hidden; }
.hero-content { max-width: 1000px; text-align: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.6rem 1.25rem;
    background: rgba(0, 102, 255, 0.08); border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-full); font-size: 0.9rem; color: var(--accent-primary);
    margin-bottom: 2rem; animation: fadeInUp 0.8s ease forwards; opacity: 0;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--accent-primary); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero-title { font-size: clamp(2.75rem, 7vw, 5rem); margin-bottom: 1.5rem; letter-spacing: -2px; animation: fadeInUp 0.8s ease 0.1s forwards; opacity: 0; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-secondary); max-width: 750px; margin: 0 auto 2.5rem; animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.3s forwards; opacity: 0; }

.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border-color); animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.hero-stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Neural Network Background Pattern */
.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    pointer-events: none;
    overflow: hidden;
}
.hero-pattern svg { width: 100%; height: 100%; }

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

/* ========================================
   TRUSTED BY SECTION
   ======================================== */
.trusted-by {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}
.trusted-by-content { text-align: center; }
.trusted-by-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; }
.trusted-by-logos {
    display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap;
    opacity: 0.6;
}
.trusted-logo {
    font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 700;
    color: var(--text-secondary); transition: all var(--transition-normal);
}
.trusted-logo:hover { opacity: 1; color: var(--text-primary); }

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-label { display: inline-block; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-primary); margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.25rem; letter-spacing: -1px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; }

/* ========================================
   ABOUT SECTION
   ======================================== */
.about { background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%); position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; letter-spacing: -1px; }
.about-content p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1.5rem; line-height: 1.9; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.about-feature { display: flex; align-items: flex-start; gap: 1rem; }
.about-feature-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.about-feature-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; font-family: 'Outfit', sans-serif; }
.about-feature-text p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.about-visual { position: relative; }
.about-card-main { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 2.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-card-main::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent-gradient); }
.about-card-icon {
    width: 72px; height: 72px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.about-card-main h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.about-card-main p { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }

.about-card-float { position: absolute; background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: var(--shadow-lg); }
.about-card-float-1 { top: -15px; right: -20px; }
.about-card-float-2 { bottom: -15px; left: -20px; }
.about-float-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.12) 0%, rgba(79, 70, 229, 0.12) 100%);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-primary);
}
.about-float-text { font-size: 0.8rem; }
.about-float-text strong { display: block; font-size: 0.9rem; margin-bottom: 0.1rem; }
.about-float-text span { color: var(--text-muted); }

/* ========================================
   SERVICES SECTION
   ======================================== */
.services { background: var(--bg-secondary); position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.service-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 2rem; transition: all 0.4s ease; position: relative; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-gradient); transform: scaleX(0); transition: transform 0.4s ease; }
.service-card:hover, .service-card:focus-within { transform: translateY(-8px); border-color: var(--border-hover); box-shadow: var(--shadow-xl); }
.service-card:hover::before, .service-card:focus-within::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
    color: var(--accent-primary);
}
.service-card:hover .service-icon { background: var(--accent-gradient); color: #ffffff; transform: scale(1.05); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; font-family: 'Syne', sans-serif; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; flex-grow: 1; }

.service-features { list-style: none; margin-top: auto; /* FIXED: Push to bottom */ }
.service-features li { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.service-features .check-icon { color: var(--accent-primary); width: 16px; height: 16px; }

/* ========================================
   INDUSTRIES SECTION
   ======================================== */
.industries { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); position: relative; z-index: 1; }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.industry-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; text-align: center; transition: all var(--transition-normal);
    cursor: default; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.industry-card::after { content: ''; position: absolute; inset: 0; background: var(--accent-gradient); opacity: 0; transition: opacity var(--transition-normal); z-index: 0; }
.industry-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.industry-card:hover::after { opacity: 0.1; }
.industry-card > * { position: relative; z-index: 1; }

.industry-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal);
    color: var(--accent-primary);
}
.industry-card:hover .industry-icon { transform: scale(1.1); }
.industry-card h4 { font-size: 1rem; font-weight: 600; color: var(--text-primary); font-family: 'Outfit', sans-serif; margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ========================================
   CASE STUDIES
   ======================================== */
.case-studies { background: var(--bg-primary); position: relative; z-index: 1; }
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.case-study-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); overflow: hidden; transition: all 0.4s ease; box-shadow: var(--shadow-md); }
.case-study-card:hover, .case-study-card:focus-within { transform: translateY(-8px); border-color: var(--border-hover); box-shadow: var(--shadow-xl); }

.case-study-image {
    height: 180px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.case-study-image::before { content: ''; position: absolute; inset: 0; background: var(--accent-gradient); opacity: 0.15; }
.case-study-image .icon { color: var(--accent-primary); opacity: 0.8; }

.case-study-content { padding: 1.75rem; }
.case-study-tag { display: inline-block; padding: 0.35rem 0.85rem; background: rgba(0, 102, 255, 0.08); border: 1px solid rgba(0, 102, 255, 0.2); border-radius: var(--radius-full); font-size: 0.75rem; color: var(--accent-primary); margin-bottom: 0.85rem; font-weight: 500; }
.case-study-content h3 { font-size: 1.2rem; margin-bottom: 0.6rem; font-family: 'Syne', sans-serif; }
.case-study-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }

.case-study-stats { display: flex; gap: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border-color); }
.case-study-stat { text-align: left; }
.case-study-stat-value { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--accent-primary); }
.case-study-stat-label { font-size: 0.75rem; color: var(--text-muted); }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: var(--bg-secondary); position: relative; z-index: 1; overflow: hidden; }

.testimonials-container { position: relative; }
.testimonials-slider {
    display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding: 1rem 0 2rem;
}
.testimonials-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
    flex: 0 0 380px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 2rem; scroll-snap-align: start;
    transition: all var(--transition-normal); box-shadow: var(--shadow-md);
}
.testimonial-card:hover, .testimonial-card:focus-within { border-color: var(--border-hover); box-shadow: var(--shadow-lg); }

.testimonial-quote { font-size: 2.5rem; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 1rem; }
.testimonial-text { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 48px; height: 48px; background: var(--accent-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: #ffffff; }
.testimonial-info h4 { font-size: 0.95rem; font-weight: 600; font-family: 'Outfit', sans-serif; margin-bottom: 0.15rem; }
.testimonial-info p { font-size: 0.8rem; color: var(--text-muted); }

/* FIXED: SVG Stars instead of Unicode */
.testimonial-rating { margin-left: auto; display: flex; gap: 2px; }
.testimonial-rating .star { width: 16px; height: 16px; color: #ffd700; }

/* Testimonial Navigation Dots */
.testimonial-dots {
    display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem;
}
.testimonial-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--border-color);
    border: none; cursor: pointer; transition: all var(--transition-normal);
}
.testimonial-dot.active, .testimonial-dot:hover { background: var(--accent-primary); transform: scale(1.2); }

/* ========================================
   PHILOSOPHY
   ======================================== */
.philosophy { background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); position: relative; z-index: 1; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.philosophy-content h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; letter-spacing: -1px; }
.philosophy-content p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1.25rem; line-height: 1.9; }

.philosophy-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.philosophy-pillar {
    text-align: center; padding: 1.25rem; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    transition: all var(--transition-normal); box-shadow: var(--shadow-sm);
}
.philosophy-pillar:hover, .philosophy-pillar:focus-within { border-color: var(--border-hover); transform: translateY(-3px); }
.pillar-icon {
    width: 48px; height: 48px; background: var(--accent-gradient); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem;
    color: #ffffff;
}
.philosophy-pillar h4 { font-size: 0.9rem; font-weight: 600; font-family: 'Outfit', sans-serif; }

.philosophy-visual { position: relative; }
.philosophy-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 2.5rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.philosophy-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent, rgba(0, 102, 255, 0.08), transparent 30%); animation: rotate 15s linear infinite; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
.philosophy-card-inner { position: relative; z-index: 1; }
.philosophy-card-quote { font-size: 3.5rem; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 1rem; }
.philosophy-card blockquote { font-family: 'Syne', sans-serif; font-size: 1.25rem; font-weight: 600; line-height: 1.5; margin-bottom: 1rem; }
.philosophy-card cite { color: var(--text-muted); font-size: 0.9rem; font-style: normal; }

/* ========================================
   FAQ
   ======================================== */
.faq { background: var(--bg-primary); position: relative; z-index: 1; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.faq-intro h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 1rem; letter-spacing: -1px; }
.faq-intro p { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition-normal); box-shadow: var(--shadow-sm); }
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.active { border-color: var(--accent-primary); }

.faq-question {
    width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; text-align: left; color: var(--text-primary);
    font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 600;
    transition: color var(--transition-normal);
}
.faq-question:hover { color: var(--accent-primary); }
.faq-icon {
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-primary); transition: transform var(--transition-normal); flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-content { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }

/* ========================================
   CONTACT
   ======================================== */
.contact { background: var(--bg-secondary); position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin-bottom: 1rem; letter-spacing: -1px; }
.contact-info > p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; }
.contact-method-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(79, 70, 229, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.contact-method-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; font-family: 'Outfit', sans-serif; }
.contact-method-text p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-method-text a { color: var(--accent-primary); transition: color var(--transition-normal); }
.contact-method-text a:hover { color: var(--accent-secondary); }

.contact-form-wrapper { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }

.form-group input, .form-group select, .form-group textarea {
    padding: 0.9rem 1rem; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 0.95rem;
    transition: all var(--transition-normal);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-primary); background: #ffffff;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239090a0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem;
}
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }

/* Form Validation States */
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: #ff5252; }
.form-group .error-message { font-size: 0.8rem; color: #ff5252; margin-top: 0.25rem; display: none; }
.form-group.error .error-message { display: block; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; padding: 1.1rem; position: relative; }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--bg-tertiary); padding: 5rem 5% 2rem; border-top: 1px solid var(--border-color); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1.25rem; display: inline-flex; }
.footer-brand > p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; max-width: 300px; margin-bottom: 1.25rem; }

.footer-links h4 { font-family: 'Syne', sans-serif; font-size: 0.95rem; margin-bottom: 1.25rem; color: var(--text-primary); }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition-normal); }
.footer-links a:hover, .footer-links a:focus { color: var(--accent-primary); }

.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* FIXED: Proper SVG Social Icons */
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
    width: 40px; height: 40px; border: 1px solid var(--border-color); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all var(--transition-normal);
}
.footer-social a:hover, .footer-social a:focus { background: var(--accent-gradient); border-color: transparent; color: var(--bg-primary); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); font-size: 0.85rem; transition: color var(--transition-normal); }
.footer-legal a:hover, .footer-legal a:focus { color: var(--accent-primary); }

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px;
    background: var(--accent-gradient); border: none; border-radius: 50%;
    color: #ffffff; cursor: pointer; opacity: 0; visibility: hidden;
    transition: all var(--transition-normal); z-index: 999;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover, .scroll-top:focus { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35); }
.scroll-top svg { width: 20px; height: 20px; }

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 1.25rem 5%; z-index: 9999;
    display: none; /* Show via JS */
    animation: slideUp 0.4s ease;
}
.cookie-banner.show { display: block; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.cookie-content {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.cookie-text a { color: var(--accent-primary); }
.cookie-buttons { display: flex; gap: 0.75rem; }
.cookie-btn {
    padding: 0.6rem 1.25rem; border-radius: var(--radius-full); font-size: 0.85rem;
    font-weight: 600; cursor: pointer; transition: all var(--transition-normal);
}
.cookie-btn-accept { background: var(--accent-gradient); color: var(--bg-primary); border: none; }
.cookie-btn-decline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); }
.cookie-btn:hover { transform: translateY(-2px); }

/* ========================================
   ANIMATIONS
   ======================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

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

@media (max-width: 1024px) {
    .about-grid, .philosophy-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trusted-by-logos { gap: 2rem; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 5%; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
        background: var(--bg-secondary); flex-direction: column; align-items: flex-start;
        padding: 5rem 1.5rem 2rem; gap: 1.25rem; transition: right var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.05rem; }
    .nav-cta { display: none; }
    .mobile-toggle { display: flex; }

    .hero { padding: 6rem 5% 4rem; }
    .hero-stats { gap: 1.5rem; }
    .services-grid, .case-studies-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .philosophy-pillars { grid-template-columns: 1fr; gap: 0.75rem; }
    .form-row { grid-template-columns: 1fr; }
    .testimonial-card { flex: 0 0 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .about-card-float { position: relative; top: auto; right: auto; bottom: auto; left: auto; margin-top: 1rem; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .industries-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .trusted-by-logos { flex-direction: column; gap: 1.5rem; }
}

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