/* Poweremp shared styles. GENERATED by apps/webpage/build/build.py from the inline
   <style> of /index.html: edit the homepage, then rebuild. Loaded by the standalone pages. */

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

:root {
    --ink: #ffffff;
    --panel: rgba(13, 18, 37, 0.85);
    --panel-strong: rgba(13, 18, 37, 0.95);
    --stroke: rgba(0, 212, 255, 0.15);
    --stroke-strong: rgba(0, 212, 255, 0.30);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.60);
    --muted-2: rgba(255, 255, 255, 0.40);
    --primary-blue: #00d4ff;
    --secondary-cyan: #22d3ee;
    --accent-purple: #a855f7;
    --accent-coral: #00d4ff;
    --primary-green: #22c55e;
    --secondary-green: #16a34a;
    --bg-1: #0a0e1a;
    --bg-2: #0d1225;
    --white: #ffffff;
    --medium-gray: rgba(255, 255, 255, 0.55);
    --light-gray: rgba(255, 255, 255, 0.70);
    --dark-navy: #0a0e1a;
    --darker-navy: #060912;
    --charcoal: rgba(13, 18, 37, 0.90);
    --shadow-sm: 0 10px 22px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 26px 90px rgba(0, 0, 0, 0.50);
    --blur: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg-1);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.7);
    z-index: -1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 40%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 90%, rgba(255, 255, 255, 0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 55%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 85%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 95%, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid var(--stroke);
}

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

.nav-logo {
    width: 56px;
    height: auto;
    transition: var(--transition);
}

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

.nav-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

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

a.nav-logo-wrapper::after {
    display: none;
}

.nav-logo-tagline {
    font-size: 9px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

nav > .nav-container > .nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Narrow tablets: tighter menu so the contact button + IT/EN toggle fit */
@media (min-width: 769px) and (max-width: 900px) {
    nav > .nav-container > .nav-menu {
        gap: 24px;
    }
}

/* Dropdown menu styles */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--stroke);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan));
    transition: width 0.3s ease;
}

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

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

.language-toggle {
    display: flex;
    gap: 10px;
    background: rgba(13, 18, 37, 0.6);
    padding: 5px;
    border-radius: 25px;
    border: 1px solid var(--stroke);
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stroke-strong);
}

.lang-btn:hover:not(.active) {
    color: var(--text);
}

/* Page Sections */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

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

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 50px 20px 10px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='1400' height='900' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.hero::after {
    display: none;
}

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

/* Dynamic Hero Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(-40px, -20px) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(-50px, 30px) scale(1.15);
        opacity: 0.7;
    }
    66% {
        transform: translate(40px, -50px) scale(0.85);
        opacity: 0.6;
    }
}

@keyframes floatOrb3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(60px, 40px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 40px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(0, 212, 255, 0.4);
    }
}

@keyframes borderRotate {
    0% { --angle: 0deg; }
    100% { --angle: 360deg; }
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-orb--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation: floatOrb 15s ease-in-out infinite;
}

.hero-orb--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.35) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation: floatOrb2 18s ease-in-out infinite;
}

.hero-orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation: floatOrb3 20s ease-in-out infinite;
}

.hero-orb--4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.25) 0%, transparent 70%);
    bottom: 10%;
    right: 20%;
    animation: floatOrb 12s ease-in-out infinite reverse;
}

/* Animated Grid Background - Hidden */
.hero-grid {
    display: none;
}

/* Enhanced Hero Title */
.hero h1.hero-title-animated {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan), var(--primary-blue));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 6s ease infinite;
}

.hero h1 .highlight-animated {
    position: relative;
    color: transparent;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textGradient 4s ease infinite;
    text-shadow: none;
}

.hero h1 .highlight-animated::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan));
    background-size: 200% 200%;
    animation: textGradient 4s ease infinite;
    border-radius: 2px;
}

/* Staggered Hero Animations */
.hero-content.animated .logo-container {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
}

.hero-content.animated h1 {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-content.animated > p {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-content.animated .hero-buttons {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-content.animated .hero-microcopy {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Enhanced Hero Image with Animated Border */
.hero-image.animated-border {
    position: relative;
}

.hero-image.animated-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan), var(--primary-blue));
    background-size: 300% 300%;
    border-radius: 24px;
    z-index: -1;
    animation: textGradient 4s ease infinite;
    opacity: 0.8;
}

.hero-image.animated-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan), var(--primary-blue));
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    animation: textGradient 4s ease infinite;
    filter: blur(20px);
    opacity: 0.5;
}

.hero-image.animated-border img {
    position: relative;
    z-index: 1;
}

/* Enhanced Button Hover Effects */
.btn-primary.btn-glow {
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary.btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-primary.btn-glow:hover::after {
    opacity: 0.6;
}

.btn-primary.btn-glow:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3), 0 0 60px rgba(0, 212, 255, 0.2);
}

.btn-telegram.btn-glow {
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-telegram.btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #229ed9;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-telegram.btn-glow:hover::after {
    opacity: 0.5;
}

.btn-telegram.btn-glow:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(34, 158, 217, 0.35), 0 0 60px rgba(34, 158, 217, 0.2);
}

/* Enhanced Logo Container */
.logo-container.animated-glow:hover {
    /* No animation on hover - keep logo stable */
}

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

.hero-container.hero-container-single {
    grid-template-columns: 1fr;
}

.hero-container.hero-container-single .hero-content {
    max-width: 1200px;
    margin: 0;
    text-align: left;
}

.hero-content {
    animation: slideInLeft 0.8s ease;
}

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

.logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background: transparent;
    border: 2px solid var(--stroke-strong);
    border-radius: 20px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 255, 0.2);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    display: none;
}

.logo-container:hover::before {
    display: none;
}

.logo-container:hover {
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 212, 255, 0.3);
    transform: none;
    animation: none;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--ink);
}

.hero h1 .highlight {
    color: var(--primary-blue);
    position: relative;
    text-shadow: 0 0 20px var(--primary-blue);
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple), var(--secondary-cyan));
    border-radius: 2px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* New Hero Styles */
.hero-container.hero-container-new {
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
    max-width: 1400px;
}

.hero-company-name {
    font-size: clamp(42px, 5.5vw, 64px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero-title-large {
    font-size: clamp(42px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-subtitle-new {
    font-size: 20px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons-new {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-solid {
    background: #0044aa;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 68, 170, 0.5);
}

.btn-primary-solid:hover {
    background: #0055cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 68, 170, 0.6);
}

.btn-outline {
    background: #1a56db;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
}

.btn-outline:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
}

.hero-dashboard {
    position: relative;
    animation: slideInRight 1s ease;
}

.hero-dashboard img {
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.15);
}

/* Animated Monitor Dashboard Styles */
.monitor-frame {
    position: relative;
    max-width: 720px;
}

.monitor-screen {
    background: linear-gradient(145deg, #0a1628 0%, #0d1e36 100%);
    border-radius: 14px 14px 0 0;
    padding: 20px;
    border: 3px solid #1a2744;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 212, 255, 0.15);
}

.monitor-stand {
    width: 70px;
    height: 55px;
    background: linear-gradient(180deg, #1a2744 0%, #0d1525 100%);
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
}

.monitor-base {
    width: 140px;
    height: 14px;
    background: linear-gradient(180deg, #1a2744 0%, #0d1525 100%);
    margin: 0 auto;
    border-radius: 0 0 8px 8px;
}

.monitor-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 70px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    filter: blur(10px);
}

.dashboard-animated {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Top Stats Row */
.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dash-stat-box {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.dash-stat-icon {
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}

.dash-stat-label {
    font-size: 8px;
    color: var(--muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    animation: valueFlicker 3s ease-in-out infinite;
}

@keyframes valueFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Main Section */
.dash-main-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.dash-line-chart {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.chart-header {
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.line-chart-svg {
    width: 100%;
    height: 80px;
    overflow: visible;
}

.chart-area {
    animation: morphArea 4s ease-in-out infinite;
}

.animated-line {
    stroke-dasharray: none;
    animation: morphLine 4s ease-in-out infinite, glowLine 2s ease-in-out infinite;
}

@keyframes morphLine {
    0%, 100% {
        d: path("M0,80 Q50,70 100,60 T200,50 T300,55 T400,45");
    }
    25% {
        d: path("M0,75 Q50,55 100,65 T200,40 T300,60 T400,50");
    }
    50% {
        d: path("M0,70 Q50,60 100,50 T200,55 T300,45 T400,55");
    }
    75% {
        d: path("M0,85 Q50,65 100,55 T200,60 T300,50 T400,40");
    }
}

@keyframes morphArea {
    0%, 100% {
        d: path("M0,80 Q50,70 100,60 T200,50 T300,55 T400,45 L400,120 L0,120 Z");
    }
    25% {
        d: path("M0,75 Q50,55 100,65 T200,40 T300,60 T400,50 L400,120 L0,120 Z");
    }
    50% {
        d: path("M0,70 Q50,60 100,50 T200,55 T300,45 T400,55 L400,120 L0,120 Z");
    }
    75% {
        d: path("M0,85 Q50,65 100,55 T200,60 T300,50 T400,40 L400,120 L0,120 Z");
    }
}

@keyframes glowLine {
    0%, 100% {
        stroke-width: 2;
        filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.5));
    }
    50% {
        stroke-width: 2.5;
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8));
    }
}

.limit-line {
    animation: pulseLimitLine 3s ease-in-out infinite;
}

@keyframes pulseLimitLine {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.dash-side-stats {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 8px;
}

.side-stat-title {
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.side-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-gray);
}

.side-stat-row:last-child {
    border-bottom: none;
}

.animated-percent {
    color: var(--primary-blue);
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Bottom Row */
.dash-bottom-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 10px;
}

.dash-bar-chart {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.bar-chart-container {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
}

.animated-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-blue), rgba(0, 212, 255, 0.3));
    border-radius: 2px 2px 0 0;
    height: var(--target-height);
    animation: pulseBar 2s ease-in-out infinite;
    animation-delay: calc(var(--bar-index, 0) * 0.15s);
}

.animated-bar:nth-child(1) { --bar-index: 0; --min-height: 55%; --target-height: 65%; }
.animated-bar:nth-child(2) { --bar-index: 1; --min-height: 70%; --target-height: 85%; }
.animated-bar:nth-child(3) { --bar-index: 2; --min-height: 35%; --target-height: 45%; }
.animated-bar:nth-child(4) { --bar-index: 3; --min-height: 55%; --target-height: 70%; }
.animated-bar:nth-child(5) { --bar-index: 4; --min-height: 75%; --target-height: 90%; }
.animated-bar:nth-child(6) { --bar-index: 5; --min-height: 40%; --target-height: 55%; }
.animated-bar:nth-child(7) { --bar-index: 6; --min-height: 60%; --target-height: 75%; }
.animated-bar:nth-child(8) { --bar-index: 7; --min-height: 45%; --target-height: 60%; }

@keyframes pulseBar {
    0%, 100% { height: var(--target-height); }
    50% { height: var(--min-height); }
}

.dash-donut-chart {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 6px;
    padding: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.donut-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 5px auto 0;
}

.donut-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-progress {
    stroke-dasharray: 146.5 220;
    animation: pulseDonut 3s ease-in-out infinite;
}

.donut-progress-2 {
    stroke-dasharray: 73.3 220;
    animation: pulseDonut2 3s ease-in-out infinite 0.5s;
}

@keyframes pulseDonut {
    0%, 100% { stroke-dasharray: 146.5 220; filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.5)); }
    50% { stroke-dasharray: 135 220; filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.8)); }
}

@keyframes pulseDonut2 {
    0%, 100% { stroke-dasharray: 73.3 220; }
    50% { stroke-dasharray: 80 220; }
}

.donut-svg {
    animation: rotateDonut 20s linear infinite;
}

@keyframes rotateDonut {
    from { transform: rotate(-90deg); }
    to { transform: rotate(270deg); }
}

.donut-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    animation: pulseValue 2s ease-in-out infinite;
}

@keyframes pulseValue {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* New Dashboard Design Styles */
.dashboard-new {
    background: linear-gradient(145deg, #0a1628 0%, #0d1e36 100%);
    border-radius: 14px;
    padding: 14px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 212, 255, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.4);
    width: 700px;
    height: 520px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Row */
.dash-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.dash-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    padding-left: 12px;
}

.dash-logo-icon {
    background: linear-gradient(135deg, #00d4ff, #0088aa);
    color: #0a1628;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
}

.dash-logo-text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dash-logo-text small {
    font-size: 8px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 1px;
}

.dash-stat-card {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.15);
    width: 95px;
    height: 65px;
    flex: 0 0 95px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.dash-stat-card.dash-stat-accent {
    background: rgba(13, 30, 54, 0.8);
    border-color: rgba(0, 212, 255, 0.15);
}

.dash-stat-card.dash-stat-green {
    background: rgba(13, 30, 54, 0.8);
    border-color: rgba(0, 212, 255, 0.15);
}

.dash-stat-icon-new {
    font-size: 10px;
    display: block;
    margin-bottom: auto;
    line-height: 1;
}

.dash-stat-label-new {
    font-size: 9px;
    color: var(--muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.dash-stat-value-new {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    animation: valueFlicker 3s ease-in-out infinite;
    white-space: nowrap;
    margin-bottom: 0;
}

.dash-stat-value-new small {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
}

.dash-stat-value-new.dash-green {
    color: #4caf50;
}

/* Main Content Area */
.dash-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Power Chart */
.dash-power-chart {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-chart-title {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.dash-chart-area {
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.dash-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 8px;
    color: var(--muted);
    height: 100%;
    padding-right: 6px;
    position: absolute;
    left: 0;
    top: 0;
}

.dash-chart-area {
    position: relative;
    padding-left: 22px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.power-line-svg {
    width: 200%;
    height: 100%;
    animation: powerGraphScroll 30s linear infinite;
}

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

.power-line {
    /* No animation - parent scrolls */
}

.power-area {
    /* No animation - parent scrolls */
}

.dash-x-axis-container {
    overflow: hidden;
    margin-top: 6px;
    flex-shrink: 0;
    padding-left: 22px;
}

.dash-x-axis {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--muted);
    width: 200%;
    animation: powerGraphScroll 30s linear infinite;
}

/* Voltage Panel */
.dash-voltage-panel {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-voltage-subtitle {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 6px;
    flex-shrink: 0;
}

.dash-voltage-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}

.dash-voltage-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    border-left: 3px solid var(--primary-blue);
    flex: 1;
}

.dash-voltage-row:nth-child(1) { border-color: #00d4ff; }
.dash-voltage-row:nth-child(2) { border-color: #ff9800; }
.dash-voltage-row:nth-child(3) { border-color: #4caf50; }

.voltage-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    animation: valueFlicker 2.5s ease-in-out infinite;
}

.current-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-left: auto;
    animation: valueFlicker 2.8s ease-in-out infinite;
}

.dash-voltage-row small {
    font-size: 11px;
    color: var(--muted);
}

/* Bottom Content Row */
.dash-bottom-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Daily Energy Chart */
.dash-daily-energy {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-bar-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
}

.dash-bar-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 8px;
    color: var(--muted);
    position: absolute;
    left: 0;
    height: 100%;
}

.dash-bar-area {
    position: relative;
    padding-left: 18px;
}

.dash-bars-container {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 100%;
    padding: 0 2px;
    flex: 1;
}

.dash-bar-group {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    flex: 1;
    height: 100%;
}

.dash-bar {
    width: 7px;
    border-radius: 2px 2px 0 0;
    height: var(--h, 50%);
    min-height: 8px;
    transition: height 0.5s ease;
    transform-origin: bottom;
}

.dash-bar-f1 {
    background: linear-gradient(to top, #00d4ff, rgba(0, 212, 255, 0.7));
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    animation: barPulseF1 2.5s ease-in-out infinite;
}

.dash-bar-f2 {
    background: linear-gradient(to top, #ff9800, rgba(255, 152, 0, 0.7));
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
    animation: barPulseF2 2.5s ease-in-out infinite 0.2s;
}

.dash-bar-f3 {
    background: linear-gradient(to top, #4caf50, rgba(76, 175, 80, 0.7));
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    animation: barPulseF3 2.5s ease-in-out infinite 0.4s;
}

@keyframes barPulseF1 {
    0%, 100% { opacity: 1; transform: scaleY(1); filter: brightness(1); }
    50% { opacity: 0.9; transform: scaleY(0.92); filter: brightness(1.1); }
}

@keyframes barPulseF2 {
    0%, 100% { opacity: 1; transform: scaleY(1); filter: brightness(1); }
    50% { opacity: 0.9; transform: scaleY(0.88); filter: brightness(1.1); }
}

@keyframes barPulseF3 {
    0%, 100% { opacity: 1; transform: scaleY(1); filter: brightness(1); }
    50% { opacity: 0.9; transform: scaleY(0.94); filter: brightness(1.1); }
}

.dash-bar-legend {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    font-size: 9px;
    color: var(--muted);
    flex-shrink: 0;
}

.dash-bar-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    margin-right: 3px;
}

.legend-f1 { background: #00d4ff; }
.legend-f2 { background: #ff9800; }
.legend-f3 { background: #4caf50; }

/* Costs Donut Panel */
.dash-costs-panel {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-donut-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
    padding: 0 15px;
}

.costs-donut-svg {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.costs-donut-outer {
    animation: donutPulse 3s ease-in-out infinite;
}

.costs-donut-inner {
    animation: donutPulse2 3s ease-in-out infinite 0.5s;
}

@keyframes donutPulse {
    0%, 100% { stroke-dasharray: 105 240; opacity: 1; }
    50% { stroke-dasharray: 95 240; opacity: 0.85; }
}

@keyframes donutPulse2 {
    0%, 100% { stroke-dasharray: 76 240; opacity: 1; }
    50% { stroke-dasharray: 82 240; opacity: 0.85; }
}

.donut-center-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.donut-center-text small {
    font-size: 12px;
    color: var(--muted);
}

.donut-side-percent {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #0088aa;
    background: rgba(13, 30, 54, 0.9);
    padding: 4px 6px;
    border-radius: 4px;
}

.dash-costs-footer {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-shrink: 0;
}

.costs-dropdown {
    font-size: 10px;
    color: var(--muted);
    cursor: pointer;
}

/* Alerts Panel */
.dash-alerts-panel {
    background: rgba(13, 30, 54, 0.8);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dash-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
}

.dash-alert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 5px;
    border-left: 3px solid #ff5722;
    font-size: 10px;
    animation: alertPulse 2s ease-in-out infinite;
}

.dash-alert-item:nth-child(2) {
    animation-delay: 0.3s;
}

.dash-alert-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes alertPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.alert-time {
    color: var(--muted);
    font-size: 9px;
}

.alert-text {
    color: #ff5722;
    font-weight: 500;
    font-size: 10px;
}

.dash-alerts-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    flex-shrink: 0;
}

.alerts-icon {
    font-size: 10px;
}

.alerts-dropdown {
    font-size: 10px;
    color: var(--muted);
    cursor: pointer;
}

/* Responsive for new dashboard */
@media (max-width: 768px) {
    .dash-header-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .dash-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }

    .dash-stat-card {
        flex: 1 1 auto;
        min-width: 55px;
        max-width: 70px;
        padding: 6px 8px;
    }

    .dash-main-content {
        grid-template-columns: 1fr;
    }

    .dash-bottom-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero-container.hero-container-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle-new {
        max-width: 100%;
    }

    .hero-buttons-new {
        justify-content: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-dashboard {
        order: 2;
    }

    .hero-dashboard img {
        max-width: 100%;
    }

    .monitor-frame {
        max-width: 100%;
    }

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

    .dash-main-section {
        grid-template-columns: 1fr;
    }

    .dash-bottom-row {
        grid-template-columns: 1fr 1fr;
    }

    .dash-bar-chart {
        grid-column: span 2;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #1a56db;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-final {
    background: #1a56db;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-final:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stroke);
    transition: var(--transition);
}

.hero-image-wide img {
    max-width: 860px;
    border-radius: 26px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.10), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-image:hover::before {
    opacity: 1;
}


.btn-telegram {
    background: #229ed9;
    color: var(--white);
    box-shadow: 0 0 15px rgba(34, 158, 217, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-telegram:hover {
    background: #1b82b8;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(34, 158, 217, 0.6);
}

.btn-telegram.is-compact {
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: 0.8px;
    border-radius: 999px;
    width: auto;
    white-space: nowrap;
}

.telegram-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
}

.telegram-float a {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #229ed9;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: var(--transition);
}

.telegram-float a:hover {
    transform: translateY(-3px);
    background: #1b82b8;
}

.telegram-float .tg-icon {
    display: flex;
    margin-left: -2px;
}

@media (max-width: 768px) {
    .telegram-float {
        right: 14px;
        bottom: 14px;
    }

    .telegram-float a {
        width: 58px;
        height: 58px;
    }
}

.hero-microcopy {
    margin-top: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.02) rotate(1deg);
}

/* Stats Row */
.stats-row {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--panel);
    padding: 24px 20px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--stroke-strong);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-blue);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.stat-value span {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}

/* News Carousel Section */
.news-section {
    max-width: 1400px;
    margin: 55px auto 50px;
    padding: 0 20px;
    position: relative;
}

.news-carousel-container {
    position: relative;
    overflow: visible;
    padding: 0 50px;
}

.news-carousel-wrapper {
    overflow: hidden;
}

.news-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    padding: 20px 0;
}

.news-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 260px;
    background: rgba(10, 20, 50, 0.8);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
}

.news-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.news-card-icon svg {
    width: 100%;
    height: 100%;
}

.news-card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: rgba(0, 212, 255, 0.9);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    line-height: 1.3;
}

.news-card h3 .subtitle {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-top: 4px;
}

.news-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.news-card-link:hover {
    color: var(--accent-cyan);
    gap: 12px;
}

.news-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(10, 20, 50, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--white);
    font-size: 24px;
    font-weight: 300;
}

.news-carousel-nav:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-nav.prev {
    left: 0;
}

.news-carousel-nav.next {
    right: 0;
}

.news-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.news-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.news-carousel-dot.active {
    background: var(--accent-cyan);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    .news-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 900px) {
    .news-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .news-card {
        flex: 0 0 calc(100% - 0px);
    }
    .news-carousel-nav {
        display: flex;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .news-carousel-container {
        padding: 0 30px;
    }
}

/* Service Grid */
.services-grid {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(10, 20, 40, 0.7);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 180px;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(0, 212, 255, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--white);
    line-height: 1.2;
}

.service-card h3 .service-subtitle {
    display: block;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 14px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.4;
    font-size: 13px;
    margin-bottom: 12px;
    margin-top: 8px;
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    margin-top: auto;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #1a56db;
    box-shadow: 0 3px 10px rgba(26, 86, 219, 0.3);
}

.service-card-cta:hover {
    color: var(--white);
    gap: 12px;
    background: #1e40af;
    box-shadow: 0 6px 18px rgba(26, 86, 219, 0.4);
}

.service-card-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-card-cta:hover::after {
    transform: translateX(4px);
}

.service-tagline {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-style: italic;
}

.service-details {
    margin-bottom: 12px;
    flex-grow: 1;
}

.service-problem,
.service-solution {
    margin-bottom: 10px;
}

.service-problem h4,
.service-solution h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-problem p,
.service-solution p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* Services Page Grid - Full width cards as separate sections */
.services-page-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    padding: 0 20px;
}

.services-page-grid .service-card-full {
    min-height: auto;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services-page-grid .service-card-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
    border-radius: 20px 20px 0 0;
}

.services-page-grid .service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
}

.services-page-grid .service-card-full .service-icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 24px;
}

.services-page-grid .service-card-full h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.services-page-grid .service-card-full h3 .service-subtitle {
    font-size: 24px;
}

.services-page-grid .service-card-full .service-tagline {
    font-size: 18px;
    margin-bottom: 0;
    font-style: normal;
    color: var(--light-gray);
    max-width: 700px;
}

.services-page-grid .service-card-full .service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-page-grid .service-card-full .service-problem,
.services-page-grid .service-card-full .service-solution {
    margin-bottom: 0;
}

.services-page-grid .service-card-full .service-problem h4,
.services-page-grid .service-card-full .service-solution h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-page-grid .service-card-full .service-problem p,
.services-page-grid .service-card-full .service-solution p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.services-page-grid .service-card-full .service-card-cta {
    margin-top: 40px;
    font-size: 15px;
    padding: 12px 24px;
    background: #1a56db;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.4);
    display: inline-flex;
}

.services-page-grid .service-card-full .service-card-cta:hover {
    background: #1e40af;
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.5);
}

@media (max-width: 768px) {
    .services-page-grid {
        gap: 40px;
    }

    .services-page-grid .service-card-full {
        padding: 30px 24px;
    }

    .services-page-grid .service-card-full .service-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-page-grid .service-card-full h3 {
        font-size: 22px;
    }

    .services-page-grid .service-card-full h3 .service-subtitle {
        font-size: 18px;
    }

    .services-page-grid .service-card-full .service-tagline {
        font-size: 15px;
    }
}

/* Benefits Section */
.benefits {
    background: radial-gradient(900px 520px at 20% 20%, rgba(0, 212, 255, 0.12) 0%, transparent 62%),
                radial-gradient(900px 520px at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 62%),
                linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px 400px at 40% 10%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
                radial-gradient(900px 520px at 60% 90%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    font-size: 16px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: var(--panel);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--stroke);
    z-index: 1;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-cyan) 100%);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke-strong);
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.benefit-card p {
    font-size: 14px;
    color: var(--muted);
}
/* About Preview */
.about-preview {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
    position: relative;
}

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

.about-container h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--ink);
}

.about-container p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 40px;
}

/* Final CTA */
.final-cta {
    background: transparent;
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    display: none;
}

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

.final-cta-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.final-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
}

/* Footer */
footer {
    background: rgba(10, 14, 26, 0.95);
    color: var(--muted);
    padding: 40px 20px 20px;
    border-top: 1px solid var(--stroke);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--muted);
}

.footer-info a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info a:hover {
    color: var(--primary-blue);
}

.footer-brand {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    color: var(--muted);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.footer-social svg {
    width: 28px;
    height: 28px;
}

.footer-copyright {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    nav ul {
        gap: 20px;
        font-size: 12px;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Timeline */
.timeline {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 212, 255, 0.03) 10px,
        rgba(0, 212, 255, 0.03) 20px
    );
    pointer-events: none;
}

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

.timeline-container .section-header {
    text-align: left;
}

.timeline-container .section-header p {
    margin: 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding: 30px;
    background: var(--panel);
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid var(--stroke);
    z-index: 1;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke-strong);
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
}

.timeline-content p {
    color: var(--muted);
    line-height: 1.6;
}

/* Team */
.team {
    padding: 100px 20px;
    background: var(--dark-navy);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(900px 520px at 20% 20%, rgba(0, 212, 255, 0.10) 0%, transparent 62%),
                radial-gradient(900px 520px at 80% 20%, rgba(59, 130, 246, 0.10) 0%, transparent 62%),
                radial-gradient(900px 520px at 55% 85%, rgba(34, 197, 94, 0.08) 0%, transparent 62%);
    pointer-events: none;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: var(--panel);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--stroke);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-md);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke-strong);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: radial-gradient(80px 80px at 30% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
                radial-gradient(80px 80px at 70% 70%, rgba(34, 197, 94, 0.12) 0%, transparent 60%),
                rgba(13, 18, 37, 0.8);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
}

.team-avatar img {
    display: none;
}

.team-avatar .team-avatar-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--ink);
}

.team-card h3 {
    display: none;
}

.team-role {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Collaborations */
.collaborations {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}

.collaborations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 212, 255, 0.03) 10px,
        rgba(0, 212, 255, 0.03) 20px
    );
    pointer-events: none;
}

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

.collab-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 40px;
}

.collab-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.collab-logo {
    width: 150px;
    height: 80px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    transition: var(--transition);
}

.collab-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--stroke-strong);
}

/* Partner & Client Logo Cards */
.partner-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 20px 24px;
    width: 220px;
    height: 140px;
    transition: var(--transition);
    cursor: default;
}

.partner-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
    border-color: var(--stroke-strong);
}

a.partner-logo-card {
    cursor: pointer;
}

.partner-logo-card img {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 6px;
    transition: var(--transition);
}

.partner-logo-card:hover img {
    background: #ffffff;
}

.client-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 14px 22px;
    width: 185px;
    height: 100px;
    overflow: hidden;
    font-size: 13px;
    color: var(--muted);
    transition: var(--transition);
}

.client-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
    border-color: var(--stroke-strong);
    color: var(--text);
}

.client-logo-card img {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 4px;
    transition: var(--transition);
}

.client-logo-card:hover img {
    background: #ffffff;
}

.client-name-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
}

.client-name-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
    border-color: var(--stroke-strong);
}

/* Unified Page Header */
.page-header {
    min-height: 180px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
    position: relative;
    padding: 30px 20px;
}

.page-header .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-header h1 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.page-header p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 600px;
    margin: 0;
}

/* Contact Header */
.contact-header .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-header-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.contact-header-links .quick-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.contact-header-links .quick-link-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.contact-header-links .quick-link-text {
    font-size: 12px;
    color: var(--muted);
}

.contact-header-address {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.contact-header-address .contact-info-icon {
    font-size: 16px;
}

.contact-header-address .contact-info-text {
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-header-address .contact-info-text:hover {
    color: var(--white);
}

/* Services Page Styles */

.services-detail {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}

.services-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 255, 136, 0.02) 10px,
        rgba(0, 255, 136, 0.02) 20px
    );
    pointer-events: none;
}

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

.service-detail-card {
    background: var(--panel);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    transition: var(--transition);
    border: 1px solid var(--stroke);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-md);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke-strong);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--stroke);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-detail-card:hover .service-detail-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.service-detail-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--ink);
}

.service-detail-subtitle {
    color: var(--secondary-cyan);
    font-weight: 500;
    font-size: 16px;
    text-shadow: 0 0 10px var(--secondary-cyan);
}

.service-detail-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
}

.service-detail-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-detail-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--muted);
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-cyan);
    font-weight: 700;
    text-shadow: 0 0 5px var(--secondary-cyan);
}

.services-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.services-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.services-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Products Page Styles */
.products-grid {
    padding: 60px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

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

.products-container .section-header {
    text-align: left;
}

.products-container .section-header p {
    margin: 0;
}

.products-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

@media (max-width: 992px) {
    .products-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-cards {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--panel);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--stroke);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card.product-link {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--stroke-strong);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-blue);
    line-height: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ink);
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card p {
    color: var(--muted);
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.aladin-detail {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

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

.aladin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.aladin-content.aladin-subsection {
    grid-template-columns: 1fr;
    margin-top: 60px;
}

.aladin-info h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ink);
}

.aladin-info p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 30px;
}

.aladin-features h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ink);
}

.aladin-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.aladin-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--muted);
}

.aladin-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-cyan);
    font-weight: 700;
}

.aladin-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.aladin-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* HW di Misura section - larger image */
.hw-misura-detail {
    padding: 100px 20px;
    background: transparent;
}

.hw-misura-content {
    overflow: hidden;
}

.hw-misura-content::after {
    content: "";
    display: table;
    clear: both;
}

.hw-misura-image {
    float: right;
    width: 55%;
    margin-left: 40px;
    margin-bottom: 20px;
}

.hw-misura-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.hw-misura-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ink);
}

.hw-misura-content p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hw-misura-content h4 {
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 18px;
}

.products-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.products-cta h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.products-cta p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* News Article Page Styles */
.news-article-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.news-article-header {
    margin-bottom: 40px;
}

.news-article-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-coral) 100%);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-article-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.2;
}

.news-article-subtitle {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.news-article-content {
    color: var(--text);
    line-height: 1.8;
}

.news-article-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text);
}

.news-article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 16px;
    color: var(--text);
}

.news-article-content p {
    margin-bottom: 20px;
    color: var(--light-gray);
}

.news-article-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.news-article-content li {
    margin-bottom: 12px;
    color: var(--light-gray);
}

.news-article-content strong {
    color: var(--text);
}

.news-article-cta {
    margin-top: 50px;
    padding: 30px;
    background: var(--panel);
    border-radius: 16px;
    border: 1px solid var(--stroke);
    text-align: center;
}

.news-article-cta h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text);
}

.news-article-cta p {
    color: var(--muted);
    margin-bottom: 20px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: var(--transition);
}

.news-back-link:hover {
    color: var(--accent-coral);
    gap: 12px;
}

.news-back-link::before {
    content: '←';
}

/* Contact Page Styles - uses .page-header */

.contact-form {
    padding: 100px 20px;
    background: var(--bg-2);
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-info p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 40px;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-option {
    position: relative;
}

.contact-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.contact-option label {
    display: block;
    padding: 15px 20px;
    background: var(--panel);
    border: 2px solid var(--stroke);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text);
}

.contact-option input[type="radio"]:checked + label {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.contact-option label:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--stroke);
    border-radius: 12px;
    font-size: 16px;
    background: var(--panel);
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--medium-gray);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary-green);
}

.form-privacy {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.form-privacy label {
    font-size: 14px;
    color: var(--medium-gray);
}

.form-microcopy {
    grid-column: 1 / -1;
    font-size: 14px;
    color: var(--medium-gray);
    margin-top: 10px;
}

.quick-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .quick-links {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: var(--panel);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stroke);
}

.quick-link.quick-link-icon {
    width: 72px;
    height: 72px;
    padding: 0;
    border-radius: 18px;
    justify-content: center;
    gap: 0;
}

.quick-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-green);
    color: var(--white);
}

.quick-icon {
    font-size: 24px;
}

.quick-link.quick-link-icon .quick-icon {
    font-size: 30px;
}

.quick-icon.quick-icon-linkedin {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0a66c2;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.quick-icon.quick-icon-youtube {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ff0000;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
}

.quick-icon.quick-icon-telegram {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #229ed9;
    color: #ffffff;
}

.quick-icon.quick-icon-instagram {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
}

.quick-label {
    font-size: 14px;
    color: var(--muted);
}

.quick-link:hover .quick-label {
    color: rgba(255, 255, 255, 0.8);
}

.quick-value {
    font-weight: 600;
}

.quick-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 100px;
}

.quick-link-text {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    user-select: all;
}

.quick-link-text:hover {
    background: var(--panel-strong);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.quick-link-text:active {
    transform: scale(0.98);
}

.contact-info-extra {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    align-items: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-icon {
    font-size: 20px;
}

.contact-info-text {
    color: var(--text);
    font-size: 15px;
    padding: 10px 20px;
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-info-text:hover {
    background: var(--panel-strong);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* Loading Animation */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }

    .hero-container.hero-container-new {
        gap: 30px;
    }

    .dashboard-new {
        width: 100%;
        max-width: 640px;
        height: auto;
    }

    .aladin-content {
        gap: 40px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 900px) {
    .hero-container.hero-container-new {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .dashboard-wrapper {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .dashboard-new {
        width: 100%;
        max-width: 500px;
    }

    .hero-company-name {
        font-size: clamp(28px, 6vw, 48px) !important;
    }

    .hero-title-large {
        font-size: clamp(28px, 6vw, 48px);
    }

    .hero-subtitle-new {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .aladin-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .aladin-image {
        order: -1;
    }

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

/* Mobile phones */
@media (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 10px 15px;
    }

    .nav-logo {
        width: 45px;
    }

    nav ul {
        gap: 8px;
    }

    nav a {
        font-size: 12px;
        padding: 6px 8px;
    }

    .nav-cta {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    .lang-switch {
        gap: 4px;
    }

    .lang-switch button {
        padding: 4px 8px;
        font-size: 11px;
    }

    /* Mobile hamburger menu */
    .nav-container {
        flex-direction: row-reverse;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }

    .nav-logo-wrapper {
        order: 0;
    }

    nav .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav .nav-menu.active {
        left: 0;
    }

    nav .nav-menu li {
        width: 100%;
    }

    nav .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--stroke);
    }

    nav .nav-menu .btn-telegram {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    nav .nav-menu .language-toggle {
        margin-top: 20px;
    }

    /* Hero section */
    .hero {
        padding: 60px 15px 40px;
        min-height: auto;
        overflow: visible;
    }

    .hero-content {
        order: 1;
    }

    .hero-dashboard {
        display: none;
    }

    .hero-company-name {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .hero-title-large {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle-new {
        font-size: 14px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* Dashboard */
    .dashboard-new {
        max-width: 100%;
        padding: 10px;
        font-size: 11px;
        overflow: visible;
    }

    .dash-header-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .dash-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 6px;
        padding-left: 0;
    }

    .dash-stat-card {
        flex: 1 1 auto;
        min-width: 55px;
        max-width: 70px;
        height: auto;
        min-height: 45px;
        padding: 5px 4px;
    }

    .dash-stat-value-new {
        font-size: 10px;
    }

    .dash-stat-label-new {
        font-size: 6px;
    }

    .dash-stat-icon-new {
        font-size: 7px;
    }

    .dash-main-content {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-bottom-content {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dash-chart-title {
        font-size: 9px;
    }

    .dash-power-chart,
    .dash-pq-chart,
    .dash-daily-energy,
    .dash-weekly-avg,
    .dash-power-factor {
        padding: 8px;
        min-height: 80px;
    }

    /* News section */
    .news-section {
        margin: 30px auto;
        padding: 0 15px;
    }

    .news-carousel-container {
        padding: 0 35px;
    }

    .news-carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .news-card {
        min-width: 260px;
        padding: 20px;
    }

    .news-card h3 {
        font-size: 18px;
    }

    /* Services section */
    .services-preview {
        padding: 60px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .page-header {
        min-height: 150px;
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .page-header p {
        font-size: 13px;
    }

    .contact-header-links {
        gap: 15px;
    }

    .contact-header-links .quick-link-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .contact-header-links .quick-link-text {
        font-size: 11px;
    }

    .contact-header-address {
        margin-top: 15px;
        font-size: 11px;
    }

    .services-page-grid {
        padding: 40px 15px;
        gap: 30px;
    }

    .service-card-full {
        padding: 30px 20px;
    }

    .service-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Products section */
    .products-grid {
        padding: 40px 15px;
    }

    .products-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 25px 20px;
    }

    /* Aladin and detail sections */
    .aladin-detail {
        padding: 60px 15px;
    }

    .aladin-info h2 {
        font-size: 24px;
    }

    .aladin-info p {
        font-size: 14px;
    }

    .aladin-features ul {
        padding-left: 20px;
    }

    .aladin-features li {
        font-size: 13px;
    }

    .hw-misura-detail {
        padding: 60px 15px;
    }

    .hw-misura-image {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 30px;
    }

    /* Contact section */
    .contact-section {
        padding: 60px 15px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .hero-company-name {
        font-size: 24px !important;
    }

    .hero-title-large {
        font-size: 24px;
    }

    .dashboard-new {
        padding: 10px;
    }

    .dashboard-new {
        padding: 8px;
    }

    .dash-header-row {
        gap: 3px;
    }

    .dash-stat-card {
        min-width: 48px;
        max-width: 60px;
        min-height: 38px;
        padding: 4px 3px;
    }

    .dash-stat-value-new {
        font-size: 9px;
    }

    .dash-stat-label-new {
        font-size: 5px;
    }

    .dash-stat-icon-new {
        font-size: 6px;
    }

    .dash-main-content,
    .dash-bottom-content {
        gap: 6px;
    }

    .dash-power-chart,
    .dash-pq-chart,
    .dash-daily-energy,
    .dash-weekly-avg,
    .dash-power-factor {
        padding: 6px;
        min-height: 70px;
    }

    .news-card {
        min-width: 240px;
        padding: 15px;
    }

    /* Mobile hamburger menu */
    .nav-container {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .nav-logo-wrapper {
        margin-left: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-right: auto;
    }

    nav .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }

    nav .nav-menu.active {
        left: 0;
    }

    nav .nav-menu li {
        width: 100%;
    }

    nav .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--stroke);
    }

    nav .nav-menu .btn-telegram {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    nav .nav-menu .language-toggle {
        margin-top: 20px;
    }

    .lang-switch {
        margin-left: auto;
    }
}

/* Links to /solutions/data-center-power-quality/ (PQ Consulting card, PQ Monitoring) */
.services-page-grid .service-card-full .service-card-cta.service-card-cta-secondary {
    margin-top: 14px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.35);
    box-shadow: none;
}

.services-page-grid .service-card-full .service-card-cta.service-card-cta-secondary:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: none;
}

.pq-monitoring-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-outline.btn-outline-ghost {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: none;
}

.btn-outline.btn-outline-ghost:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.6);
}
