/* 
 * Webbfabriken - Main Stylesheet
 * Premium design with elegant colors
 */

/* ===========================
   Variables & Reset
   =========================== */
:root {
    /* Premium Colors - Webbfabriken Brand */
    --wf-blue: #0066CC;           /* Webbfabriken huvudblå */
    --wf-blue-light: #0080FF;     /* Ljusare blå för hover */
    --wf-blue-dark: #004C99;      /* Mörkare blå för skuggor */
    --wf-blue-pale: #E6F0FF;      /* Mycket ljus blå bakgrund */
    
    /* Premium Black & White */
    --premium-black: #0A0A0A;     /* Nästan svart */
    --premium-dark: #141414;      /* Mörk bakgrund */
    --premium-gray-dark: #1F1F1F; /* Mörk grå */
    --premium-white: #FFFFFF;     /* Ren vit */
    --premium-light: #FAFAFA;     /* Off-white */
    
    /* Accent Colors - Subtle */
    --accent-blue: #0066CC;       /* Huvudaccent */
    --accent-green: #00A86B;      /* Success grön */
    --accent-orange: #FF6B35;     /* Varning orange */
    --accent-red: #DC2626;        /* Danger röd */
    
    /* Gray Scale - Premium */
    --gray-900: #111111;
    --gray-800: #1F1F1F;
    --gray-700: #2D2D2D;
    --gray-600: #4A4A4A;
    --gray-500: #6B6B6B;
    --gray-400: #8C8C8C;
    --gray-300: #B3B3B3;
    --gray-200: #D4D4D4;
    --gray-100: #EBEBEB;
    --gray-50: #F7F7F7;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #141414 100%);
    --gradient-light: linear-gradient(135deg, #FFFFFF 0%, #F7F7F7 100%);
    --gradient-premium: linear-gradient(135deg, #0066CC 0%, #0080FF 50%, #004C99 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(0,102,204,0.03) 0%, rgba(0,102,204,0) 100%);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Subtle & Premium */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 10px 40px rgba(0, 102, 204, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--premium-white);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: var(--wf-blue);
    color: var(--premium-white);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wf-blue);
    text-decoration: none;
    transition: all var(--transition-base);
}

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

button {
    cursor: pointer;
    font-family: inherit;
}

/* ===========================
   Layout
   =========================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ===========================
   Header & Navigation
   =========================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: all var(--transition-base);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--premium-black);
}

.logo-image {
    width: auto;
    max-width: 200px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(0);
    transition: transform var(--transition-base);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
    .logo-image {
        max-width: 150px;
        height: 40px;
    }
}

.logo:hover svg {
    transform: rotate(-5deg);
}

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

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

.nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-base);
    display: inline-block;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--wf-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wf-blue);
    transition: width var(--transition-base);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.8em;
    vertical-align: middle;
    display: inline-block;
    margin-left: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--premium-white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    padding: var(--spacing-md);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
}

/* Mega Menu Styles */
.mega-menu {
    min-width: 700px;
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-2xl);
    left: 0;
    transform: translateX(0);
}

.mega-menu-section {
    flex: 1;
}

.mega-menu-section h4 {
    color: var(--wf-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-100);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .mega-menu {
    transform: translateX(0) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 12px;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    margin-bottom: var(--spacing-xs);
}

.dropdown-item i {
    color: var(--wf-blue);
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background: var(--wf-blue-pale);
    color: var(--wf-blue);
}

.dropdown-item .icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.dropdown-item:hover .icon {
    background: var(--wf-blue);
    color: var(--premium-white);
}

.dropdown-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.dropdown-item small {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.625rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.btn-primary {
    background: var(--wf-blue);
    color: var(--premium-white);
}

.btn-primary:hover {
    background: var(--wf-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    color: var(--premium-white);
}

.btn-secondary {
    background: var(--premium-white);
    color: var(--wf-blue);
    border-color: var(--wf-blue);
}

.btn-secondary:hover {
    background: var(--wf-blue);
    color: var(--premium-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-dark {
    background: var(--premium-black);
    color: var(--premium-white);
}

.btn-dark:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-large {
    padding: 0.875rem 2.25rem;
    font-size: 1.1rem;
}

/* ===========================
   Hero Section - Premium
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, var(--wf-blue) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--wf-blue-dark) 0%, transparent 50%);
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--premium-white);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #0080FF 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Animated particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--wf-blue);
    border-radius: 50%;
    opacity: 0.1;
}

/* ===========================
   Services Section - Premium
   =========================== */
.services {
    padding: var(--spacing-4xl) 0;
    background: var(--gray-50);
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--premium-white);
    border-radius: 16px;
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wf-blue);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--wf-blue-pale);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    background: var(--wf-blue-pale);
    border-radius: 16px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--wf-blue);
    color: var(--premium-white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.service-description {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    padding: var(--spacing-xs) 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--wf-blue);
    font-weight: 600;
    transition: all var(--transition-base);
}

.service-link:hover {
    gap: var(--spacing-md);
    color: var(--wf-blue-light);
}

/* Stats Section */
.stats-section {
    background: var(--premium-black);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

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

.stat-box {
    text-align: center;
    color: var(--premium-white);
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    color: var(--wf-blue-light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--premium-white);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Security Focus Section */
.security-focus {
    background: var(--premium-white);
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.security-content h2 {
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

.security-lead {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.security-highlights {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.highlight-box {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.highlight-box:hover {
    background: var(--wf-blue-pale);
    border-color: var(--wf-blue);
    transform: translateX(10px);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wf-blue);
    color: var(--premium-white);
    border-radius: 12px;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 32px;
    height: 32px;
}

/* Menu SVG Icons */
.menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Check Icons */
.check-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: #10b981;
}

.highlight-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
}

.highlight-content p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Security Shield Animation */
.security-shield {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield-animation {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
    position: absolute;
}

.shield-logo-overlay {
    position: absolute;
    width: 180px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    margin-left: 30px;
    margin-top: 10px;
}

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

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

/* CTA Section */
/* Premium CTA Section */
.cta-section-premium {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    overflow: hidden;
}

/* Animated background gradient */
.cta-section-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(229, 199, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    animation: cta-gradient-shift 15s ease-in-out infinite;
}

@keyframes cta-gradient-shift {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

/* Decorative lines */
.cta-section-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(229, 199, 56, 0.5) 20%, 
        rgba(229, 199, 56, 0.8) 50%, 
        rgba(229, 199, 56, 0.5) 80%, 
        transparent 100%);
}

.cta-wrapper {
    position: relative;
    z-index: 2;
}

.cta-content-premium {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Badge */
.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(229, 199, 56, 0.1);
    border: 1px solid rgba(229, 199, 56, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E5C738;
    margin-bottom: 2rem;
}

/* Title */
.cta-title-premium {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient-gold {
    background: linear-gradient(90deg, #E5C738 0%, #F0D654 50%, #E5C738 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: goldShine 3s ease-in-out infinite;
}

/* Subtitle */
.cta-subtitle-premium {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Row */
.cta-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #E5C738;
    letter-spacing: -0.02em;
}

.cta-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Buttons */
.cta-buttons-premium {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 18px 32px;
    background: #E5C738;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-cta-primary:hover {
    background: #F0D654;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 199, 56, 0.3);
}

.btn-cta-primary i {
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover i {
    transform: translateX(4px);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 18px 32px;
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #E5C738;
    color: #E5C738;
    transform: translateY(-2px);
}

/* Trust text */
.cta-trust-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-trust-text i {
    color: #E5C738;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section-premium {
        padding: 80px 20px;
    }
    
    .cta-stats-row {
        gap: 2rem;
    }
    
    .cta-stat-number {
        font-size: 1.5rem;
    }
    
    .cta-buttons-premium {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .cta-title-premium {
        font-size: 2rem;
    }
    
    .cta-subtitle-premium {
        font-size: 1rem;
    }
}

/* Footer */
.main-footer {
    background: var(--premium-black);
    color: var(--gray-300);
    position: relative;
}

.footer-top {
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: var(--spacing-2xl);
}

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

.footer-logo-image {
    width: auto;
    max-width: 250px;
    height: 75px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-logo-image:hover {
    opacity: 1;
}

/* Mobile footer logo adjustments */
@media (max-width: 768px) {
    .footer-logo-image {
        max-width: 180px;
        height: 55px;
    }
}

.footer-description {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    color: var(--gray-400);
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

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

.footer-column h4 {
    color: var(--premium-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.footer-column-wide {
    min-width: 280px;
}

@media (min-width: 768px) {
    .footer-column-wide {
        flex: 1.5;
    }
}

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

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

.footer-links a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--wf-blue-light);
}

/* Footer Contact Items */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--wf-blue-light);
}

.contact-item address {
    font-style: normal;
    color: var(--gray-300);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    background: rgba(0, 0, 0, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: var(--wf-blue-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wf-blue);
    color: var(--premium-white);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--wf-blue-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-shield {
        height: 200px;
    }
    
    .shield-animation {
        width: 150px;
        height: 150px;
    }
    
    .shield-logo-overlay {
        width: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Body no-scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -280px;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--premium-white);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: block !important;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        color: var(--gray-800);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0,0,0,0.05);
        color: var(--wf-blue);
    }
    
    .nav-cta {
        width: 100%;
        margin-top: var(--spacing-lg);
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-shield {
        height: 200px;
    }
    
    .shield-animation {
        width: 150px;
        height: 150px;
    }
    
    .shield-logo-overlay {
        width: 60px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
        padding: 0 var(--spacing-md);
    }
    
    .footer-column,
    .footer-column-wide {
        padding: 0;
    }
    
    .footer-column h4,
    .footer-column-wide h4 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-md);
        color: var(--premium-white);
    }
    
    .footer-links {
        margin-bottom: 0;
    }
    
    .footer-links li {
        margin-bottom: var(--spacing-xs);
    }
    
    .footer-links a {
        font-size: 0.95rem;
    }
    
    .footer-top {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .footer-bottom {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        text-align: center;
    }
    
    .footer-bottom-links a {
        display: block;
        padding: var(--spacing-xs) 0;
        font-size: 0.875rem;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 0;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    /* Prevent horizontal overflow */
    .main-footer {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Footer contact styling for mobile */
    .footer-contact {
        gap: var(--spacing-lg);
    }
    
    .contact-item {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: center;
        text-align: center;
    }
    
    .contact-item svg {
        margin: 0 auto var(--spacing-xs);
    }
    
    .contact-item div {
        width: 100%;
    }
    
    .contact-item strong {
        display: block;
        margin-bottom: var(--spacing-xs);
        font-size: 0.9rem;
    }
    
    .contact-item a {
        word-break: break-all;
        font-size: 0.85rem;
        line-height: 1.4;
        display: inline-block;
    }
    
    .contact-item address {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Mobile mega menu styles */
    .dropdown-menu,
    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: var(--spacing-sm) !important;
        margin-left: var(--spacing-sm);
        width: auto !important;
        min-width: unset !important;
        display: none;
        background: rgba(0,0,0,0.05);
        border-radius: 8px;
        padding: var(--spacing-sm) !important;
    }
    
    .nav-item.dropdown.active .dropdown-menu,
    .nav-item.dropdown.active .mega-menu {
        display: block;
    }
    
    /* Simplify mega menu for mobile */
    .mega-menu-section {
        margin-bottom: var(--spacing-md);
    }
    
    .mega-menu-section:last-child {
        margin-bottom: 0;
    }
    
    .mega-menu-section h4 {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
        color: var(--gray-700);
        font-weight: 600;
    }
    
    .dropdown-item {
        padding: var(--spacing-xs) var(--spacing-sm) !important;
        margin-bottom: 0.25rem;
    }
    
    .dropdown-item i {
        display: none !important;
    }
    
    .dropdown-item div {
        display: block !important;
    }
    
    .dropdown-item strong {
        display: block;
        font-size: 0.9rem;
    }
    
    .dropdown-item small {
        display: none !important;
    }
    
    /* Simplify dropdown arrow */
    .dropdown-arrow {
        float: right;
        transition: transform 0.3s;
    }
    
    .nav-item.dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    .back-to-top { 
        display: none;
    }
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-control {
    width: 100%;
    padding: 0.625rem var(--spacing-md);
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: var(--premium-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--wf-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }