/* ============================================
   Global Enhancements - Lighthouse 100
   Mobile-First + PWA + SEO + User Friendly
   Elegant Design with Gradient Colors
   ============================================ */

:root {
    /* Elegant Gradient Colors - Balanced & Soft */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-soft: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);

    /* Balanced Color Palette */
    --color-primary: #667eea;
    --color-primary-dark: #5568d3;
    --color-primary-light: #818cf8;
    --color-secondary: #764ba2;
    --color-accent: #4facfe;
    --color-success: #43e97b;
    --color-warning: #fee140;
    --color-error: #f5576c;

    /* Neutral Colors - Dark Text for Better Contrast */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-text-primary: #0a0e1a;
    --color-text-secondary: #1e293b;
    --color-text-tertiary: #334155;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Shadows - Elegant & Soft */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gradient: 0 10px 30px -5px rgba(102, 126, 234, 0.3);

    /* Transitions - Smooth & Fast */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing - Mobile-First */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius - Modern & Soft */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ============================================
   Performance Optimizations
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure proper contrast for all text - Dark Colors */
p, span, div, li, td, th {
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Stronger contrast for headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
    font-weight: 700;
}

/* Light backgrounds use darker text */
.bg-white,
.bg-slate-50,
.bg-slate-100 {
    color: var(--color-text-primary);
}

/* Dark backgrounds use lighter text */
.bg-slate-900,
.bg-slate-950,
.bg-gradient-primary,
.bg-gradient-secondary,
.bg-gradient-accent {
    color: var(--color-text-on-gradient);
}

.bg-gradient-primary p,
.bg-gradient-secondary p,
.bg-gradient-accent p {
    color: var(--color-text-on-gradient-secondary);
}

/* ============================================
   Paragraph Styles - Balanced Colors
   ============================================ */

.paragraph-style-1,
.paragraph-style-2,
.paragraph-style-3,
.paragraph-style-4,
.paragraph-style-5,
.paragraph-style-6 {
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.paragraph-style-1 {
    font-size: 0.875rem;
    color: #334155;
}
.paragraph-style-2 {
    font-size: 1rem;
    color: #1e293b;
}
.paragraph-style-3 {
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;
}
.paragraph-style-4 {
    font-size: 1.125rem;
    color: #1e293b;
}
.paragraph-style-5 {
    font-size: 1.25rem;
    color: #0f172a;
}
.paragraph-style-6 {
    font-size: 1rem;
    color: #0a0e1a;
    font-weight: 500;
}

/* Paragraph on gradient backgrounds */
.page-header .paragraph-style-1,
.page-header .paragraph-style-2,
.page-header .paragraph-style-3,
.cta-section .paragraph-style-1,
.cta-section .paragraph-style-2,
.cta-section .paragraph-style-3 {
    color: var(--color-text-on-gradient-secondary);
}

/* Para with icon */
.para-with-icon {
    color: #1e293b;
    padding-left: var(--spacing-lg);
    position: relative;
    font-weight: 400;
}

.para-with-icon::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* Application Cards */
.application-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-align: center;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary-light);
}

.app-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.application-card h3 {
    margin-bottom: var(--spacing-md);
    color: #0f172a;
    font-weight: 700;
}

.application-card p {
    color: #1e293b;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.application-card ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0 0;
    text-align: left;
}

.application-card ul li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: #1e293b;
    font-weight: 400;
}

.application-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.advantage-item {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-lg);
    border-radius: var(--radius-full);
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.advantage-item:hover .advantage-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.advantage-item h3 {
    margin-bottom: var(--spacing-md);
    color: #0f172a;
    font-weight: 700;
}

.advantage-item p {
    color: #1e293b;
    margin-bottom: 0;
    font-weight: 400;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================
   Color Balance Check - Ensure Proper Contrast
   ============================================ */

/* Light sections - dark text */
section:not(.page-header):not(.cta-section):not(.contact-section) {
    color: var(--color-text-primary);
}

section:not(.page-header):not(.cta-section):not(.contact-section) p {
    color: var(--color-text-secondary);
}

section:not(.page-header):not(.cta-section):not(.contact-section) h2,
section:not(.page-header):not(.cta-section):not(.contact-section) h3 {
    color: var(--color-text-primary);
}

/* Gradient sections - light text */
.page-header,
.cta-section,
.contact-section {
    color: var(--color-text-on-gradient);
}

.page-header p,
.cta-section p,
.contact-section p {
    color: var(--color-text-on-gradient-secondary);
}

.page-header h1,
.page-header h2,
.page-header h3,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.contact-section h1,
.contact-section h2,
.contact-section h3 {
    color: var(--color-text-on-gradient);
}

/* Soft gradient sections - balanced text */
.service-overview,
.applications {
    color: #0a0e1a;
}

.service-overview h2,
.service-overview h3,
.applications h2,
.applications h3 {
    color: #0a0e1a;
    font-weight: 800;
}

.service-overview p,
.applications p {
    color: #1e293b;
    font-weight: 400;
}

/* Ensure all links have proper contrast */
a {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

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

/* Links on gradient backgrounds */
.page-header a,
.cta-section a,
.contact-section a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-header a:hover,
.cta-section a:hover,
.contact-section a:hover {
    color: white;
}

/* Breadcrumb styling */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: inherit;
    opacity: 0.6;
}

/* ============================================
   Mobile-First Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.875rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1rem, 2vw, 1.25rem); }
h6 { font-size: clamp(0.875rem, 1.5vw, 1rem); }

p {
    margin: 0 0 var(--spacing-md) 0;
    color: #1e293b;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 400;
    line-height: 1.7;
}

/* ============================================
   Elegant Gradient Backgrounds
   ============================================ */

.bg-gradient-primary {
    background: var(--gradient-primary);
    color: white;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.bg-gradient-accent {
    background: var(--gradient-accent);
    color: white;
}

.bg-gradient-soft {
    background: var(--gradient-soft);
    color: var(--color-text-primary);
}

.bg-gradient-warm {
    background: var(--gradient-warm);
    color: white;
}

.bg-gradient-cool {
    background: var(--gradient-cool);
    color: white;
}

/* Gradient Text */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Enhanced Buttons - Elegant & Fast
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px; /* Mobile-friendly touch target */
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-gradient);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Cards - Elegant with Gradients
   ============================================ */

.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.card-gradient {
    background: var(--gradient-soft);
    border: none;
}

.card-gradient-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

/* ============================================
   Enhanced Header - Mobile-First + PWA
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.99) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.header .container {
    position: relative;
}

/* ============================================
   Enhanced Navigation - Gradient Blocks
   ============================================ */

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-base);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.nav-link:hover::before,
.nav-link:focus::before {
    left: 0;
}

.nav-link:hover,
.nav-link:focus {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-link i {
    font-size: 0.875rem;
    transition: transform var(--transition-fast);
}

.nav-link:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

/* ============================================
   Dropdown Menu - Gradient Background (Desktop)
   ============================================ */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--spacing-sm));
    left: 0;
    min-width: 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    list-style: none;
    margin: 0;
    padding: var(--spacing-md);
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-xl);
}

.dropdown-menu > * {
    position: relative;
    z-index: 1;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Mobile-friendly */
    background: transparent;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-base);
    z-index: -1;
    border-radius: var(--radius-lg);
}

.dropdown-menu a:hover::before,
.dropdown-menu a:focus::before {
    left: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: white;
    transform: translateX(8px);
    padding-left: calc(var(--spacing-lg) + 8px);
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover i,
.dropdown-menu a:focus i {
    color: white;
    transform: scale(1.2);
}

/* ============================================
   Mobile Navigation - Gradient Background
   ============================================ */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: var(--spacing-xl);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mobile-nav-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: gradientShift 8s ease infinite;
    pointer-events: none;
}

.mobile-nav-header {
    position: relative;
    z-index: 1;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-xl);
}

.mobile-nav-header .logo {
    color: white;
}

.mobile-nav-header .logo span {
    color: white;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    position: relative;
    z-index: 1;
    flex: 1;
}

.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-nav-menu li {
    margin: 0;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.mobile-nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-base);
    z-index: -1;
}

.mobile-nav-menu a:hover::before,
.mobile-nav-menu a:focus::before {
    left: 0;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a:focus {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav-menu a i {
    width: 24px;
    text-align: center;
    font-size: 1.125rem;
}

.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-menu {
    list-style: none;
    margin: var(--spacing-sm) 0 0 var(--spacing-xl);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu a {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .btn {
    position: relative;
    z-index: 1;
    margin-top: var(--spacing-xl);
}

.mobile-menu-toggle {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), var(--shadow-gradient);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* ============================================
   Enhanced Sections
   ============================================ */

.section {
    padding: var(--spacing-2xl) var(--spacing-md);
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }
}

.section-gradient {
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   Page Header with Gradient Background
   ============================================ */

.page-header {
    position: relative;
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    color: white;
}

.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 var(--spacing-sm);
}

.page-header h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header .page-title-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    max-width: 800px;
}

/* ============================================
   Service Overview with Gradient
   ============================================ */

.service-overview {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.service-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.service-overview .container {
    position: relative;
    z-index: 1;
}

.service-hero {
    display: grid;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .service-hero {
        grid-template-columns: 1fr 1fr;
    }
}

.service-hero-content h2 {
    color: #0a0e1a;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: 800;
}

.service-hero-content p {
    color: #1e293b;
    font-weight: 400;
}

.service-hero-image {
    position: relative;
}

.service-hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
}

.service-hero-image:hover img {
    transform: scale(1.02);
}

.service-hero-image figcaption {
    color: #334155;
    font-weight: 400;
    margin-top: var(--spacing-md);
}

.service-highlights {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.highlight-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    color: var(--color-success);
    font-size: 1.25rem;
}

/* ============================================
   Products & Services with Gradient Cards
   ============================================ */

.products-services {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
    position: relative;
}

.products-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, transparent 100%);
    pointer-events: none;
}

.products-services h2 {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: #0a0e1a;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
}

.products-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.product-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

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

.product-card h3 {
    margin-bottom: var(--spacing-md);
    color: #0f172a;
    font-weight: 700;
}

.product-card p {
    color: #1e293b;
    font-weight: 400;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.product-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: #1e293b;
    font-weight: 400;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.product-brands {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.brand-tag {
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gradient-soft);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
}

.brand-tag.primary {
    background: var(--gradient-primary);
    color: white;
}

/* ============================================
   Additional Section Gradients
   ============================================ */

/* Service Features Section */
.service-features,
.features-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.service-features::before,
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* CTA Section */
.cta-section,
.contact-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2,
.contact-section h2 {
    color: white;
}

.cta-section p,
.contact-section p {
    color: rgba(255, 255, 255, 0.95);
}

/* Main Background Gradient */
main.flex-1 {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

/* Service Hero Image Enhancement */
.service-hero-image figure {
    position: relative;
    margin: 0;
}

.service-hero-image figure::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    opacity: 0.1;
    z-index: -1;
    filter: blur(20px);
}

/* Product Card Gradient Hover */
.product-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Paragraph Styles with Gradient Accents */
.para-bg-blue,
.para-bg-green,
.para-bg-orange,
.para-bg-purple {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: inline-block;
    font-weight: 500;
}

.para-bg-blue {
    background: var(--gradient-accent);
    color: white;
}

.para-bg-green {
    background: var(--gradient-success);
    color: white;
}

.para-bg-orange {
    background: var(--gradient-warm);
    color: white;
}

.para-bg-purple {
    background: var(--gradient-primary);
    color: white;
}

/* Container with Gradient Border */
.container {
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.section:hover .container::before {
    opacity: 0.3;
}

/* ============================================
   Installation Process Section
   ============================================ */

.installation-process {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
    position: relative;
}

.installation-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.installation-process h2 {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: #0a0e1a;
    font-weight: 800;
}

.process-steps {
    display: grid;
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.process-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.process-step:hover::before {
    transform: scaleY(1);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    margin-bottom: var(--spacing-sm);
    color: #0f172a;
    font-weight: 700;
}

.step-content p {
    color: #1e293b;
    font-weight: 400;
}

/* ============================================
   Applications Section
   ============================================ */

.applications {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 35%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.applications h2 {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: #0a0e1a;
    font-weight: 800;
}

.applications-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ============================================
   Why Choose Section
   ============================================ */

.why-choose {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(118, 75, 162, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.why-choose h2 {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    color: #0a0e1a;
    font-weight: 800;
}

/* ============================================
   CTA Section Enhancement
   ============================================ */

.cta-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: gradientShift 8s ease infinite;
    pointer-events: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   General Section Styling
   ============================================ */

section {
    position: relative;
}

section:not(.page-header):not(.cta-section):not(.contact-section) {
    background: white;
}

section:nth-child(even):not(.page-header):not(.cta-section):not(.contact-section) {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* ============================================
   Background Pattern Overlay
   ============================================ */

.page-header::after,
.service-overview::after,
.products-services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(102, 126, 234, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* ============================================
   Enhanced Typography with Gradients
   ============================================ */

h2, h3 {
    position: relative;
}

h2::after,
h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-base);
}

h2:hover::after,
h3:hover::after {
    opacity: 1;
}

/* ============================================
   Enhanced Images - Performance
   ============================================ */

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition-base);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================
   Enhanced Forms - User Friendly
   ============================================ */

input, textarea, select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

input::placeholder, textarea::placeholder {
    color: var(--color-text-tertiary);
}

/* ============================================
   Enhanced Animations - Smooth & Fast
   ============================================ */

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out;
}

.gradient-animate {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* ============================================
   Enhanced Loading States
   ============================================ */

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ============================================
   Enhanced Accessibility
   ============================================ */

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    top: 0;
}

/* Mobile nav sudah di-update di atas */

/* ============================================
   Enhanced Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-3xl) var(--spacing-md);
    margin-top: var(--spacing-3xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 400;
}

.footer a:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: translateX(2px);
}

.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* ============================================
   Performance: Will-Change Hints
   ============================================ */

.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .header,
    .mobile-nav,
    .floating-actions,
    .btn {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* ============================================
   Reduced Motion Support
   ============================================ */

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

/* ============================================
   Dark Mode Support (Future)
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg-primary: #0f172a;
        --color-bg-secondary: #1e293b;
        --color-text-primary: #f1f5f9;
        --color-text-secondary: #cbd5e1;
        --color-border: #334155;
    }
}

/* ============================================
   Desktop Menu Enhancements
   ============================================ */

@media (min-width: 1024px) {
    /* Enhanced desktop navigation */
    .nav {
        display: flex !important;
    }

    .nav-list {
        gap: var(--spacing-sm);
    }

    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 0.9375rem;
    }

    /* Dropdown positioning for desktop */
    .dropdown-menu {
        min-width: 300px;
        padding: var(--spacing-md);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(102, 126, 234, 0.1);
    }

    /* Desktop mobile menu toggle - hide */
    .mobile-menu-toggle {
        display: none;
    }

    /* Desktop mobile nav - hide */
    .mobile-nav {
        display: none;
    }
}

/* ============================================
   Mobile Menu Enhancements (Below 1024px)
   ============================================ */

@media (max-width: 1023px) {
    /* Hide desktop nav on mobile */
    .nav {
        display: none !important;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: inline-flex !important;
    }

    /* Enhanced mobile nav */
    .mobile-nav {
        display: block;
    }
}

/* ============================================
   Language Switcher - Gradient Style
   ============================================ */

.lang-dropdown {
    position: relative;
}

.lang-toggle {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lang-menu {
    position: absolute;
    top: calc(100% + var(--spacing-sm));
    right: 0;
    min-width: 120px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    color: #0f172a;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.lang-option:hover {
    background: var(--gradient-primary);
    color: white;
}

/* ============================================
   Social Links - Gradient Hover
   ============================================ */

.social-link {
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-base);
    z-index: -1;
    border-radius: var(--radius-full);
}

.social-link:hover::before {
    left: 0;
}

.social-link:hover {
    color: white !important;
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CTA Buttons Enhancement
   ============================================ */

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.125rem;
    min-height: 56px;
}

/* ============================================
   Process Steps Enhancement
   ============================================ */

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

/* ============================================
   Final Color Balance - Ensure Proper Contrast
   ============================================ */

/* Ensure all text on white/light backgrounds is dark */
.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-background {
    color: #0a0e1a;
}

.bg-white p,
.bg-slate-50 p,
.bg-slate-100 p,
.bg-background p {
    color: #1e293b;
    font-weight: 400;
}

.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-slate-50 h1,
.bg-slate-50 h2,
.bg-slate-50 h3,
.bg-background h1,
.bg-background h2,
.bg-background h3 {
    color: #0a0e1a;
    font-weight: 700;
}

/* Ensure all text on dark/gradient backgrounds is light */
.bg-slate-900,
.bg-slate-950,
.bg-gradient-primary,
.bg-gradient-secondary,
.bg-gradient-accent,
.bg-gradient-dark {
    color: var(--color-text-on-gradient);
}

.bg-slate-900 p,
.bg-slate-950 p,
.bg-gradient-primary p,
.bg-gradient-secondary p,
.bg-gradient-accent p,
.bg-gradient-dark p {
    color: var(--color-text-on-gradient-secondary);
}

/* Ensure headings maintain proper contrast - Dark Colors */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0a0e1a;
}

/* Override for sections with light backgrounds */
section:not(.page-header):not(.cta-section):not(.contact-section) h1,
section:not(.page-header):not(.cta-section):not(.contact-section) h2,
section:not(.page-header):not(.cta-section):not(.contact-section) h3 {
    color: #0a0e1a;
    font-weight: 800;
}

section:not(.page-header):not(.cta-section):not(.contact-section) p {
    color: #1e293b;
    font-weight: 400;
}

/* Global text color override for better contrast */
* {
    color: inherit;
}

/* Force dark text on all light backgrounds */
div:not(.page-header):not(.cta-section):not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) {
    color: #1e293b;
}

div:not(.page-header):not(.cta-section):not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) p {
    color: #1e293b !important;
}

div:not(.page-header):not(.cta-section):not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) h1,
div:not(.page-header):not(.cta-section):not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) h2,
div:not(.page-header):not(.cta-section):not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) h3 {
    color: #0a0e1a !important;
}

/* List items dark color */
ul:not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) li,
ol:not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) li {
    color: #1e293b !important;
}

/* Table text dark color */
table:not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) td,
table:not(.bg-gradient-primary):not(.bg-gradient-secondary):not(.bg-gradient-accent):not(.bg-gradient-dark):not(.bg-slate-900):not(.bg-slate-950) th {
    color: #1e293b !important;
}

/* Headings on gradient backgrounds */
.bg-gradient-primary h1,
.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-secondary h1,
.bg-gradient-secondary h2,
.bg-gradient-secondary h3,
.bg-gradient-accent h1,
.bg-gradient-accent h2,
.bg-gradient-accent h3,
.page-header h1,
.page-header h2,
.page-header h3,
.cta-section h1,
.cta-section h2,
.cta-section h3 {
    color: var(--color-text-on-gradient);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Fingerprint & CCTV Page Specific Styles
   ============================================ */

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

/* Stat Cards */
.stat {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

.stat h3 {
    color: #0a0e1a;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
}

.stat p {
    color: #1e293b;
    font-weight: 400;
}

/* Service Card */
.service-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.service-card h3 {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: #1e293b;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: #1e293b;
    font-weight: 400;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* Service Icon Wrap */
.service-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: var(--gradient-soft);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon-wrap {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Pricing Card */
.pricing-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card h3 {
    color: #0f172a;
    font-weight: 700;
    margin: var(--spacing-md) 0;
}

.pricing-card p {
    color: #1e293b;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.pricing-card ul li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: #1e293b;
    font-weight: 400;
}

.pricing-card ul li i {
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Contact Item */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    color: #1e293b;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
    background: var(--gradient-soft);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: var(--spacing-xs);
}

.contact-item div {
    flex: 1;
}

.contact-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 var(--spacing-xs) 0;
}

.contact-item strong {
    color: #0f172a;
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-item span {
    color: #64748b;
    font-size: 0.75rem;
}

/* Contact Form */
.contact-form {
    padding: var(--spacing-xl);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md);
}

.contact-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.875rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: #1e293b;
    background: white;
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

/* Internal Links */
.internal-links {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
    display: grid;
    gap: var(--spacing-sm);
}

.internal-links li {
    margin: 0;
}

.internal-links a {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: #1e293b;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.internal-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateX(8px);
}

.internal-links a i {
    width: 20px;
    text-align: center;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.internal-links a:hover i {
    color: white;
    transform: scale(1.2);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    z-index: 999;
}

.floating-actions a {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.5rem;
}

.floating-actions a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.floating-actions a:active {
    transform: translateY(-2px) scale(1.05);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: var(--spacing-lg);
        right: var(--spacing-lg);
    }

    .floating-actions a {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================
   Enhanced Footer Styles
   ============================================ */

.footer-content {
    display: grid;
    gap: var(--spacing-2xl);
    padding: var(--spacing-3xl) 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer-section {
    position: relative;
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all var(--transition-base);
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-links a::before {
    content: '›';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: 0;
    background: transparent;
    border: none;
}

.footer-contact .contact-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-primary-light);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-contact .contact-item h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-xs) 0;
}

.footer-contact .contact-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Footer Newsletter */
.footer-newsletter {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.newsletter-text h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md) var(--spacing-lg);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-bottom-links {
        justify-content: flex-end;
    }
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   Contact Info Section Styles
   ============================================ */

.contact-info-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: var(--gradient-soft);
}

.contact-info-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.contact-info-card .contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-info-card h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-bottom: var(--spacing-lg);
}

.contact-details p {
    color: #1e293b;
    margin: var(--spacing-xs) 0;
    font-size: 0.9375rem;
}

.contact-action {
    margin-top: var(--spacing-md);
}

/* ============================================
   Why Contact Us / Benefits Section
   ============================================ */

.why-contact-us {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
}

.why-contact-us h2 {
    text-align: center;
    color: #0a0e1a;
    font-weight: 800;
    margin-bottom: var(--spacing-3xl);
}

.benefits-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.benefit-card {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
    background: white;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-soft);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.benefit-card p {
    color: #1e293b;
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   FAQ Section Styles
   ============================================ */

.faq-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.faq-section h2 {
    text-align: center;
    color: #0a0e1a;
    font-weight: 800;
    margin-bottom: var(--spacing-3xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--gradient-soft);
}

.faq-question h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: var(--spacing-md);
}

.faq-question i {
    color: var(--color-primary);
    font-size: 0.875rem;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer p {
    padding: 0 var(--spacing-xl) var(--spacing-lg);
    color: #1e293b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   Map Section Styles
   ============================================ */

.map-section {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
}

.map-section h2 {
    text-align: center;
    color: #0a0e1a;
    font-weight: 800;
    margin-bottom: var(--spacing-2xl);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.map-placeholder {
    background: var(--gradient-soft);
    padding: var(--spacing-3xl);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.map-placeholder h3 {
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.map-placeholder p {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Google Form Section Styles
   ============================================ */

.google-form-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.google-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.google-form-container h2 {
    text-align: center;
    color: #0a0e1a;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.google-form-container > p {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   Social Share Section Styles
   ============================================ */

.social-share-section {
    padding: var(--spacing-xl) var(--spacing-md);
    background: white;
    border-top: 1px solid var(--color-border);
}

.social-share-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.social-share-container h3 {
    color: #0a0e1a;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.social-share-container > p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
}

.social-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    color: white;
}

.social-share-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.social-share-btn:active {
    transform: translateY(-2px);
}

/* ============================================
   Right Sidebar Styles
   ============================================ */

.right-sidebar {
    position: sticky;
    top: 100px;
}

.right-sidebar-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* ============================================
   Related Links Section
   ============================================ */

.related-links {
    padding: var(--spacing-2xl) var(--spacing-md);
    background: var(--gradient-soft);
}

.related-links h3 {
    color: #0a0e1a;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.related-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    color: #1e293b;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.related-links a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Background Effects
   ============================================ */

.bg-glow {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.3), transparent),
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(118, 75, 162, 0.2), transparent);
}

.bg-grid-slate {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.shadow-glow {
    box-shadow:
        0 25px 50px -12px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

/* ============================================
   Button Variants
   ============================================ */

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-soft);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-tertiary:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Brand Colors for Footer Social Links
   ============================================ */

.footer-social .social-link.tiktok:hover { background: #000000; }
.footer-social .social-link.linkedin:hover { background: #0077b5; }
.footer-social .social-link.google:hover { background: #4285f4; }
.footer-social .social-link.whatsapp:hover { background: #25d366; }
.footer-social .social-link.facebook:hover { background: #1877f2; }
.footer-social .social-link.twitter:hover { background: #1da1f2; }
.footer-social .social-link.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* ============================================
   Index.html / Homepage Styles
   ============================================ */

/* Home Main Container */
.home-mobile-first {
    overflow-x: hidden;
}

/* Hero Section - Mobile First */
.hero-mobile-first {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: var(--spacing-3xl) var(--spacing-md);
}

.hero-mobile-first::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.4), transparent),
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(118, 75, 162, 0.3), transparent);
    pointer-events: none;
    z-index: 0;
}

.hero-mobile-first > * {
    position: relative;
    z-index: 1;
}

/* Hero Copy */
.hero-copy {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-copy h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-copy h1 span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--spacing-sm);
}

.hero-lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Hero Checklist */
.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.hero-checklist li i {
    color: var(--color-primary-light);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* Hero Meta */
.hero-meta {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 640px) {
    .hero-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-meta-card {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-meta-card p:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
}

.hero-meta-card a,
.hero-meta-card strong {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
}

.hero-meta-card a:hover {
    color: var(--color-primary-light);
}

.hero-meta-card p:last-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-top: var(--spacing-xs);
}

/* Hero Media */
.hero-media {
    position: relative;
}

.hero-media > div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-3xl);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Home Status Section */
.home-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-bottom: 1px solid var(--color-border);
}

/* Home Services Section */
.home-services {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
}

.home-services-grid {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .home-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Section Heading */
.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-heading p:first-child {
    color: var(--color-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.section-heading h2 {
    color: #0a0e1a;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-heading p:last-child {
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.7;
}

/* Home Insight Section */
.home-insight {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
}

/* Feature Items */
.feature {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.feature p:first-child {
    color: var(--color-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature p:last-child {
    color: #1e293b;
    font-size: 0.9375rem;
    margin: 0;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.timeline .feature {
    position: relative;
    margin-left: var(--spacing-2xl);
}

.timeline .feature::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--spacing-2xl) - 6px);
    top: var(--spacing-lg);
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

/* Home Promo Section */
.home-promo {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.home-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.home-promo > * {
    position: relative;
    z-index: 1;
}

/* Promo Card */
.promo-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.promo-card h2 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
}

.promo-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Promo Benefits */
.promo-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.promo-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.promo-benefits li i {
    color: var(--color-primary-light);
    width: 20px;
}

/* Promo Actions */
.promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

/* Home Contact Section */
.home-contact {
    padding: var(--spacing-3xl) var(--spacing-md);
    background: white;
}

/* Animation - Animate In */
.animate-in {
    animation: animateIn 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Staggered animation delays */
.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   Brand Color Classes
   ============================================ */

/* Text Brand Colors */
.text-brand-300 { color: #a5b4fc; }
.text-brand-400 { color: #818cf8; }
.text-brand-500 { color: #6366f1; }
.text-brand-600 { color: #4f46e5; }
.text-brand-700 { color: #4338ca; }

/* Background Brand Colors */
.bg-brand-25 { background-color: #f5f3ff; }
.bg-brand-50 { background-color: #eef2ff; }
.bg-brand-100 { background-color: #e0e7ff; }
.bg-brand-200 { background-color: #c7d2fe; }
.bg-brand-500 { background-color: #6366f1; }
.bg-brand-600 { background-color: #4f46e5; }

/* Border Brand Colors */
.border-brand-200 { border-color: #c7d2fe; }
.border-brand-300 { border-color: #a5b4fc; }
.border-brand-500 { border-color: #6366f1; }

/* ============================================
   Page Theme Classes
   ============================================ */

.page-theme-blue {
    --page-accent: #6366f1;
    --page-accent-light: #818cf8;
}

.page-theme-purple {
    --page-accent: #7c3aed;
    --page-accent-light: #a78bfa;
}

.page-theme-pink {
    --page-accent: #ec4899;
    --page-accent-light: #f472b6;
}

.page-theme-green {
    --page-accent: #10b981;
    --page-accent-light: #34d399;
}

.page-theme-orange {
    --page-accent: #f59e0b;
    --page-accent-light: #fbbf24;
}

/* Page Type Classes */
.page-home .hero-mobile-first {
    min-height: 80vh;
}

.page-service .page-header {
    padding: var(--spacing-2xl) var(--spacing-md);
}

/* ============================================
   Logo & Brand Styling
   ============================================ */

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.logo span {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Font Display Class */
.font-display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

/* ============================================
   Additional Utility Classes
   ============================================ */

/* Backdrop Blur */
.backdrop-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Border Gradient */
.border-gradient {
    border: 2px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        var(--gradient-primary) border-box;
}

/* Shadow Variants */
.shadow-brand {
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
}

/* Radius Variants */
.rounded-3xl { border-radius: 1.5rem; }
.rounded-4xl { border-radius: 2rem; }

/* ============================================
   Responsive Container Adjustments
   ============================================ */

@media (max-width: 640px) {
    .hero-mobile-first {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

    .hero-copy h1 {
        font-size: 1.875rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-meta-card a,
    .hero-meta-card strong {
        font-size: 1.125rem;
    }
}
