:root {
  --blue: #0B1F2A;
  --teal: #1FA6A0;
  --teal-light: #2DC4BC;
  --gray-dark: #2E2E2E;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --light: #F5F7FA;
  --white: #FFFFFF;
  --accent: #3DDC84;
  --accent-dark: #2AB86A;
  --gradient-1: linear-gradient(135deg, #0B1F2A 0%, #1FA6A0 100%);
  --gradient-2: linear-gradient(135deg, #1FA6A0 0%, #3DDC84 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  background: var(--blue);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--teal);
  transition: transform 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-light);
}

.nav-menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  min-width: 40px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: var(--gradient-2);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(31, 166, 160, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 2rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  z-index: -2;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
  opacity: 0.4;
  transition: transform 0.3s ease;
}

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

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(31, 166, 160, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 166, 160, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: -1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(11, 31, 42, 0.85) 0%, rgba(11, 31, 42, 0.75) 100%),
    radial-gradient(circle at 30% 50%, rgba(31, 166, 160, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(61, 220, 132, 0.2) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Space Grotesk', sans-serif;
}

.hero .highlight {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: var(--gradient-2);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(31, 166, 160, 0.4);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(31, 166, 160, 0.6);
}

.cta-secondary {
  border: 2px solid var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.arrow {
  width: 2px;
  height: 30px;
  background: var(--white);
  position: relative;
}

.arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--white);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-2);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
}

.about-text .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Values Section */
.values {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 166, 160, 0.1);
}

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

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 700;
}

.value-card ul {
  list-style: none;
  padding-left: 0;
}

.value-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
}

.value-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* Services Section */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(31, 166, 160, 0.1);
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gradient-1);
  position: relative;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin: 1.5rem 1.5rem 1rem;
  color: var(--blue);
  font-weight: 700;
}

.service-card ul {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  flex-grow: 1;
}

.service-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

.partner-note {
  font-size: 0.85rem;
  color: var(--teal);
  font-style: italic;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}

/* Partners Section */
.partners {
  background: linear-gradient(135deg, #0B1F2A 0%, #1a2f3a 100%);
  color: var(--white);
}

.partners .section-header h2,
.partners .section-header p {
  color: var(--white);
}

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

.partner-logo {
  text-decoration: none;
  color: inherit;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--teal);
  transform: translateY(-5px);
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-weight: 700;
}

.partner-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: var(--gradient-1);
  color: var(--white);
  padding: 6rem 2rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact .section-header h2,
.contact .section-header p {
  color: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-wrapper .contact-info {
  margin: 0;
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin: 3rem 0;
  align-items: start;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 166, 160, 0.2);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--blue);
  color: var(--white);
}

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

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-2);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(31, 166, 160, 0.3);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 166, 160, 0.5);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(61, 220, 132, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ff6b6b;
}

.platform-note {
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-style: italic;
}

/* Footer */
footer {
  background: #08161E;
  color: var(--gray-light);
  text-align: center;
  padding: 2.5rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

footer a:hover {
  color: var(--teal-light);
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    transform: none;
  }

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

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

  .nav-menu {
    gap: 0.3rem;
  }

  .nav-menu a {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }

  .logo a {
    font-size: 1.5rem;
  }

  .main-nav {
    gap: 1rem;
  }

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

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--blue);
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

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

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    text-align: left;
    border-radius: 0;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
  }

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

  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-width: 35px;
  }

  .hero {
    min-height: 80vh;
    padding: 1.5rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    text-align: center;
  }


  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

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

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

@media (max-width: 480px) {
  .section-label {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .value-card,
  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    height: 150px;
  }
}

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .value-card,
  .partner-card {
    animation: fadeInUp 0.6s ease-out backwards;
  }

  .service-card:nth-child(1) { animation-delay: 0.1s; }
  .service-card:nth-child(2) { animation-delay: 0.2s; }
  .service-card:nth-child(3) { animation-delay: 0.3s; }
  .service-card:nth-child(4) { animation-delay: 0.4s; }
  .service-card:nth-child(5) { animation-delay: 0.5s; }
  .service-card:nth-child(6) { animation-delay: 0.6s; }
  .service-card:nth-child(7) { animation-delay: 0.7s; }
}
