/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #4f46e5;  /* Vibráló indigo */
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary-color: #64748b;
    --accent-color: #f43f5e;   /* Élénk rózsaszín */
    --accent-secondary: #10b981; /* Smaragd zöld */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0c1222;
    --bg-darker: #07091c;
    --bg-card: #ffffff;
    --bg-overlay: rgba(15, 23, 42, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    --border-color: #e2e8f0;
    --border-accent: rgba(79, 70, 229, 0.4); /* Semi-transparent primary */
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px rgba(79, 70, 229, 0.5);  /* Primary color glow */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* 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;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 70px;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-secondary);
}

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--text-primary);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-primary);
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: rgba(79, 70, 229, 0.05);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.btn:active {
    transform: translateY(1px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

/* Header background gradient eltávolítva */

/* Animáció eltávolítva */

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

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

.brand-link {
    display: flex;
    align-items: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-icon {
    font-size: var(--font-size-2xl);
    margin-right: var(--spacing-sm);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

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

/* Nav-link animáció eltávolítva */

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: all var(--transition-fast);
}

/* Sections */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(129, 140, 248, 0.5), transparent);
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(129, 140, 248, 0.5), transparent);
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233730a3' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.subsection-title {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-md);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(15, 23, 42, 0.02) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233730a3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: calc(var(--header-height) + var(--spacing-3xl)) 0 var(--spacing-3xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.highlight {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(79, 70, 229, 0.1);
    z-index: -1;
}

/* Highlight scan animáció eltávolítva */

.hero-description {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Rootkit diagram vizualizáció */
.rootkit-visualization {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.rootkit-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233730a3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

.rootkit-visualization h3 {
    position: relative;
    z-index: 1;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-accent);
}

.diagram {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.diagram-container {
    width: 100%;
    max-width: 700px;
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.4);
    padding: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.diagram-level {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.user-level {
    background: linear-gradient(45deg, rgba(0, 153, 255, 0.1), rgba(0, 153, 255, 0.2));
    border-left: 4px solid rgb(0, 153, 255);
}

.kernel-level {
    background: linear-gradient(45deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.2));
    border-left: 4px solid rgb(255, 153, 0);
}

.firmware-level {
    background: linear-gradient(45deg, rgba(255, 0, 153, 0.1), rgba(255, 0, 153, 0.2));
    border-left: 4px solid rgb(255, 0, 153);
}

.level-label {
    font-weight: bold;
    width: 30%;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.level-items {
    display: flex;
    gap: 10px;
    width: 70%;
}

.item {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.3);
}

.item.malicious {
    background: rgba(255, 0, 0, 0.15);
    border: 1px dashed rgba(255, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.diagram-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.arrow {
    position: absolute;
    width: 2px;
    background: rgba(255, 0, 0, 0.5);
    right: 20%;
}

.arrow::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-width: 0 2px 2px 0;
    border-color: rgba(255, 0, 0, 0.5);
}

.arrow.up {
    top: 23%;
    height: 12%;
}

.arrow.up::after {
    transform: rotate(-135deg);
    top: 0;
    right: -3px;
}

.arrow.down {
    top: 65%;
    height: 12%;
}

.arrow.down::after {
    transform: rotate(45deg);
    bottom: 0;
    right: -3px;
}

.diagram-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.legend-color.malicious {
    background: rgba(255, 0, 0, 0.15);
    border: 1px dashed rgba(255, 0, 0, 0.5);
}

/* Rootkit Infection Vectors with 3D Rotating Icons */
.rootkit-infection-vectors {
    margin: 2rem 0 3rem;
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.rootkit-infection-vectors h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.vectors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.rotating-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rotating-icon {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    margin-bottom: 1.5rem;
}

.rotating-icon:hover {
    transform: rotateY(180deg);
}

.icon-front,
.icon-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2.5rem;
}

.icon-front {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.icon-back {
    background: linear-gradient(135deg, var(--accent-color), var(--danger-color));
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 5px 15px rgba(244, 63, 94, 0.4);
}

.vector-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.vector-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    gap: var(--spacing-2xl);
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    position: relative;
    padding-left: var(--spacing-lg);
}

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

/* Type Cards */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.type-card {
    background-color: var(--bg-glass);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-accent);
    transition: all var(--transition-normal);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 2;
}

.type-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, 
        rgba(79, 70, 229, 0.05) 15%, 
        rgba(255, 255, 255, 0.05) 30%, 
        rgba(79, 70, 229, 0.02) 45%, 
        rgba(255, 255, 255, 0.1) 75%);
    z-index: -1;
    transform: rotate(45deg);
    transition: transform var(--transition-slow);
}

.type-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-large), var(--shadow-glow);
    border-color: var(--primary-light);
}

.type-card:hover::after {
    transform: rotate(45deg) translate(10%, 10%);
}

.type-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.type-card h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width var(--transition-fast);
}

.type-card:hover h4::after {
    width: 100%;
}

/* Dangers Grid */
.dangers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.danger-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.danger-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.danger-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 5px rgba(244, 63, 94, 0.3);
    transition: all var(--transition-normal);
    position: relative;
}

.danger-card h3 {
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.warning-box {
    background-color: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.warning-box h3 {
    color: var(--warning-color);
    margin-bottom: var(--spacing-sm);
}

/* Global Attack Map */
/* A támadás térkép konténer stílusai eltávolítva */

.attack-map {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background: rgba(12, 18, 34, 0.6);
    overflow: hidden;
    max-width: 100%;
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.continent {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.europe {
    top: 20%;
    left: 45%;
    width: 10%;
    height: 15%;
    border-radius: 40% 60% 60% 40%;
    background-color: rgba(79, 70, 229, 0.1);
}

.asia {
    top: 25%;
    left: 55%;
    width: 25%;
    height: 25%;
    border-radius: 60% 70% 50% 40%;
    background-color: rgba(244, 63, 94, 0.1);
}

.north-america {
    top: 20%;
    left: 10%;
    width: 20%;
    height: 25%;
    border-radius: 40% 60% 50% 30%;
    background-color: rgba(16, 185, 129, 0.1);
}

.south-america {
    top: 50%;
    left: 25%;
    width: 10%;
    height: 20%;
    border-radius: 40% 30% 40% 60%;
    background-color: rgba(245, 158, 11, 0.1);
}

.africa {
    top: 40%;
    left: 45%;
    width: 15%;
    height: 25%;
    border-radius: 60% 30% 40% 70%;
    background-color: rgba(239, 68, 68, 0.1);
}

.australia {
    top: 60%;
    left: 75%;
    width: 10%;
    height: 12%;
    border-radius: 60% 70% 60% 40%;
    background-color: rgba(16, 185, 129, 0.1);
}

/* A támadási pontok stílusai eltávolítva */

/* A támadási vonalak és jelmagyárázat stílusai eltávolítva */

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.tool-card {
    background-color: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
}

.tool-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.tool-card.featured::before {
    content: 'Ajánlott';
    position: absolute;
    top: -10px;
    left: var(--spacing-lg);
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.tool-card h4 {
    margin-bottom: var(--spacing-sm);
}

.tool-rating {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.feature-tag {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

/* Integrated Solutions */
.integrated-solutions {
    margin-bottom: var(--spacing-2xl);
}

.solution-item {
    background-color: var(--bg-secondary);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

/* Scan Process */
.scan-process {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--spacing-2xl);
}

.process-steps {
    padding-left: var(--spacing-lg);
}

.process-steps li {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Prevention Grid */
.prevention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.prevention-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
}

.prevention-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.prevention-number {
    position: absolute;
    top: -15px;
    left: var(--spacing-lg);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-sm);
}

.prevention-card h3 {
    color: var(--text-white);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

/* 3D Rootkit Model */
.rootkit-3d-model {
    margin: 2rem 0 3rem;
    position: relative;
}

.model-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .model-container {
        grid-template-columns: 1.5fr 1fr;
    }
}

.model-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rootkit-model {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: linear-gradient(135deg, rgba(12, 18, 34, 0.8) 0%, rgba(7, 9, 28, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(79, 70, 229, 0.2),
                inset 0 0 15px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    max-width: 100%;
}

.rootkit-model::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(79, 70, 229, 0.03) 0px,
            rgba(79, 70, 229, 0.03) 1px,
            transparent 1px,
            transparent 20px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(79, 70, 229, 0.03) 0px,
            rgba(79, 70, 229, 0.03) 1px,
            transparent 1px,
            transparent 20px
        );
    z-index: 0;
}

.system-layer {
    position: absolute;
    width: 80%;
    height: 25%;
    left: 10%;
    border-radius: var(--border-radius);
    padding: 1rem;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.os-layer {
    top: 5%;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 153, 255, 0.2));
    border: 1px solid rgba(0, 153, 255, 0.3);
    transform: translateZ(50px);
}

.kernel-layer {
    top: 35%;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.2));
    border: 1px solid rgba(255, 153, 0, 0.3);
    transform: translateZ(20px);
}

.layer-label {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.layer-elements {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: calc(100% - 1.5rem);
}

.element {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-align: center;
    width: 30%;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.rootkit-presence {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 80%;
    height: 40%;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.rootkit-element {
    position: absolute;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 0, 0, 0.15);
    border: 1px dashed rgba(255, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hook {
    top: 0;
    left: 10%;
    width: 25%;
}

.backdoor {
    top: 20%;
    right: 10%;
    width: 25%;
}

.hidden-proc {
    bottom: 10%;
    left: 15%;
    width: 30%;
}

.rootkit-core {
    top: 40%;
    left: 35%;
    width: 30%;
    background: rgba(255, 0, 0, 0.25);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.comm-channel {
    bottom: 0;
    right: 15%;
    width: 25%;
}

/* Model controls */
.model-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.model-control {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.model-control:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: var(--primary-dark);
}

.model-control.active {
    background: var(--primary-dark);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* Model info */
.model-info {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.model-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Model state specific styles */
.rootkit-model[data-state="infected"] .rootkit-presence {
    opacity: 1;
}

.rootkit-model[data-state="infected"] .rootkit-element {
    transform: scale(1);
}

.rootkit-model[data-state="stealth"] .rootkit-element {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.rootkit-model[data-state="stealth"] .os-layer .element,
.rootkit-model[data-state="stealth"] .kernel-layer .element {
    background: rgba(255, 255, 255, 0.1);
}

/* Model animations */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@media (max-width: 768px) {
    .rootkit-model {
        height: 300px;
        padding: 1rem;
    }
    
    .layer-elements {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .element {
        width: 100%;
    }
    
    .model-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .model-control {
        width: 100%;
    }
    
    .vectors-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .rotating-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
}

/* Tips Container */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.tip-category {
    background-color: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.tip-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.tip-category ul,
.tip-category ol {
    padding-left: var(--spacing-lg);
}

.tip-category li {
    margin-bottom: var(--spacing-sm);
}

/* Expert Advice */
.expert-advice {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--spacing-2xl);
}

.expert-advice h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

blockquote {
    margin: 0;
    padding: 0;
    font-style: italic;
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

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

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

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

.cta-section .btn-primary {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-dark);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-2xl) 0;
}

.footer-content {
    text-align: center;
    display: grid;
    gap: var(--spacing-lg);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
}

.footer-disclaimer p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-3xl: 2rem;
        --spacing-2xl: 1.5rem;
    }
    
    .attack-map-container {
        padding: var(--spacing-md);
    }
    
    .attack-map {
        height: 250px;
    }
    
    .attack-point {
        width: 8px;
        height: 8px;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .tools-grid,
    .dangers-grid,
    .prevention-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .attack-map {
        height: 200px;
    }
    
    /* Kontinensek újraméretezése mobilra */
    .continent {
        transform: scale(0.85);
    }
    
    .map-legend {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .cta-section,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .hero {
        padding-top: 0;
    }
}