/* Professional Homepage CSS - mailedofirm.pl - Enhanced */

/* =========================
   PROFESSIONAL COLOR VARIABLES
   ========================= */
   
:root {
    /* Primary Colors - Government Blue */
    --primary: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-lighter: #dbeafe;
    
    /* Accent Colors - Success Green */
    --accent: #059669;
    --accent-light: #10b981;
    --accent-lighter: #d1fae5;
    
    /* Status Colors */
    --warning: #d97706;
    --success: #059669;
    --danger: #dc2626;
    --info: #0ea5e9;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Source Code Pro', Monaco, Consolas, 'Liberation Mono', monospace;
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-base: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* =========================
   RESET & BASE STYLES
   ========================= */

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    font-display: swap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   PROFESSIONAL TYPOGRAPHY
   ========================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   ENHANCED PROFESSIONAL BUTTONS
   ========================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

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

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    background: var(--primary-lighter);
    border-color: var(--primary);
}

/* =========================
   GOVERNMENT HEADER ENHANCED
   ========================= */

.gov-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 16px 0;
    border-bottom: 3px solid var(--gray-900);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 100;
}

.gov-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="header-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23header-grid)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
}

.gov-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-base);
}

.gov-logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 32px;
    line-height: 1;
    color: var(--accent-light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition-base);
}

.logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    line-height: 1.4;
}

.credential-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

.credential-badge i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

.badge-icon {
    font-size: 16px;
    color: var(--accent-light);
    transition: var(--transition-base);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.credential-badge:hover .badge-icon {
    transform: scale(1.1);
}

/* =========================
   STICKY NAVIGATION
   ========================= */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(15, 23, 42, 0.3);
    z-index: 1000;
    transform: translateY(-100%);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-xl);
}

.sticky-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0.95;
    z-index: -1;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.nav-icon {
    font-size: 20px;
}

.nav-text {
    font-size: 16px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    min-height: 40px; /* Prevent nav CLS */
    min-width: 300px; /* Stable width */
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    min-height: 24px; /* Stable link height */
    display: block;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-link:hover {
    color: white;
    border-bottom-color: #3b82f6;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #1e40af, #0f172a);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.nav-cta:hover .cta-arrow {
    transform: translateX(2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.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(6px, -6px);
}

/* =========================
   HERO SECTION
   ========================= */

.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #0f172a;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero-description {
    font-size: 18px;
    line-height: 1.5;
    color: #4b5563;
    margin-bottom: 28px;
    max-width: 95%;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #1e40af;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30, 58, 138, 0.5);
}

.cta-primary.large {
    padding: 18px 36px;
    font-size: 17px;
    font-weight: 700;
}

.cta-secondary {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 15px;
}

.cta-secondary:hover {
    border-bottom-color: #1e40af;
}

/* =========================
   DASHBOARD PREVIEW
   ========================= */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.generator-slider {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    width: 100%;
    max-width: 100%;
}

.slider-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-title {
    font-weight: 600;
    font-size: 15px;
}

.slider-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.status-dot.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Old dashboard styles removed - replaced with generator-slider */

.search-preview {
    margin-bottom: 24px;
}

.search-field {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.search-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.field-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.field-value {
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
}

.results-preview {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #1e40af;
}

.results-count, .results-price {
    margin-bottom: 8px;
}

.results-count:last-child, .results-price:last-child {
    margin-bottom: 0;
}

/* =========================
   SECTIONS LAYOUT
   ========================= */

.services-section,
.how-it-works-section,
.features-section {
    padding: 80px 0;
}

.services-section {
    background: white;
}

.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.features-section {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   SERVICES GRID
   ========================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px 36px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #0891b2;
}

.service-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-description {
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.75;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.service-description strong {
    color: #1e293b;
    font-weight: 600;
}

.service-description em {
    color: #0891b2;
    font-style: normal;
    font-weight: 500;
}

.service-features {
    list-style: none;
    margin-top: 24px;
}

.service-features li {
    padding: 10px 0;
    color: #64748b;
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.service-features li:hover {
    color: #475569;
    padding-left: 32px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

/* =========================
   STEPS GRID
   ========================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 40px;
}

/* =========================
   FEATURES GRID
   ========================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #f8fafc;
    padding: 28px 32px 20px 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 240px !important; /* Prevent layout shift */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

.feature-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* =========================
   STATS SECTION
   ========================= */

.stats-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-dots)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.stats-section .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #22d3ee;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 2px 10px rgba(34, 211, 238, 0.3);
}

.stats-section .stat-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================
   FINAL CTA SECTION
   ========================= */

.final-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-item {
    color: #10b981;
    font-weight: 500;
    font-size: 16px;
}

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

.gov-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.gov-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-dots)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 24px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #22d3ee;
}

.footer-menu li {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    font-style: italic;
}

.footer-credentials {
    display: flex;
    gap: 16px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.credential:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.credential-icon {
    font-size: 12px;
    color: #3b82f6;
}

.credential-text {
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
}

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

@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .nav-menu {
        gap: 24px;
    }
    
    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 50px 0 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-visual {
        order: 2;
        max-width: 100%;
    }
    
    .generator-slider {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .slider-header {
        padding: 14px 16px;
    }
    
    .slider-title {
        font-size: 14px;
    }
    
    .slider-container {
        padding: 20px 16px;
    }
    
    .slider-track {
        width: 100%;
    }
    
    .slider-slide {
        padding: 0;
    }
    
    .slide-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: left;
        width: 100%;
    }
    
    .slide-icon {
        font-size: 12px !important;
        padding: 8px 12px;
        background: #f0f9ff;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .slide-info {
        flex: 1;
        min-width: 0;
    }
    
    .slide-label {
        font-size: 12px;
    }
    
    .slide-value {
        font-size: 14px;
    }
    
    .slide-result {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 32px;
        text-align: center;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }
    
    .announcement-banner {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 16px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 16px;
        margin-bottom: 24px;
        justify-content: center;
    }
    
    .stat-card {
        min-width: 90px;
        flex: 1;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
    
    .service-title {
        font-size: 20px !important;
    }
    
    .service-description {
        font-size: 16px !important;
    }
    
    .services-grid,
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 16px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    /* Mobile Navigation - CLS PREVENTION */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 58, 138, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px 20px;
        gap: 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-xl);
        border-radius: 0 0 16px 16px;
        margin: 0 -20px;
        width: calc(100vw - 0px);
        max-width: 100%;
        /* CLS PREVENTION */
        min-height: 200px;
        contain: layout style;
        will-change: transform, opacity;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 16px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        font-weight: 500;
        transition: all 0.2s ease;
        margin: 0 -20px;
        width: calc(100% + 40px);
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-light);
        padding-left: 28px;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-actions {
        margin-top: 20px;
        justify-content: center;
        padding: 0 20px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }
    
    .nav-cta {
        width: calc(100% - 40px);
        justify-content: center;
        padding: 16px 24px;
        margin: 0 20px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-cta:hover {
        background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-light) 100%);
        transform: translateY(-1px);
        box-shadow: var(--shadow-xl);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-description {
        font-size: 19px;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
    
    .service-title {
        font-size: 20px !important;
    }
    
    .service-description {
        font-size: 16px !important;
    }
    
    .services-grid,
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 16px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .service-card,
    .feature-card {
        padding: 24px 20px !important;
        justify-content: center !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }
    
    .service-icon,
    .feature-icon {
        margin: 0 auto 16px !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .service-icon > div,
    .feature-icon > div {
        font-size: 12px !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service-title {
        font-size: 18px !important;
        margin: 0 0 10px 0 !important;
        text-align: center;
    }
    
    .service-description {
        font-size: 15px !important;
        margin: 0 !important;
        text-align: center;
    }
    
    .feature-title {
        font-size: 17px !important;
        margin: 0 0 10px 0 !important;
        text-align: center;
    }
    
    .feature-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-item {
        padding: 32px 24px;
    }
    
    .stats-section .stat-icon {
        font-size: 48px !important;
    }
    
    .stats-section .stat-number {
        font-size: 42px;
    }
    
    .stats-section .stat-label {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .stat-description {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        min-width: 85px;
        flex: 1 1 30%;
    }
}

/* ========================================
   MOBILE CLS PREVENTION - Critical Layout Stability
   ======================================== */

@media (max-width: 768px) {
    /* Force stable heights on mobile to prevent CLS */
    .hero-section {
        min-height: 420px !important;
    }
    
    .hero-title {
        min-height: 80px !important;
    }
    
    .hero-description {
        min-height: 60px !important;
    }
    
    .service-card {
        min-height: 280px !important;
    }
    
    .feature-card {
        min-height: 240px !important;
    }
    
    .hero-actions {
        min-height: 120px !important;
    }
    
    .section-title {
        min-height: 40px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile CLS fixes */
    .hero-section {
        min-height: 380px !important;
    }
    
    .hero-title {
        min-height: 70px !important;
    }
    
    .service-card {
        min-height: 260px !important;
    }
    
    .feature-card {
        min-height: 220px !important;
    }
}