/* ===============================================
   MHM IT - Styles.css
   Dark Premium Metallic Theme
   Base colors: #0d1117, #bfc7d5, #3b82f6, #6d28d9
   =============================================== */

/* ===============================================
   CSS Variables (Design Tokens)
   =============================================== */
:root {
    /* Colors - Main Brand Palette */
    --bg: #0d1117;
    --bg-soft: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --accent-blue: #3b82f6;
    --accent-purple: #6d28d9;
    --accent-cyan: #22d3ee;
    --color-gradient: linear-gradient(135deg, #3b82f6 0%, #6d28d9 100%);
    
    /* Legacy color aliases for compatibility */
    --color-bg-primary: var(--bg);
    --color-bg-secondary: var(--bg-soft);
    --color-bg-tertiary: #1f2937;
    --color-text-primary: var(--text);
    --color-text-secondary: var(--muted);
    --color-accent-blue: var(--accent-blue);
    --color-accent-purple: var(--accent-purple);
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --line-height-base: 1.6;
    
    /* 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: 5rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 70px;
    
    /* Effects */
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    --box-shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.3);
    --icon-glow-blue: 0 0 15px rgba(59, 130, 246, 0.2), 0 0 25px rgba(109, 40, 217, 0.1);
    --icon-glow-purple: 0 0 15px rgba(109, 40, 217, 0.2), 0 0 25px rgba(59, 130, 246, 0.1);
    --transition-speed: 0.3s;
}

/* ===============================================
   CSS Reset & Base Styles
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family-base);
    line-height: var(--line-height-base);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===============================================
   Header & Navigation
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.header.scrolled {
    background-color: rgba(13, 17, 23, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(59, 130, 246, 0.1);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.navbar {
    height: var(--header-height);
}

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

.logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
    transition: transform var(--transition-speed) ease, filter var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.7));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
}

.nav-link {
    position: relative;
    font-size: var(--font-size-lg);
    font-weight: 600;
    padding: var(--spacing-sm) 0;
    color: #e5e7eb;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: #22d3ee;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #22d3ee;
    transition: width var(--transition-speed) ease;
}

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: var(--spacing-lg);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.lang-btn:hover {
    color: var(--text);
    transform: scale(1.05);
}

.lang-btn.active {
    color: var(--accent-cyan);
    font-weight: 700;
}

.lang-separator {
    color: var(--muted);
    font-size: var(--font-size-base);
    user-select: none;
}

/* Gratis Tools Nav Link */
.gratis-tools-nav {
    margin-left: var(--spacing-lg);
}

.gratis-tools-link {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: var(--color-gradient);
    color: #ffffff;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
    display: inline-block;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.gratis-tools-link::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(109, 40, 217, 0.4) 100%);
    border-radius: 6px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: -1;
    filter: blur(8px);
}

.gratis-tools-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gratis-tools-link:hover::before {
    opacity: 1;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
}

.hamburger {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-speed) ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-speed) ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile menu toggle active state */
.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===============================================
   Hero Section
   =============================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    padding-bottom: var(--spacing-4xl);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

/* ===============================================
   Buttons
   =============================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-gradient);
    color: #ffffff;
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(59, 130, 246, 0.7);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3),
                0 1px 4px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid transparent;
    background-image: linear-gradient(#0d1117, #0d1117), var(--color-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover::before {
    opacity: 0.1;
}

.btn-secondary:hover {
    background-image: linear-gradient(rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.1)), var(--color-gradient);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2),
                0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero Visual Mockup */
.hero-visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    perspective: 1000px;
}

.dashboard-mockup {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(59, 130, 246, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    will-change: transform;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 
                0 0 50px rgba(59, 130, 246, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.dashboard-nav {
    display: flex;
    gap: 12px;
}

.nav-item {
    width: 60px;
    height: 8px;
    background: rgba(156, 163, 175, 0.3);
    border-radius: 4px;
}

.nav-item.active {
    background: var(--color-gradient);
}

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

.chart-placeholder {
    background: rgba(31, 41, 55, 0.5);
    border-radius: 8px;
    padding: 20px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-chart {
    width: 100%;
    height: 100%;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-box {
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Floating Tool Cards */
.tool-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(31, 41, 55, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(59, 130, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(59, 130, 246, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.7);
}

.tool-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tool-card-1 {
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.tool-card-2 {
    top: 15%;
    left: -8%;
    animation-delay: 0.5s;
}

.tool-card-3 {
    bottom: 25%;
    right: -10%;
    animation-delay: 1s;
}

.tool-card-4 {
    bottom: 0%;
    left: -5%;
    animation-delay: 1.5s;
}

.tool-card-5 {
    top: 50%;
    right: -12%;
    animation-delay: 2s;
}

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

/* ===============================================
   Value Proposition Section
   =============================================== */
.value-proposition {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(17, 24, 39, 0.95) 100%);
    position: relative;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    justify-items: center;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.9));
    padding: var(--spacing-2xl);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

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

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(59, 130, 246, 0.15);
}

.benefit-icon {
    width: 120px;
    height: 120px;
    background: var(--color-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3),
                0 0 40px rgba(109, 40, 217, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    line-height: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4),
                0 0 60px rgba(109, 40, 217, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.benefit-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    text-align: center;
    width: 100%;
}

.benefit-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

/* ===============================================
   Premium Automation Section
   =============================================== */
.premium-automation {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
    position: relative;
    overflow: hidden;
}

.premium-automation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(109, 40, 217, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.premium-automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.premium-automation-content {
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.premium-automation .section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.premium-automation .section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--muted);
    line-height: 1.7;
    max-width: 90%;
}

.premium-automation-visual {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.automation-illustration {
    width: 100%;
    height: auto;
    max-width: 600px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.15));
}

/* Animation for fade in up effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive layout */
@media (max-width: 968px) {
    .premium-automation {
        padding: 3.5rem 0;
    }
    
    .premium-automation-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .premium-automation-content {
        text-align: center;
    }
    
    .premium-automation .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .premium-automation .section-subtitle {
        font-size: var(--font-size-base);
        max-width: 100%;
    }
    
    .automation-illustration {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .premium-automation .section-title {
        font-size: var(--font-size-xl);
        line-height: 1.4;
    }
    
    .premium-automation .section-subtitle {
        font-size: var(--font-size-sm);
    }
}

/* ===============================================
   Our Solutions Section
   =============================================== */
.solutions-section {
    padding: 3.5rem 0;
    background: var(--bg-soft);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    justify-items: center;
}

.solution-card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95), rgba(31, 41, 55, 0.9));
    padding: var(--spacing-2xl);
    border-radius: 16px;
    border: 1px solid rgba(109, 40, 217, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(109, 40, 217, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

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

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(109, 40, 217, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(109, 40, 217, 0.15);
}

.solution-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 30px rgba(109, 40, 217, 0.3),
                0 0 40px rgba(59, 130, 246, 0.2),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(109, 40, 217, 0.4),
                0 0 60px rgba(59, 130, 246, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.solution-icon svg {
    width: 44px;
    height: 44px;
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.solution-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    text-align: center;
}

.solution-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    text-align: center;
}

.solution-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.2), rgba(59, 130, 246, 0.15));
    color: #22d3ee;
    border-radius: 24px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-top: auto;
    border: 1px solid rgba(109, 40, 217, 0.3);
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-tag {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.3), rgba(59, 130, 246, 0.25));
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Add animation for solution cards */
.solution-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile variations for solutions grid */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Alternate card styling for mobile to create visual variety */
    .solution-card:nth-child(even) {
        background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%);
    }
    
    .solution-card:nth-child(odd) .solution-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===============================================
   What We Do Section (Services)
   =============================================== */
.what-we-do {
    padding: 3.5rem 0;
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    justify-items: center;
}

.service-card {
    background: var(--bg);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    border: 1px solid rgba(109, 40, 217, 0.2);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

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

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--icon-glow-purple);
    flex-shrink: 0;
    line-height: 1;
}

.service-icon svg {
    width: 44px;
    height: 44px;
    stroke: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text);
    text-align: center;
    width: 100%;
}

.service-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

/* ===============================================
   Why Choose MHM IT Section
   =============================================== */
/* REMOVED - Section was redundant with Value Proposition */

/* ===============================================
   CTA Section
   =============================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #0d1117 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(109, 40, 217, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: var(--font-size-xl);
    color: var(--muted);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   Shared Section Styles
   =============================================== */
.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--muted);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

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

.feature-card {
    background: var(--bg-soft);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

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

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    flex-shrink: 0;
    line-height: 1;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
}

/* ===============================================
   Products Section
   =============================================== */
.products-section {
    padding: 3.5rem 0;
    background: var(--bg);
}

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

.product-card {
    background: var(--bg-soft);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid rgba(109, 40, 217, 0.2);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-purple);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.15);
}

.product-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
    line-height: 1;
}

.product-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text);
}

.product-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.product-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Fade-in animation for cards */
.feature-card,
.product-card,
.benefit-card,
.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.product-card.visible,
.benefit-card.visible,
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for professional feel */
.benefit-card:nth-child(1) {
    transition-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    transition-delay: 0.2s;
}

.benefit-card:nth-child(3) {
    transition-delay: 0.3s;
}

.solution-card:nth-child(1) {
    transition-delay: 0.1s;
}

.solution-card:nth-child(2) {
    transition-delay: 0.2s;
}

.solution-card:nth-child(3) {
    transition-delay: 0.3s;
}

.solution-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===============================================
   Gratis Tools Teaser Section
   =============================================== */
.free-tools-teaser {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-top: 1px solid rgba(109, 40, 217, 0.15);
    border-bottom: 1px solid rgba(109, 40, 217, 0.15);
    position: relative;
}

.free-tools-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(109, 40, 217, 0.4), transparent);
}

.free-tools-teaser::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.free-tools-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.free-tools-text {
    flex: 1;
    min-width: 300px;
}

.free-tools-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-sm);
}

.free-tools-text .section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.free-tools-cta {
    flex-shrink: 0;
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
}

@media (max-width: 768px) {
    .free-tools-content {
        flex-direction: column;
        text-align: center;
    }
    
    .free-tools-text .section-title,
    .free-tools-text .section-subtitle {
        text-align: center;
    }
    
    .free-tools-cta {
        width: 100%;
    }
    
    .btn-lg {
        width: 100%;
    }
}

/* Old free tools styles - keep for other pages */
.free-tools {
    padding: 5rem 0;
    background: var(--bg-soft);
}

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

.tool-card {
    background: var(--bg);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--bg), var(--bg)),
        linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

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

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.2);
}

.tool-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-description {
    font-size: var(--font-size-base);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.tool-card .btn-primary {
    width: 100%;
}

/* ===============================================
   Page Section (for other pages)
   =============================================== */
.page-section {
    min-height: calc(100vh - var(--header-height));
    padding: calc(var(--header-height) + var(--spacing-3xl)) var(--spacing-lg) var(--spacing-3xl);
}

.page-section h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xl);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-section p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

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

.footer {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, #0a0e14 100%);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-blue) 50%, 
        transparent 100%);
}

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

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

.footer-column-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.footer-address {
    font-style: normal;
    color: var(--muted);
    line-height: 1.8;
}

.footer-address p {
    margin: 0.25rem 0;
    font-size: var(--font-size-sm);
}

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

.footer-nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: all var(--transition-speed) ease;
    display: inline-block;
    position: relative;
}

.footer-nav-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all var(--transition-speed) ease;
    color: var(--accent-blue);
}

.footer-nav-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-nav-link:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.footer-social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.footer-social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(229, 231, 235, 0.1);
    text-align: center;
}

.footer-copyright {
    color: var(--muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-nav {
        align-items: center;
    }
    
    .footer-nav-link::before {
        display: none;
    }
    
    .footer-nav-link:hover {
        transform: translateX(0);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-address {
        text-align: center;
    }
}

/* Old footer styles - kept for compatibility */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-company {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.footer-company p {
    color: var(--text);
    line-height: 1.6;
}

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

.footer-email {
    color: var(--accent-blue);
    font-size: var(--font-size-lg);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.footer-email:hover {
    color: var(--accent-purple);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-sm) var(--spacing-xl);
    background: #25D366;
    color: #ffffff;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.whatsapp-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    font-size: var(--font-size-2xl);
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.whatsapp-icon-btn:hover {
    background: #22c55e;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    text-align: center;
}

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

.footer-link {
    color: var(--muted);
    font-size: var(--font-size-sm);
    transition: color var(--transition-speed) ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent-blue);
}

.footer-separator {
    color: var(--muted);
    font-size: var(--font-size-sm);
}

/* ===============================================
   Product Detail Cards (for products.html)
   =============================================== */
.product-detail-card {
    background: var(--bg-soft);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    border: 1px solid rgba(109, 40, 217, 0.2);
    margin-bottom: var(--spacing-2xl);
    transition: all var(--transition-speed) ease;
}

.product-detail-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.2);
}

.product-detail-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-detail-header .product-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    flex-shrink: 0;
}

.product-detail-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--spacing-sm);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.product-detail-description {
    font-size: var(--font-size-lg);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.product-features,
.product-tech {
    margin-top: var(--spacing-xl);
}

.product-features h3,
.product-tech h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    color: var(--muted);
    line-height: 1.8;
    position: relative;
}

.product-features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.product-tech p {
    color: var(--muted);
    line-height: 1.8;
}

.product-tech strong {
    color: var(--accent-blue);
    font-weight: 600;
}

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

/* ===============================================
   Responsive Design (Mobile-First)
   =============================================== */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --font-size-2xl: 1.25rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        background-color: rgba(13, 17, 23, 0.98);
        padding: var(--spacing-2xl);
        gap: var(--spacing-lg);
        transition: left var(--transition-speed) ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: var(--font-size-lg);
        padding: var(--spacing-md) 0;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }
    
    .gratis-tools-nav {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }
    
    .gratis-tools-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tool-card {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .tool-icon {
        font-size: 16px;
    }
    
    .tool-card-1 {
        top: -8%;
        right: 0%;
    }
    
    .tool-card-2 {
        top: 20%;
        left: -5%;
    }
    
    .tool-card-3 {
        bottom: 20%;
        right: -5%;
    }
    
    .tool-card-4 {
        bottom: 5%;
        left: 0%;
    }
    
    .tool-card-5 {
        top: 45%;
        right: -8%;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .free-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    :root {
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-xl);
    }
}

/* ===============================================
   Cookie Consent Banner
   =============================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(13, 17, 23, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--accent-blue);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookie-consent-message {
    color: var(--text);
    font-size: var(--font-size-base);
    line-height: 1.6;
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: var(--spacing-md) var(--spacing-2xl);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-family: var(--font-family-base);
}

.cookie-accept {
    background: var(--color-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.cookie-consent-link {
    color: var(--accent-blue);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    white-space: nowrap;
}

.cookie-consent-link:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* Mobile responsiveness for cookie banner */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .cookie-consent-message {
        font-size: var(--font-size-sm);
    }
}

/* ===============================================
   Invoice Generator Page Layout
   Professional invoice builder UI/UX
   =============================================== */

/* Invoice page section */
.invoice-generator-section {
    padding: 2rem 0 4rem;
}

/* Main invoice card container */
.invoice-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-soft);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-soft), var(--bg-soft)), 
                      linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--box-shadow-lg);
}

/* Invoice page header */
.invoice-header-title {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(109, 40, 217, 0.2);
}

.invoice-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(var(--icon-glow-blue));
}

.invoice-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invoice-subtitle {
    font-size: var(--font-size-base);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Invoice form container */
.invoice-form {
    color: var(--text);
}

/* Two-column grid for company and client details */
.invoice-parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Form sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(109, 40, 217, 0.2);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-totals {
    margin-bottom: 2rem;
}

/* Section titles */
.form-section-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 0.75rem;
}

.form-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.2em;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border-radius: 2px;
}

/* Form stack layout (vertical) */
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Invoice meta grid (3 columns) */
.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Form groups */
.form-group {
    display: flex;
    flex-direction: column;
}

/* Form labels */
.form-label {
    font-size: var(--font-size-sm);
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form inputs */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg);
    border: 1px solid rgba(109, 40, 217, 0.3);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: var(--muted);
    opacity: 0.5;
}

/* Section header with button */
.section-header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-with-button .form-section-title {
    margin-bottom: 0;
}

/* Add line button */
.btn-add-line {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-add-line:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: var(--border-radius);
}

/* Invoice table */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--border-radius);
}

.invoice-table thead {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
}

.invoice-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-blue);
}

.invoice-table td {
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid rgba(109, 40, 217, 0.15);
    vertical-align: middle;
}

.invoice-table tbody tr:last-child td {
    border-bottom: none;
}

.invoice-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.03);
}

/* Table column alignment */
.col-description {
    width: 40%;
}

.col-quantity {
    width: 12%;
    text-align: center;
}

.col-price {
    width: 15%;
    text-align: right;
}

.col-vat {
    width: 13%;
    text-align: center;
}

.col-total {
    width: 15%;
    text-align: right;
}

.col-actions {
    width: 5%;
    text-align: center;
}

.invoice-table th.col-quantity,
.invoice-table th.col-price,
.invoice-table th.col-vat,
.invoice-table th.col-total,
.invoice-table th.col-actions {
    text-align: center;
}

.invoice-table th.col-price,
.invoice-table th.col-total {
    text-align: right;
}

/* Table inputs */
.invoice-table input,
.invoice-table select {
    width: 100%;
    padding: 0.5rem 0.625rem;
    background: var(--bg-soft);
    border: 1px solid rgba(109, 40, 217, 0.3);
    border-radius: 4px;
    color: var(--text);
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
}

.invoice-table input:focus,
.invoice-table select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--bg);
}

/* Line total cell */
.line-total-cell {
    font-weight: 700;
    color: var(--text);
    text-align: right;
    font-size: var(--font-size-base);
}

/* Remove button */
.btn-remove {
    background: transparent;
    border: 1.5px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.btn-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    transform: scale(1.1);
}

/* Totals panel */
.totals-panel {
    max-width: 450px;
    margin-left: auto;
    padding: 1.75rem;
    background: var(--bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(109, 40, 217, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: var(--font-size-base);
}

.total-label {
    color: var(--muted);
    font-weight: 500;
}

.total-amount {
    font-weight: 700;
    color: var(--text);
    font-size: var(--font-size-lg);
}

.total-row-grand {
    border-top: 2px solid var(--accent-blue);
    margin-top: 1rem;
    padding-top: 1.25rem;
}

.total-amount-grand {
    font-weight: 800;
    font-size: var(--font-size-2xl);
    background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Invoice actions */
.invoice-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(109, 40, 217, 0.2);
    flex-wrap: wrap;
}

.btn-download,
.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-download .btn-icon,
.btn-reset .btn-icon {
    font-size: 1.25rem;
}

.btn-link {
    color: var(--muted);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.btn-link:hover {
    color: var(--accent-blue);
    transform: translateX(-3px);
}

/* ===============================================
   Invoice Print Styles
   Clean, professional print layout
   =============================================== */
@media print {
    /* Hide everything except invoice content */
    body * {
        visibility: hidden;
    }
    
    .invoice-card,
    .invoice-card * {
        visibility: visible;
    }
    
    .invoice-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20mm;
        background: white !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Hide interactive elements */
    .invoice-actions,
    .btn-add-line,
    .btn-remove,
    .section-header-with-button button,
    header,
    footer,
    .header,
    .footer,
    nav,
    .navbar {
        display: none !important;
    }
    
    /* Clean text colors */
    body,
    .invoice-card,
    .invoice-form,
    .form-section-title,
    .form-label,
    .form-input,
    .invoice-table,
    .invoice-table th,
    .invoice-table td,
    .total-label,
    .total-amount,
    .line-total-cell {
        color: #000 !important;
        background: white !important;
    }
    
    /* Remove gradients */
    .invoice-title,
    .total-amount-grand {
        background: none !important;
        -webkit-text-fill-color: #000 !important;
        color: #000 !important;
    }
    
    /* Clean borders */
    .invoice-card,
    .form-section,
    .invoice-header-title,
    .totals-panel,
    .form-input,
    .invoice-table input,
    .invoice-table select {
        border-color: #ccc !important;
    }
    
    /* Table styling for print */
    .invoice-table {
        border: 1px solid #ccc !important;
    }
    
    .invoice-table th {
        background: #f5f5f5 !important;
        border-bottom: 2px solid #333 !important;
    }
    
    .invoice-table td {
        border-bottom: 1px solid #ddd !important;
    }
    
    /* Totals panel */
    .totals-panel {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .total-row-grand {
        border-top: 2px solid #333 !important;
    }
    
    /* Read-only inputs for print */
    .form-input,
    .invoice-table input,
    .invoice-table select {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
    }
    
    /* Page breaks */
    .invoice-parties-grid,
    .form-section,
    .invoice-table {
        page-break-inside: avoid;
    }
}

/* ===============================================
   Invoice Page Responsive Design
   Mobile-first responsive adjustments
   =============================================== */

/* Tablets and below */
@media (max-width: 992px) {
    .invoice-card {
        padding: 2rem;
    }
    
    .invoice-parties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .invoice-meta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .invoice-generator-section {
        padding: 1rem 0 2rem;
    }
    
    .invoice-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .invoice-header-title {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .invoice-icon {
        font-size: 2.5rem;
    }
    
    .invoice-title {
        font-size: var(--font-size-2xl);
    }
    
    .invoice-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .invoice-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header-with-button {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-add-line {
        width: 100%;
    }
    
    .invoice-table {
        font-size: var(--font-size-sm);
    }
    
    .invoice-table th,
    .invoice-table td {
        padding: 0.625rem 0.375rem;
    }
    
    .invoice-table input,
    .invoice-table select {
        font-size: calc(var(--font-size-sm) * 0.85);
        padding: 0.375rem 0.5rem;
    }
    
    .totals-panel {
        max-width: 100%;
        margin: 0;
    }
    
    .invoice-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-download,
    .btn-reset,
    .btn-link {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .invoice-card {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
    }
    
    .form-section-title {
        font-size: var(--font-size-lg);
    }
    
    .total-amount-grand {
        font-size: var(--font-size-xl);
    }
}
