@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #2C3E50;
  --primary-dark: #1A252F;
  --accent: #27AE60;
  --accent-hover: #219A52;
  --bg-primary: #ECF0F1;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-primary: #2C3E50;
  --text-secondary: #7F8C8D;
  --text-alert: #E74C3C;
  --border-color: #BDC3C7;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-card: 0 8px 24px rgba(44, 62, 80, 0.1);
  --shadow-hover: 0 12px 32px rgba(44, 62, 80, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Header Styles */
.rk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(236, 240, 241, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.rk-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
}

.rk-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.rk-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rk-nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.rk-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.rk-nav-link:hover,
.rk-nav-link.active {
  color: var(--accent);
}

.rk-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.rk-cta-phone {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.rk-cta-phone:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.rk-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.rk-hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.rk-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.rk-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.rk-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
.rk-main {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.mv-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(26, 37, 47, 0.8)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  overflow: hidden;
}

.mv-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
}

.mv-hero-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease-out;
}

.mv-hero-subtitle {
  font-size: 20px;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.95;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.mv-hero-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
  animation: slideUp 0.8s ease-out 0.4s both;
}

.mv-hero-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(39, 174, 96, 0.3);
}

/* Sections */
.qw-section {
  padding: 6rem 2rem;
  overflow: hidden;
}

.qw-section.alternate {
  background: var(--bg-secondary);
}

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

.qw-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.qw-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Values Grid */
.lp-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.lp-value-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-align: center;
}

.lp-value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.lp-value-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.lp-value-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.lp-value-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.lp-value-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.bx-stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
}

.bx-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.bx-stat-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.bx-stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.bx-stat-label {
  font-size: 18px;
  opacity: 0.9;
}

/* Service Preview */
.zn-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.zn-service-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.zn-service-card:hover {
  transform: perspective(1000px) rotateY(2deg);
  box-shadow: var(--shadow-hover);
}

.zn-service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.zn-service-content {
  padding: 2rem;
}

.zn-service-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.zn-service-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.zn-service-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.zn-service-link:hover {
  color: var(--accent-hover);
  transform: translateX(5px);
}

/* Team Section */
.tq-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.tq-member {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.tq-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tq-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--accent);
}

.tq-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tq-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.tq-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.tq-bio {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Process Steps */
.wp-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.wp-step {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  border-left: 4px solid var(--accent);
}

.wp-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.wp-step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: var(--accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.wp-step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
  margin-top: 1rem;
}

.wp-step-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Form */
.fx-form {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 0 auto;
}

.fx-form-group {
  margin-bottom: 2rem;
}

.fx-form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.fx-form-input,
.fx-form-select,
.fx-form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--bg-primary);
}

.fx-form-input:focus,
.fx-form-select:focus,
.fx-form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

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

.fx-form-submit {
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.fx-form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.fx-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.ym-footer {
  background: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: auto;
}

.ym-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.ym-footer-section h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.ym-footer-section p,
.ym-footer-section li {
  margin-bottom: 0.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.ym-footer-section ul {
  list-style: none;
}

.ym-footer-section a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.ym-footer-section a:hover {
  color: var(--accent);
}

.ym-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.8;
}

/* Cookie Banner */
.nx-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.98);
  color: white;
  padding: 1.5rem 2rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.nx-cookie-banner.show {
  transform: translateY(0);
}

.nx-cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

.nx-cookie-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nx-cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.nx-cookie-accept {
  background: var(--accent);
  color: white;
}

.nx-cookie-accept:hover {
  background: var(--accent-hover);
}

.nx-cookie-decline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nx-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .rk-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transform: translateY(-100vh);
    transition: var(--transition);
  }

  .rk-nav-menu.active {
    transform: translateY(0);
  }

  .rk-hamburger {
    display: flex;
  }

  .rk-cta-phone {
    display: none;
  }

  .mv-hero-title {
    font-size: 36px;
  }

  .mv-hero-subtitle {
    font-size: 18px;
  }

  .qw-title {
    font-size: 36px;
  }

  .qw-subtitle {
    font-size: 18px;
  }

  .qw-section {
    padding: 4rem 1rem;
  }

  .lp-values {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bx-stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zn-services {
    grid-template-columns: 1fr;
  }

  .tq-team {
    grid-template-columns: 1fr;
  }

  .wp-process {
    grid-template-columns: 1fr;
  }

  .fx-form {
    padding: 2rem;
    margin: 0 1rem;
  }

  .ym-footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nx-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .nx-cookie-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .rk-nav-container {
    padding: 0 1rem;
  }

  .rk-logo {
    font-size: 24px;
  }

  .mv-hero-title {
    font-size: 28px;
  }

  .qw-title {
    font-size: 28px;
  }

  .bx-stat-number {
    font-size: 36px;
  }

  .lp-value-card,
  .zn-service-card,
  .tq-member,
  .wp-step {
    margin: 0 0.5rem;
  }
}