@import url('public/fonts/stratos.css');

:root {
  --primary: #0066ff;
  --primary-hover: #0052cc;
  --secondary: #1a1a1a;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #12141d;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --container-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Stratos LC Web', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */

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

.section {
  padding: 120px 0;
}

/* --- Navigation --- */

nav {
  height: 90px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  opacity: 0.8;
  padding: 8px 0;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary);
}

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

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  min-height: 48px; /* Minimum touch target size */
  min-width: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  background: white;
  border: 1px solid #eee;
  color: var(--text-main) !important;
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Hero --- */

.hero {
  padding: 180px 0 120px;
  text-align: center;
  background: radial-gradient(circle at top, #f0f7ff 0%, #ffffff 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 80px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  color: #000;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 48px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.hero-image-card {
  width: 320px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: var(--transition);
}

.hero-image-card:nth-child(2) {
  transform: translateY(-30px);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats overlap --- */

.stats-section {
  position: relative;
  z-index: 100;
  transform: translateY(-200px);
  margin-bottom: -200px;
}

.stats-grid {
  background: var(--bg-dark);
  border-radius: 40px;
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  color: white;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-item h3 {
  font-size: 40px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}

.stat-icon-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-circle svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.stat-item p {
  font-size: 15px;
  color: #a0a0ab;
  font-weight: 500;
}

/* --- Sections Shared --- */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #000;
}

.section-title h2 span {
  display: block;
  color: var(--primary);
}

/* --- Services Grid --- */

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

.card {
  background: #fbfbfc;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid #f0f0f5;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card:hover {
  background: white;
  border-color: white;
  box-shadow: 0 40px 80px rgba(0, 102, 255, 0.08);
  transform: translateY(-12px);
}

.card.primary {
  background: var(--primary);
  color: white;
  border: none;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.card.primary .card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.card.primary .card-icon svg {
  fill: white;
}

.card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card.primary p {
  color: rgba(255, 255, 255, 0.7);
}

.learn-more {
  margin-top: auto;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.card.primary .learn-more {
  color: white;
}

/* --- Info Section --- */

.info-box {
  background: #fbfbfc;
  border-radius: 40px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.info-visual {
  height: 480px;
  border-radius: 32px;
  overflow: hidden;
}

.info-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-item {
  background: white;
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.benefit-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.benefit-item strong {
  font-size: 18px;
  font-weight: 500;
}

.arrow-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.benefit-item:hover .arrow-circle {
  background: var(--primary);
  border-color: var(--primary);
}

.benefit-item:hover .arrow-circle svg {
  fill: white;
}

/* --- Form --- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 100px;
  background: #000;
  border-radius: 40px;
  color: white;
}

.contact-left h2 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 32px;
}

.contact-left p {
  font-size: 18px;
  color: #a0a0ab;
  margin-bottom: 60px;
}

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

.method {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 18px;
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.form-group input {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #333;
  color: white;
  font-family: inherit;
  font-size: 18px;
  transition: var(--transition);
}

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

/* --- Footer --- */

footer {
  padding: 60px 0;
}

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

.copyright {
  color: #a0a0ab;
  font-size: 14px;
}

/* --- Resp --- */

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 60px;
  }

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

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

  .contact-wrap {
    grid-template-columns: 1fr;
    padding: 60px;
    gap: 60px;
  }

  .info-box {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero-visual {
    flex-direction: column;
    align-items: center;
  }

  .hero-image-card {
    width: 100%;
    max-width: 320px;
    height: 400px;
  }

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

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* Mobile navigation */
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: fixed;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    animation: slideDown 0.3s ease;
  }

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

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 24px;
    opacity: 1;
    padding: 12px 24px;
    border-radius: 12px;
  }

  .nav-links a.btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
    padding: 16px 24px;
  }

  /* Hero section */
  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-badge {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 24px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero-visual {
    margin-top: 48px;
    gap: 16px;
  }

  .hero-image-card {
    height: 280px;
  }

  .hero-image-card:nth-child(2) {
    transform: translateY(0);
  }

  /* Hero buttons */
  .hero > .container > div[style*="flex"] {
    flex-direction: column;
    align-items: center;
  }

  /* Stats section */
  .stats-section {
    transform: translateY(-120px);
    margin-bottom: -120px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    gap: 30px;
    border-radius: 24px;
  }

  .stat-item h3 {
    font-size: 32px;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  /* Services grid */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 32px 24px;
  }

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

  .card p {
    font-size: 14px;
  }

  /* Info box */
  .info-box {
    padding: 40px 24px;
    border-radius: 24px;
    gap: 40px;
  }

  .info-visual {
    height: 280px;
    border-radius: 20px;
    order: -1;
  }

  .info-content h2 {
    font-size: 28px !important;
    margin-bottom: 24px !important;
  }

  .benefit-item {
    padding: 20px;
    margin-bottom: 16px;
  }

  .benefit-content {
    gap: 12px;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .benefit-item strong {
    font-size: 16px;
  }

  .arrow-circle {
    width: 36px;
    height: 36px;
  }

  .arrow-circle svg {
    width: 16px;
    height: 16px;
  }

  /* Contact section */
  .contact-wrap {
    padding: 40px 24px;
    border-radius: 24px;
    gap: 40px;
  }

  .contact-left h2 {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .contact-left p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .method {
    font-size: 16px;
  }

  .method-icon {
    width: 42px;
    height: 42px;
  }

  .form-group label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .form-group input {
    font-size: 16px;
    padding: 16px 0;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Container */
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  /* Safe area support for phones with notches */
  nav {
    height: 60px;
    padding-top: env(safe-area-inset-top);
  }

  .nav-links {
    top: 60px;
    padding-top: calc(40px + env(safe-area-inset-top));
  }

  .logo img {
    height: 40px !important;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-badge {
    padding: 5px 12px;
    font-size: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-visual {
    gap: 12px;
  }

  .hero-image-card {
    height: 220px;
    border-radius: 16px;
  }

  /* Stats */
  .stats-grid {
    padding: 32px 20px;
    border-radius: 20px;
    gap: 24px;
  }

  .stat-item h3 {
    font-size: 28px;
    flex-wrap: wrap;
  }

  .stat-icon-circle {
    width: 28px;
    height: 28px;
  }

  .stat-icon-circle svg {
    width: 12px;
    height: 12px;
  }

  .stat-item p {
    font-size: 14px;
  }

  /* Cards */
  .card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Contact */
  .contact-wrap {
    padding: 32px 20px;
  }

  .contact-left h2 {
    font-size: 28px;
  }

  .contact-left p {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .contact-methods {
    gap: 16px;
  }

  .method {
    font-size: 14px;
    gap: 12px;
  }

  .method-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .method-icon svg {
    width: 20px;
    height: 20px;
  }

  .form-group input {
    font-size: 16px;
  }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .card:hover {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
  }

  .benefit-item:hover {
    transform: scale(1);
  }
}