/* ═══════════════════════════════════════════════════════════════
   HMonk Security - Shared Styles
   Nordic Cyber Theme
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS - Nordic Cyber Theme
   Based on visual-design-foundations spacing & color systems
═══════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --burgundy: #843749;
    --burgundy-light: #a34d5f;
    --burgundy-dark: #5c2633;
    --burgundy-glow: rgba(132, 55, 73, 0.4);

    /* Accent - Cyber Ice */
    --accent: #4fd1c5;
    --accent-glow: rgba(79, 209, 197, 0.3);

    /* Neutrals */
    --gray: #78787a;
    --gray-light: #9a9a9c;

    /* Backgrounds - Deep Nordic Night */
    --bg-primary: #050508;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #12121a;
    --bg-card: rgba(18, 18, 26, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);

    /* Text */
    --text-primary: #f0f0f2;
    --text-secondary: #a0a0a5;
    --text-muted: #606065;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(132, 55, 73, 0.3);

    /* Spacing - 8pt grid */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--burgundy);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATED PARTICLE CANVAS - Algorithmic Art Background
═══════════════════════════════════════════════════════════════ */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--burgundy-glow) 0%, transparent 70%);
    top: -10%;
    right: -10%;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    bottom: 20%;
    left: -5%;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(132, 55, 73, 0.2) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation: float-orb 15s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION - Glassmorphism Style
═══════════════════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - var(--space-6) * 2);
    max-width: 1400px;
    z-index: 100;
    padding: var(--space-4) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition-base);
}

nav.scrolled {
    top: var(--space-4);
    background: rgba(10, 10, 15, 0.9);
    border-color: var(--border-accent);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: var(--space-8);
}

.logo-svg {
    height: 65px;
    width: auto;
    transition: var(--transition-base);
}

.logo:hover .logo-svg {
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: var(--space-8);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--burgundy), var(--accent));
    transition: var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-left: auto;
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: var(--space-1) var(--space-2);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.lang-toggle button:hover {
    color: var(--text-secondary);
}

.lang-toggle button.active {
    background: var(--burgundy);
    color: var(--text-primary);
}

/* Smooth language transition for translatable elements */
[data-en][data-fi] {
    transition: opacity var(--transition-fast);
}

.lang-switching [data-en][data-fi] {
    opacity: 0.7;
}

.nav-cta {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--text-primary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--burgundy-glow);
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu Panel */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.98);
    z-index: 99;
    padding: var(--space-32) var(--space-8);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-2xl);
    font-family: 'Playfair Display', serif;
    transition: var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--burgundy-light);
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-8);
    right: var(--space-8);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--text-3xl);
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-32) var(--space-16) var(--space-16);
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 650px;
}

/* Animated Label */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.2s;
}

.hero-label-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--burgundy), transparent);
}

.hero-label-text {
    font-size: var(--text-xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--burgundy-light);
    font-weight: 500;
}

.hero-label-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    font-size: var(--text-xs);
    color: var(--accent);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

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

.hero h1 {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
    margin-bottom: var(--space-8);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.4s;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .line {
    display: block;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: var(--space-12);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.6s;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-16);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.8s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--burgundy-glow);
}

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

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--burgundy);
    color: var(--text-primary);
    background: rgba(132, 55, 73, 0.1);
}

.btn-icon {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Stats with Counter Animation */
.hero-stats {
    display: flex;
    gap: var(--space-16);
    padding-top: var(--space-12);
    border-top: 1px solid var(--border-subtle);
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 1s;
}

.stat {
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: calc(var(--space-16) * -0.5);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-subtle), transparent);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-5xl);
    font-weight: 600;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: var(--space-2);
}

/* Floating Terminal - Visual Element */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 1.2s;
}

.terminal {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 20px 50px rgba(0,0,0,0.5),
        0 0 100px var(--burgundy-glow);
    width: 100%;
    max-width: 480px;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: var(--space-6);
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm);
    line-height: 1.8;
}

.terminal-line {
    opacity: 0;
    animation: typeLine 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 1.5s; }
.terminal-line:nth-child(2) { animation-delay: 2s; }
.terminal-line:nth-child(3) { animation-delay: 2.5s; }
.terminal-line:nth-child(4) { animation-delay: 3s; }
.terminal-line:nth-child(5) { animation-delay: 3.5s; }

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

.terminal-prompt {
    color: var(--accent);
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
}

.terminal-success {
    color: #28c840;
}

.terminal-warning {
    color: var(--burgundy-light);
}

/* ═══════════════════════════════════════════════════════════════
   TRUSTED BY SECTION - Logo Marquee
═══════════════════════════════════════════════════════════════ */
.trusted-section {
    display: none; /* Hidden - no public customer references yet */
    padding: var(--space-16) var(--space-16);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.trusted-label {
    text-align: center;
    font-size: var(--text-xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.logo-marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.logo-track {
    display: flex;
    gap: var(--space-16);
    animation: marquee 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 60px;
    padding: var(--space-4) var(--space-8);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-base);
    white-space: nowrap;
}

.client-logo:hover {
    border-color: var(--burgundy);
    color: var(--text-secondary);
    background: rgba(132, 55, 73, 0.05);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS - General
═══════════════════════════════════════════════════════════════ */
section {
    padding: var(--space-32) var(--space-16);
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    max-width: 700px;
    margin-bottom: var(--space-16);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--burgundy-light);
    margin-bottom: var(--space-6);
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--burgundy);
}

.section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    margin-bottom: var(--space-6);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION - Bento Grid
═══════════════════════════════════════════════════════════════ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--space-6);
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.3),
        0 0 60px var(--burgundy-glow);
}

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

/* Large feature card */
.bento-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.bento-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(132, 55, 73, 0.2) 0%, rgba(132, 55, 73, 0.05) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    margin-bottom: var(--space-6);
    color: var(--burgundy-light);
    transition: var(--transition-base);
}

.bento-card:hover .bento-icon {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    color: var(--text-primary);
    transform: scale(1.05);
}

.bento-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
    font-weight: 500;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--burgundy-light);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    margin-top: auto;
}

.bento-link:hover {
    color: var(--text-primary);
    gap: var(--space-3);
}

/* Featured card visual */
.featured-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-8);
    position: relative;
}

.shield-animation {
    width: 200px;
    height: 200px;
    position: relative;
}

.shield-ring {
    position: absolute;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    opacity: 0.3;
}

.shield-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: pulse-ring 3s ease-out infinite;
}

.shield-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation: pulse-ring 3s ease-out infinite 0.5s;
}

.shield-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation: pulse-ring 3s ease-out infinite 1s;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

.shield-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 0 40px var(--burgundy-glow);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════ */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
}

.about-visual {
    position: relative;
    height: 600px;
}

.about-image-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    overflow: hidden;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Network Visualization */
.network-viz {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.network-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--burgundy);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--burgundy-glow);
}

.network-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, var(--burgundy), transparent);
    transform-origin: left center;
}

.node-1 { top: 20%; left: 30%; }
.node-1::before { transform: rotate(45deg); }

.node-2 { top: 40%; left: 60%; }
.node-2::before { transform: rotate(-30deg); }

.node-3 { top: 70%; left: 40%; }
.node-3::before { transform: rotate(120deg); }

.node-4 { top: 30%; left: 70%; }
.node-4::before { transform: rotate(-60deg); }

.node-5 { top: 60%; left: 20%; }
.node-5::before { transform: rotate(80deg); }

.about-stats-overlay {
    position: absolute;
    bottom: var(--space-8);
    left: var(--space-8);
    right: var(--space-8);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.about-stat-card {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: var(--space-4) var(--space-6);
}

.about-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-3xl);
    color: var(--burgundy-light);
    font-weight: 600;
}

.about-stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-frame-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(132, 55, 73, 0.2);
    border-radius: 16px;
    pointer-events: none;
}

.about-content h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-8);
}

.about-text {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.9;
    margin-bottom: var(--space-6);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: var(--transition-base);
}

.about-feature:hover {
    border-color: var(--border-accent);
    background: rgba(132, 55, 73, 0.05);
}

.about-feature-icon {
    width: 20px;
    height: 20px;
    color: var(--burgundy-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════════ */
.contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
}

.contact-info h2 {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
    margin-bottom: var(--space-6);
}

.contact-text {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: var(--transition-base);
}

.contact-item:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 55, 73, 0.1);
    border-radius: 10px;
    color: var(--burgundy-light);
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-1);
}

.contact-item a,
.contact-item span {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--text-base);
    transition: var(--transition-fast);
}

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

/* Contact Form */
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: var(--space-12);
    backdrop-filter: blur(20px);
}

.form-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    font-family: 'Playfair Display', serif;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: var(--space-4);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-base);
    transition: var(--transition-fast);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px var(--burgundy-glow);
}

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

.form-submit {
    margin-top: var(--space-8);
}

.form-submit button {
    width: 100%;
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.form-submit button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px var(--burgundy-glow);
}

.form-submit button:hover::before {
    left: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
    padding: var(--space-12) var(--space-16);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-svg {
    height: 65px;
    width: auto;
    transition: var(--transition-base);
}

.footer-logo:hover .footer-logo-svg {
    filter: brightness(1.1);
}

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

.footer-links {
    display: flex;
    gap: var(--space-8);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: var(--transition-fast);
}

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

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (for inner pages)
═══════════════════════════════════════════════════════════════ */
.page-hero {
    padding: var(--space-32) var(--space-16) var(--space-16);
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    margin-bottom: var(--space-6);
}

.page-hero p {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 968px) {
    nav {
        width: calc(100% - var(--space-4) * 2);
        max-width: none;
        padding: var(--space-3) var(--space-4);
    }

    .nav-links, .nav-cta, .lang-toggle {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    section {
        padding: var(--space-16) var(--space-6);
    }

    .hero {
        padding: var(--space-24) var(--space-6) var(--space-16);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-8);
    }

    .stat::after {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.featured {
        grid-column: span 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .about-visual {
        height: 400px;
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }

    .page-hero {
        padding: var(--space-24) var(--space-6) var(--space-12);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .trusted-section {
        padding: var(--space-8) var(--space-4);
    }
}

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