/* ============================================
   hyperIT - Modern Professional Design
   With White Header Band & Red Geometric Elements
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #c40012;
  --color-primary-dark: #9a0010;
  --color-primary-light: #e30613;
  --color-accent: #ff1a2e;
  
  --color-black: #000000;
  --color-gray-900: #0a0a0a;
  --color-gray-800: #1a1a1a;
  --color-gray-700: #2a2a2a;
  --color-gray-600: #4a4a4a;
  --color-gray-500: #6a6a6a;
  --color-gray-400: #9a9a9a;
  --color-gray-300: #c4c4c4;
  --color-gray-200: #e5e5e5;
  --color-gray-100: #f5f5f5;
  --color-white: #ffffff;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --transition-speed: 0.3s;
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-sm: 12px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
}

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

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-gray-800);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header with White Band */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
}

.header-white-band {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid var(--color-gray-100);
}

.header.scrolled .header-white-band {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-speed) ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--color-gray-800);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 8px 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transform: translateX(-50%);
  transition: width var(--transition-speed) ease;
}

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

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

.lang-toggle {
  background: var(--color-gray-100);
  color: var(--color-gray-800);
  border: 1px solid var(--color-gray-200);
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-speed) ease;
}

.lang-toggle:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-gray-800);
  transition: all var(--transition-speed) ease;
}

/* Hero Section with Geometric Background */
.hero {
  position: relative;
  padding: 170px 0 100px;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 50%, #1a0003 100%);
  overflow: hidden;
}

/* Decorative Red Geometric Elements */
.hero-bg-pattern {
  position: absolute;
  width: 400px;
  height: 100%;
  top: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.hero-bg-pattern-left {
  left: 0;
  background-image: url('bg-pattern-2.png');
  background-position: left center;
}

.hero-bg-pattern-right {
  right: 0;
  background-image: url('bg-pattern-right.png');
  background-position: right center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  color: var(--color-primary-light);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 620px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 16px;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(196, 0, 18, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 0, 18, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 0, 18, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.hero-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-list {
  list-style: none;
}

.hero-list li {
  padding: 12px 0;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}

.hero-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-weight: 900;
  font-size: 18px;
}

/* Stats Section */
.stats {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  padding: 0 0 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}

.stat-icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.stat-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  color: var(--color-gray-600);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--color-gray-100);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-speed) ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray-600);
}

/* About Section */
.about {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 50%, #1a0003 100%);
  color: var(--color-white);
}

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

.about-desc p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

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

/* Contact Form */
.contact-form {
  background: var(--color-gray-100);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-gray-900);
  transition: all var(--transition-speed) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(196, 0, 18, 0.1);
}

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

/* Footer */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  border-top: 1px solid rgba(196, 0, 18, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

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

.footer-logo {
  height: 50px;
  background: white;
  padding: 6px 12px;
  border-radius: 8px;
}

.footer-text {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.footer-legal {
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-bg-pattern {
    width: 300px;
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-link {
    font-size: 24px;
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-desc {
    font-size: 17px;
  }
  
  .hero-bg-pattern {
    width: 200px;
    opacity: 0.3;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .stat-card {
    padding: 24px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form {
    padding: 32px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .logo-img {
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero-card {
    padding: 28px;
  }
  
  .hero-bg-pattern {
    display: none;
  }
}

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

.hero-text,
.hero-card,
.stat-card,
.service-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-text {
  animation-delay: 0.2s;
}

.hero-card {
  animation-delay: 0.4s;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
