:root {
    /* Colors */
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent-color: #0066cc;
    --accent-hover: #004499;
    --border-color: #d2d2d7;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 100%;
    --border-radius: 18px;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Typography Utilities */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.003em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Navigation */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav-content {
    width: calc(100% - 40px);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nav-logo {
    margin-left: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    margin-left: 0;
    color: white;
}

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

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent-color) 0%, #004499 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 50px;
    margin-right: 0;
}

.nav-list a {
    font-size: 16px;
    color: white;
    opacity: 0.8;
    font-weight: 500;
}

.nav-list a:hover {
    opacity: 1;
    color: #3b82f6;
}

.nav-mobile-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: center;
    padding: 140px 5% 80px;
    background-color: var(--bg-color);
    overflow: hidden;
    width: 100%;
    max-width: none;
}

.hero-content {
    text-align: left;
    padding-right: 40px;
}

.hero-headline {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 0.009em;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-primary.btn-animated {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary.btn-animated span {
    position: relative;
    z-index: 10;
    display: inline-block;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-primary.btn-animated:hover,
.btn-primary.btn-animated:focus {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary.btn-animated:hover span,
.btn-primary.btn-animated:focus span {
    color: #1e293b;
}

.btn-primary.btn-animated:active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

@keyframes glass-shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.btn-link {
    color: var(--accent-color);
}

.btn-link.btn-dark {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    border: 2px solid rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-link.btn-dark:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    text-decoration: none;
    border: 2px solid rgba(0, 0, 0, 1);
    transform: translateY(-2px);
}

.btn-link:hover {
    text-decoration: underline;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    perspective: 1200px;
    perspective-origin: center center;
    padding-top: 0px;
}

/* 3D Rack Scene */
.rack-3d-scene {
    width: 100%;
    max-width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rack-controls {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.control-hint {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 3D Rack Cube */
.rack-cube {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-10deg) rotateY(25deg);
    transition: transform 0.3s ease-out;
    margin: auto;
    animation: rackIdle 8s ease-in-out infinite;
}

@keyframes rackIdle {

    0%,
    100% {
        transform: rotateX(-10deg) rotateY(25deg) translateY(0px);
    }

    50% {
        transform: rotateX(-10deg) rotateY(25deg) translateY(-8px);
    }
}

/* Rack Faces */
.rack-face {
    position: absolute;
    width: 300px;
    height: 400px;
    border: 1px solid #333;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.rack-face.front {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    transform: translateZ(150px);
    border-radius: 8px;
}

.rack-face.back {
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    transform: translateZ(-150px) rotateY(180deg);
    border-radius: 8px;
}

.rack-face.left {
    background: linear-gradient(145deg, #333 0%, #222 100%);
    transform: rotateY(-90deg) translateZ(150px);
    width: 300px;
}

.rack-face.right {
    background: linear-gradient(145deg, #333 0%, #222 100%);
    transform: rotateY(90deg) translateZ(150px);
    width: 300px;
}

.rack-face.top {
    background: linear-gradient(145deg, #444 0%, #333 100%);
    transform: rotateX(90deg) translateZ(200px);
    height: 300px;
}

.rack-face.bottom {
    background: linear-gradient(145deg, #222 0%, #111 100%);
    transform: rotateX(-90deg) translateZ(200px);
    height: 300px;
}

/* 3D Rack Frame Content */
.rack-frame-3d {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rack-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3D Rack Units */
.rack-unit-3d {
    width: 100%;
    height: 70px;
    background: linear-gradient(145deg, #404040 0%, #2a2a2a 100%);
    border: 1px solid #555;
    border-radius: 6px;
    margin-bottom: 8px;
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.rack-unit-3d:hover {
    transform: translateZ(3px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Unit Bezel */
.unit-bezel {
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unit-label {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Port Panel */
.port-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.port-group {
    display: flex;
    gap: 6px;
}

.port-3d {
    width: 14px;
    height: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.port-3d.active {
    background: linear-gradient(145deg, #00ff00 0%, #00cc00 100%);
    box-shadow:
        0 0 8px rgba(0, 255, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: portActivity 2s ease-in-out infinite alternate;
}

@keyframes portActivity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.status-panel {
    display: flex;
    gap: 4px;
    align-items: center;
}

.led-3d {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.led-3d.active {
    box-shadow:
        0 0 10px rgba(0, 255, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.led-3d.power.active {
    background: linear-gradient(145deg, #00ff00 0%, #00cc00 100%);
}

.led-3d.status.active {
    background: linear-gradient(145deg, #0066ff 0%, #0044cc 100%);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
}

.led-3d.activity.blinking {
    background: linear-gradient(145deg, #ff6600 0%, #ff4400 100%);
    animation: activityBlink 1s ease-in-out infinite alternate;
}

.led-3d.hdd.blinking {
    background: linear-gradient(145deg, #ff6600 0%, #ff4400 100%);
    animation: hddActivity 0.5s ease-in-out infinite alternate;
}

.led-3d.battery.active {
    background: linear-gradient(145deg, #00ff00 0%, #00cc00 100%);
}

.led-3d.online.active {
    background: linear-gradient(145deg, #0066ff 0%, #0044cc 100%);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
}

@keyframes activityBlink {
    0% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
    }

    100% {
        opacity: 0.3;
        box-shadow: 0 0 3px rgba(255, 102, 0, 0.3);
    }
}

@keyframes hddActivity {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

/* Patch Panel */
.patch-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.patch-port-3d {
    width: 18px;
    height: 14px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #444;
    border-radius: 4px;
    position: relative;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.patch-port-3d.connected {
    background: linear-gradient(145deg, #ffa500 0%, #ff8c00 100%);
    box-shadow:
        0 0 6px rgba(255, 165, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.patch-port-3d:hover {
    transform: scale(1.1);
}

/* Server Panel */
.server-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drive-bays {
    display: flex;
    gap: 6px;
}

.drive-3d {
    width: 35px;
    height: 18px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 3px;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.drive-3d.active {
    background: linear-gradient(145deg, #0066cc 0%, #004499 100%);
    box-shadow:
        0 0 6px rgba(0, 102, 204, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.server-status {
    display: flex;
    gap: 4px;
}

/* UPS Panel */
.ups-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ups-display-3d {
    display: flex;
    align-items: center;
    gap: 8px;
}

.display-screen {
    background: linear-gradient(145deg, #001100 0%, #002200 100%);
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #004400;
    box-shadow:
        inset 0 0 10px rgba(0, 255, 0, 0.3),
        0 0 5px rgba(0, 255, 0, 0.2);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.ups-status {
    display: flex;
    gap: 4px;
}

/* Rear Panel Components */
.cable-management-3d {
    position: absolute;
    top: 20px;
    right: 10px;
    width: 20px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.cable-vertical {
    width: 4px;
    height: 60px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cable-orange {
    background: linear-gradient(180deg, #ff6600 0%, #ff4400 100%);
}

.cable-blue {
    background: linear-gradient(180deg, #0066cc 0%, #004499 100%);
}

.cable-green {
    background: linear-gradient(180deg, #00cc00 0%, #009900 100%);
}

.cable-red {
    background: linear-gradient(180deg, #cc0000 0%, #990000 100%);
}

.rear-units {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
}

.rear-unit {
    margin-bottom: 20px;
}

.power-connections {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.power-socket {
    width: 20px;
    height: 15px;
    background: linear-gradient(145deg, #333 0%, #222 100%);
    border: 1px solid #555;
    border-radius: 3px;
    position: relative;
}

.power-socket.active {
    background: linear-gradient(145deg, #ff6600 0%, #ff4400 100%);
    box-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
}

.network-uplinks {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.fiber-port {
    width: 15px;
    height: 10px;
    background: linear-gradient(145deg, #333 0%, #222 100%);
    border: 1px solid #555;
    border-radius: 2px;
}

.fiber-port.active {
    background: linear-gradient(145deg, #0066cc 0%, #004499 100%);
    box-shadow: 0 0 6px rgba(0, 102, 204, 0.6);
}

/* Side Panels */
.side-panel {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.ventilation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.vent-hole {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #000 30%, #333 70%);
    border-radius: 50%;
    border: 1px solid #555;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.side-fan {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #444 20%, transparent 21%, transparent 30%, #666 31%, #666 50%, transparent 51%);
    border: 2px solid #555;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.side-fan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.side-fan.spinning {
    animation: fanRotate 0.1s linear infinite;
}

@keyframes fanRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Top and Bottom Panels */
.top-panel,
.bottom-panel {
    padding: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rack-mounting-holes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 150px;
}

.mount-hole {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #000 30%, #222 70%);
    border-radius: 50%;
    border: 1px solid #555;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

.rack-feet {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 150px;
}

.foot {
    width: 20px;
    height: 15px;
    background: linear-gradient(145deg, #333 0%, #222 100%);
    border: 1px solid #555;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Three.js Rack Spinner Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 3D Rack Interactive Effects */
.rack-unit-3d:hover .led-3d {
    animation-duration: 0.3s;
}

.rack-unit-3d:hover .port-3d.active {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.9);
}

.rack-unit-3d:hover .drive-3d.active {
    animation: driveActivity3d 0.4s ease-in-out infinite alternate;
}

@keyframes driveActivity3d {
    0% {
        box-shadow: 0 0 6px rgba(0, 102, 204, 0.6);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 15px rgba(0, 102, 204, 1);
        transform: scale(1.05);
    }
}

/* Rack Interaction States */
.rack-cube.rotating {
    animation: none;
}

.rack-cube:hover {
    animation-play-state: paused;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 10px;
}

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

.section-header h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 21px;
    color: var(--text-secondary);
}

/* Services */
.services-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 120px 0;
    margin-top: 100px;
    position: relative;
    z-index: 10;
}

/* Service Cards - Interactive Flip Style v2 */
.service-card-flip {
    perspective: 1000px;
    cursor: pointer;
    height: 450px;
    transition: transform 0.3s ease;
}

.service-card-flip:hover {
    transform: translateY(-8px);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

.service-card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotateY(0deg);
}

.service-card-back {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    transform: rotateY(180deg);
    justify-content: flex-start;
    padding: 35px 25px;
    overflow: hidden;
}

.service-card-front .service-icon {
    font-size: 80px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.service-card-flip:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card-front h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card-front p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.partner-badge {
    background: linear-gradient(45deg, #1a1a1a, #333333);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-align: center;
    width: fit-content;
    max-width: 100%;
}

.card-hint {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-card-flip:hover .card-hint {
    background: rgba(0, 102, 204, 0.15);
    transform: scale(1.05);
}

/* Back Side Styling */
.service-card-back h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    text-align: left;
    width: 100%;
}

.service-details {
    text-align: left;
    width: 100%;
    flex: 1;
    overflow-y: auto;
}

.service-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    margin-top: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-details h4:first-child {
    margin-top: 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.service-details li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 4px;
}

.service-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.btn-card-cta {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: white;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-card-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for flip cards */
@media (max-width: 768px) {
    .service-card-flip {
        height: 350px;
    }

    .service-card-front,
    .service-card-back {
        padding: 30px 20px;
    }

    .service-card-front .service-icon {
        font-size: 48px;
    }

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
    width: 100%;
}

.services-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 50px;
    margin-top: 60px;
    width: 100%;
}


/* Brands Section */
.brands-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.brands-section .section-header h2 {
    color: white;
    margin-bottom: 15px;
}

.brands-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
}

/* Brands */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin-top: 0;
}

.brand-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.brand-placeholder {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

.brand-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: all 0.3s ease;
    filter: grayscale(0);
}

.brand-logo img[alt="Panduit"] {
    max-width: 200px;
    max-height: 110px;
}

.brand-logo img[alt="Hikvision"] {
    max-width: 180px;
    max-height: 90px;
}

.brand-logo img[alt="Avigilon"] {
    max-width: 180px;
    max-height: 90px;
}

.brand-logo img[alt="Axis"] {
    max-width: 180px;
    max-height: 90px;
}

.brand-logo:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card blockquote {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--accent-color);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: transparent;
    color: var(--text-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 19px;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.cta-section .btn-link {
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 980px;
    padding: 14px 30px;
    background-color: transparent;
}

.cta-section .btn-link:hover {
    background-color: var(--bg-light);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-secondary);
}

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f5;
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-family);
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

.contact-info {
    padding-top: 20px;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Footer */
.global-footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 30px;
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
    color: var(--text-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 120px 30px 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subheadline {
        max-width: 100%;
    }

    .rack-3d-scene {
        max-width: 400px;
        height: 400px;
    }

    .rack-cube {
        width: 250px;
        height: 320px;
        transform: rotateX(-5deg) rotateY(15deg);
    }

    .rack-face {
        width: 250px;
        height: 320px;
    }

    .rack-face.front,
    .rack-face.back {
        transform: translateZ(125px);
    }

    .rack-face.back {
        transform: translateZ(-125px) rotateY(180deg);
    }

    .rack-face.left {
        transform: rotateY(-90deg) translateZ(125px);
    }

    .rack-face.right {
        transform: rotateY(90deg) translateZ(125px);
    }

    .rack-unit-3d {
        height: 55px;
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-headline {
        font-size: 40px;
        line-height: 1.1;
    }

    .hero-subheadline {
        font-size: 20px;
        margin-bottom: 30px;
    }

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

    .rack-3d-scene {
        max-width: 350px;
        height: 350px;
    }

    .rack-cube {
        width: 220px;
        height: 280px;
        transform: rotateX(-8deg) rotateY(20deg);
    }

    .rack-face {
        width: 220px;
        height: 280px;
    }

    .rack-face.front {
        transform: translateZ(110px);
    }

    .rack-face.back {
        transform: translateZ(-110px) rotateY(180deg);
    }

    .rack-face.left {
        transform: rotateY(-90deg) translateZ(110px);
    }

    .rack-face.right {
        transform: rotateY(90deg) translateZ(110px);
    }

    .rack-unit-3d {
        height: 45px;
        margin-bottom: 5px;
    }

    .rack-frame-3d {
        padding: 15px;
    }

    .unit-label {
        font-size: 9px;
    }

    .port-3d {
        width: 10px;
        height: 8px;
    }

    .led-3d {
        width: 6px;
        height: 6px;
    }

    .nav-content {
        padding: 0 20px;
    }

    .nav-logo {
        gap: 8px;
        font-size: 1.1rem;
        margin-left: 0;
    }

    .logo-img {
        height: 28px;
    }

    .nav-list {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
        width: 24px;
        height: 24px;
        position: relative;
    }

    .section-header h2 {
        font-size: 36px;
    }

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

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

    .service-card {
        padding: 30px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brand-logo {
        height: 100px;
    }

    .brand-placeholder {
        font-size: 16px;
    }

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

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-card blockquote {
        font-size: 16px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 17px;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-item {
        margin-bottom: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .rack-3d-container {
        max-width: 280px;
        height: 280px;
    }

    .rack-frame {
        width: 180px;
        height: 220px;
    }

    .rack-unit {
        width: 160px;
        height: 40px;
        left: 10px;
    }

    .rack-unit:nth-child(4) {
        top: 10px;
    }

    .rack-unit:nth-child(5) {
        top: 55px;
    }

    .rack-unit:nth-child(6) {
        top: 100px;
    }

    .rack-unit:nth-child(7) {
        top: 145px;
    }

    /* Simplify details on mobile */
    .switch-label,
    .patch-label,
    .server-label,
    .ups-label {
        font-size: 8px;
    }

    .port,
    .patch-port {
        width: 8px;
        height: 6px;
    }

    .led {
        width: 4px;
        height: 4px;
    }

    .drive-bay {
        width: 25px;
        height: 12px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .nav-content {
        padding: 0 15px;
    }

    .nav-logo {
        gap: 6px;
        font-size: 1rem;
        margin-left: 0;
    }

    .logo-img {
        height: 24px;
    }

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

    .brand-logo {
        height: 80px;
    }

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

    .contact-form {
        padding: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .testimonial-card {
        padding: 25px;
    }
}