/* ============================================
   PRESTIGE CYBERSECURITY DESIGN SYSTEM
   Modern | Sophisticated | Enterprise-Grade
   ============================================ */

:root {
    /* Prestige Color System */
    --bg-primary: #0a0d14;
    --bg-secondary: #0f1218;
    --bg-tertiary: #14171c;
    --bg-card: #1a1d24;
    --bg-card-hover: #1f232a;
    --bg-glass: rgba(26, 29, 36, 0.75);
    --accent-primary: #0d9488;
    --accent-secondary: #14b8a6;
    --accent-tertiary: #2dd4bf;
    --accent-glow: rgba(13, 148, 136, 0.25);
    --accent-subtle: rgba(13, 148, 136, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --border-color: rgba(13, 148, 136, 0.18);
    --border-light: rgba(13, 148, 136, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Premium Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;
    --spacing-6xl: 10rem;
    
    /* Prestige Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 24px 96px rgba(0, 0, 0, 0.7);
    --glow-subtle: 0 0 20px rgba(13, 148, 136, 0.3);
    --glow-medium: 0 0 32px rgba(13, 148, 136, 0.4);
    --glow-strong: 0 0 48px rgba(13, 148, 136, 0.5);
    
    /* Border Radius */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 12% 28%, rgba(13, 148, 136, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 88% 72%, rgba(20, 184, 166, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 1400px) {
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 13, 20, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(10, 13, 20, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-xl);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-svg {
    height: 52px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-svg {
    transform: scale(1.06);
    filter: drop-shadow(0 0 24px rgba(13, 148, 136, 0.7));
}

.logo:hover .logo-svg text[fill="#ffffff"] {
    fill: var(--accent-secondary);
    transition: fill 0.5s ease;
}

.logo:hover .logo-svg text[fill="#0d9488"] {
    fill: var(--accent-tertiary);
    transition: fill 0.5s ease;
}

.logo:hover .logo-svg path[fill="url(#shieldGradient)"] {
    filter: brightness(1.15);
}

.logo:hover .logo-svg line {
    stroke: var(--accent-secondary);
    opacity: 0.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--spacing-xs) 0;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cta-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: var(--spacing-sm) var(--spacing-2xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md), var(--glow-subtle);
    border: 1px solid transparent;
    letter-spacing: -0.01em;
}

.cta-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow-medium);
    border-color: rgba(20, 184, 166, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--accent-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION - Striking Modern Design
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-6xl) 0 var(--spacing-5xl);
    margin-top: 90px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(13, 148, 136, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.015) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.2;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.35;
    }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), var(--accent-primary), transparent);
    animation: scan 12s linear infinite;
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.5);
}

@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    2% { opacity: 0.2; }
    98% { opacity: 0.2; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    will-change: transform, opacity;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-3xl);
    font-size: 0.8125rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.2), transparent);
    animation: scanGlow 3s infinite;
}

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

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: var(--glow-subtle);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

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

.hacker-terminal {
    display: inline-block;
    position: relative;
    min-width: 200px;
    height: 28px;
    overflow: hidden;
}

.terminal-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 20, 0.8);
    border: 1px solid rgba(13, 148, 136, 0.4);
    border-radius: 4px;
    padding: 6px 10px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(13, 148, 136, 0.2);
}

.binary-stream {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    height: 100%;
    justify-content: center;
}

.binary-line {
    display: block;
    color: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(13, 148, 136, 1), 0 0 20px rgba(13, 148, 136, 0.5);
    white-space: nowrap;
    line-height: 1.2;
    animation: binaryGlitch 0.15s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes binaryGlitch {
    0%, 100% {
        opacity: 1;
        transform: translateX(0);
        filter: brightness(1);
    }
    10% {
        opacity: 0.9;
        transform: translateX(-0.5px);
        filter: brightness(1.2);
    }
    20% {
        opacity: 0.95;
        transform: translateX(0.5px);
        filter: brightness(0.9);
    }
    30% {
        opacity: 0.85;
        transform: translateX(-0.3px);
        filter: brightness(1.1);
    }
    40% {
        opacity: 0.92;
        transform: translateX(0.3px);
        filter: brightness(1);
    }
    50% {
        opacity: 0.88;
        transform: translateX(0);
        filter: brightness(1.15);
    }
    60% {
        opacity: 0.93;
        transform: translateX(-0.2px);
        filter: brightness(0.95);
    }
    70% {
        opacity: 0.9;
        transform: translateX(0.2px);
        filter: brightness(1.05);
    }
    80% {
        opacity: 0.87;
        transform: translateX(0);
        filter: brightness(1);
    }
    90% {
        opacity: 0.91;
        transform: translateX(-0.1px);
        filter: brightness(1.1);
    }
}

.terminal-cursor {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(20, 184, 166, 1), 0 0 20px rgba(20, 184, 166, 0.6);
    animation: cursorBlink 0.8s infinite;
    border-radius: 1px;
}

@keyframes cursorBlink {
    0%, 45% {
        opacity: 1;
    }
    46%, 100% {
        opacity: 0.3;
    }
}

.badge-text {
    margin-left: var(--spacing-sm);
    font-family: var(--font-primary);
    letter-spacing: 0.15em;
}

.hero-title {
    font-size: clamp(4.5rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--spacing-2xl);
    letter-spacing: -0.06em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

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

.hero-subtitle {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-5xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    margin-bottom: var(--spacing-6xl);
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: var(--spacing-xl) var(--spacing-3xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1.1875rem;
    border: 2px solid transparent;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-xl), var(--glow-subtle);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.8s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), var(--glow-medium);
    border-color: rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    color: var(--accent-primary);
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
    background: var(--accent-subtle);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--glow-subtle);
    border-color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-6xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-5xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
    font-size: clamp(4rem, 7vw, 6.5rem);
    font-weight: 900;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.04em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ============================================
   SERVICES SECTION - Premium Card Design
   ============================================ */

.services {
    padding: var(--spacing-6xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-6xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.section-description {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 400;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-4xl);
}

@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: var(--spacing-2xl);
    }
}

.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-2xl), var(--glow-subtle);
    background: var(--bg-card-hover);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--border-light);
    box-shadow: var(--shadow-2xl), var(--glow-subtle);
    background: linear-gradient(135deg, var(--bg-glass) 0%, rgba(13, 148, 136, 0.08) 100%);
}

.service-badge {
    position: absolute;
    top: var(--spacing-2xl);
    right: var(--spacing-2xl);
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg), var(--glow-subtle);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-2xl);
    color: var(--accent-primary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.3));
    animation: floatSlow 3s ease-in-out infinite;
}

.service-card:hover .service-icon {
    color: var(--accent-secondary);
    transform: scale(1.12) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(20, 184, 166, 0.6));
    animation: glowPulse 2s ease-in-out infinite;
}

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

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(13, 148, 136, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(13, 148, 136, 0.8));
    }
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.85;
    font-size: 1.1875rem;
    font-weight: 400;
}

.service-features {
    list-style: none;
    margin-top: var(--spacing-2xl);
}

.service-features li {
    color: var(--text-muted);
    padding: var(--spacing-md) 0;
    padding-left: var(--spacing-2xl);
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li::before {
    transform: translateX(4px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: var(--spacing-6xl) 0;
    background: var(--bg-primary);
}

.about-content {
    max-width: 1300px;
    margin: 0 auto;
}

.about-text {
    max-width: 1200px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4xl);
    line-height: 1.9;
    font-weight: 400;
}

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

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: var(--spacing-2xl);
    }
}

.feature-item {
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-item:hover {
    border-color: var(--border-light);
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl), var(--glow-subtle);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-xl);
    color: var(--accent-primary);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.3));
    animation: floatSlow 3s ease-in-out infinite;
}

.feature-item:hover .feature-icon {
    color: var(--accent-secondary);
    transform: scale(1.12) rotate(-5deg);
    filter: drop-shadow(0 0 18px rgba(20, 184, 166, 0.6));
    animation: glowPulse 2s ease-in-out infinite;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-item h4 {
    font-size: 1.625rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.85;
    font-weight: 400;
}

/* ============================================
   CONTACT FORM - Premium Design
   ============================================ */

.quote {
    padding: var(--spacing-6xl) 0;
    background: var(--bg-secondary);
}

.quote-content {
    max-width: 1000px;
    margin: 0 auto;
}

.quote-header {
    text-align: center;
    margin-bottom: var(--spacing-4xl);
}

.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-4xl);
    box-shadow: var(--shadow-2xl);
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.form-group {
    margin-bottom: var(--spacing-2xl);
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-xl);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 5px var(--accent-glow), var(--glow-subtle);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.8;
}

.btn-submit {
    width: 100%;
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-3xl);
    font-size: 1.1875rem;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

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

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-top: var(--spacing-2xl);
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.form-note svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--spacing-6xl) 0 var(--spacing-3xl);
}

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

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-3xl);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.footer-logo .logo-svg {
    height: 45px;
    width: auto;
    opacity: 0.9;
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.85;
    font-size: 1.125rem;
    font-weight: 400;
}

.footer-security-badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent-subtle);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    gap: var(--spacing-md);
}

.footer-security-badge svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.125rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-contact {
    list-style: none;
    color: var(--text-secondary);
}

.footer-contact li {
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-contact svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-dim);
    font-size: 0.9375rem;
    font-weight: 400;
}

/* ============================================
   AI CHATBOT - Modern Prestige Design
   ============================================ */

.chatbot-container {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    z-index: 9999;
    font-family: var(--font-primary);
}

.chatbot-toggle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    box-shadow: var(--shadow-2xl), var(--glow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

.chatbot-toggle:hover {
    transform: scale(1.12);
    box-shadow: var(--shadow-2xl), var(--glow-strong);
    background: var(--accent-secondary);
    animation: pulseGlow 1s ease-in-out infinite;
}

.chatbot-toggle svg {
    width: 44px;
    height: 44px;
}

.chatbot-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-secondary);
    color: var(--bg-primary);
    font-size: 0.625rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-lg);
    letter-spacing: 0.08em;
}

.chatbot-window {
    position: absolute;
    bottom: 110px;
    right: 0;
    width: 550px;
    height: 800px;
    background: var(--bg-glass);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), var(--glow-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    padding: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.chatbot-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar svg {
    width: 32px;
    height: 32px;
}

.chatbot-header-text h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.chatbot-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    font-weight: 500;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s infinite;
}

.chatbot-actions {
    display: flex;
    gap: var(--spacing-md);
}

.chatbot-minimize,
.chatbot-close {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.chatbot-minimize:hover,
.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chatbot-minimize svg,
.chatbot-close svg {
    width: 22px;
    height: 22px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    background: var(--bg-secondary);
}

.chatbot-messages::-webkit-scrollbar {
    width: 10px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

.message {
    display: flex;
    gap: var(--spacing-xl);
    animation: messageSlide 0.5s ease-out;
}

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

.message-avatar {
    width: 52px;
    height: 52px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.message-avatar svg {
    width: 28px;
    height: 28px;
    color: var(--bg-primary);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 24px 24px 4px 24px;
    box-shadow: var(--shadow-lg);
}

.bot-message .message-content {
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    color: var(--text-primary);
    border-radius: 24px 24px 24px 4px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.message-content {
    max-width: 75%;
    padding: var(--spacing-xl);
    line-height: 1.8;
    font-size: 1.125rem;
    font-weight: 400;
}

.message-content p {
    margin-bottom: var(--spacing-sm);
}

.message-content p:last-child {
    margin-bottom: 0;
}

.quick-options {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding-left: 0;
}

.quick-options li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.quick-options li::before {
    content: '• ';
    color: var(--accent-primary);
    font-weight: bold;
}

.chatbot-input-area {
    padding: var(--spacing-2xl);
    background: var(--bg-glass);
    backdrop-filter: blur(32px) saturate(180%);
    border-top: 1px solid var(--border-color);
}

.chatbot-typing-indicator {
    display: flex;
    gap: 10px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.chatbot-typing-indicator span {
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

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

.chatbot-input-wrapper {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.chatbot-input-wrapper input {
    flex: 1;
    padding: var(--spacing-xl);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1.125rem;
    font-family: var(--font-primary);
    transition: all 0.5s ease;
    font-weight: 400;
}

.chatbot-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 5px var(--accent-glow), var(--glow-subtle);
}

.chatbot-send {
    width: 56px;
    height: 56px;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg), var(--glow-subtle);
}

.chatbot-send:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl), var(--glow-medium);
    background: var(--accent-secondary);
}

.chatbot-send svg {
    width: 26px;
    height: 26px;
}

.chatbot-escalate {
    margin-top: var(--spacing-md);
}

.btn-escalate {
    width: 100%;
    padding: var(--spacing-xl);
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    color: var(--accent-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    transition: all 0.5s ease;
    box-shadow: var(--shadow-sm);
}

.btn-escalate:hover {
    background: var(--accent-subtle);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--glow-subtle);
    border-color: var(--accent-secondary);
}

.btn-escalate svg {
    width: 20px;
    height: 20px;
}

.chatbot-window.minimized {
    height: 90px;
}

.chatbot-window.minimized .chatbot-messages,
.chatbot-window.minimized .chatbot-input-area {
    display: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(10, 13, 20, 0.98);
        backdrop-filter: blur(40px) saturate(180%);
        flex-direction: column;
        padding: var(--spacing-3xl);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-2xl);
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: var(--spacing-xl) 0;
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
        font-size: 1.1875rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .cta-btn {
        margin-top: var(--spacing-xl);
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -7px);
    }
    
    .hero {
        padding: var(--spacing-5xl) 0;
        min-height: auto;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        gap: var(--spacing-3xl);
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        right: 20px;
        bottom: 100px;
    }
    
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.75rem;
    }
    
    .service-card {
        padding: var(--spacing-2xl);
    }
    
    .contact-form {
        padding: var(--spacing-2xl);
    }
    
    .hero-stats {
        gap: var(--spacing-xl);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

/* Fade In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Initial Animation States */
.service-card,
.feature-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

/* Hero Animations */
.hero-badge {
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    animation: scaleIn 0.6s ease-out both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item:nth-child(1) { animation-delay: 1.2s; }
.stat-item:nth-child(2) { animation-delay: 1.4s; }
.stat-item:nth-child(3) { animation-delay: 1.6s; }

/* Section Header Animations */
.section-header {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out both;
}

.section-label {
    animation: fadeInDown 0.6s ease-out both;
}

.section-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-description {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Logo Animation */
.logo-svg {
    animation: fadeInLeft 0.8s ease-out;
}

.logo-svg path[fill="url(#shieldGradient)"] {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 7px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Skip to main content for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

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

/* Smooth Transitions */
a, button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection Color */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* Reduced Motion */
@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;
    }
    
    .service-icon,
    .feature-icon {
        animation: none !important;
    }
    
    .chatbot-toggle {
        animation: none !important;
    }
}
