@import './base.css';
@import './header.css';
@import './footer.css';

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: var(--bg);
}

/* World map SVG layer */
.hero-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animated trade route lines */
.route-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-route 2.4s var(--ease) forwards;
}
.route-1 { animation-delay: 0.8s; }
.route-2 { animation-delay: 1.1s; }
.route-3 { animation-delay: 1.4s; }
.route-4 { animation-delay: 1.7s; }
.route-5 { animation-delay: 2.0s; }

@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

/* Pulsing origin dot */
.city-origin {
  animation: city-glow 2.5s ease-in-out infinite;
}
.city-pulse {
  animation: city-ring 2.5s ease-out infinite;
}
@keyframes city-glow {
  0%, 100% { r: 5; opacity: 0.9; }
  50% { r: 6; opacity: 1; }
}
@keyframes city-ring {
  0% { r: 5; opacity: 0.8; }
  100% { r: 18; opacity: 0; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1494412574643-ff11b0a5eb95?w=1600&q=70') center/cover no-repeat;
  opacity: 0.06;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(200,136,28,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(42,122,80,0.06) 0%, transparent 55%);
}

/* Scroll-driven hero parallax (supported browsers) */
@supports (animation-timeline: scroll()) {
  .hero-map {
    animation: hero-map-drift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 40vh;
  }
  @keyframes hero-map-drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-60px); }
  }
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  background: rgba(200,136,28,0.10);
  border: 1px solid rgba(200,136,28,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 strong {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.78;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateX(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.4;
}

/* ===== PROCESS ===== */
#process {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.process-intro { position: sticky; top: 120px; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.process-step:hover {
  background: var(--bg-elevated);
  border-color: var(--border);
  transform: translateX(4px);
}

.process-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(200,136,28,0.20);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===== ABOUT ===== */
#about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.about-image-wrap:hover img { transform: scale(1.04); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.about-feature:hover {
  background: var(--bg-elevated);
  border-color: var(--border);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(200,136,28,0.15);
  transition: background 0.3s, color 0.3s;
}
.about-feature:hover .about-feature-icon {
  background: var(--gold);
  color: var(--bg);
  border-color: transparent;
}
.about-feature-icon svg { width: 20px; height: 20px; }

.about-feature h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.about-feature p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ===== IMAGE BAND ===== */
.image-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.image-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,16,23,0.80), rgba(12,16,23,0.45), rgba(12,16,23,0.80));
}
.image-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 24px;
}
.image-band-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  max-width: 680px;
  text-align: center;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.image-band-quote em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 700;
}

/* ===== SERVICES ===== */
#services {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: background 0.3s;
  position: relative;
}
.service-card:hover { background: var(--bg-elevated); }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  border-radius: 1px;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-dim);
  border: 1px solid rgba(200,136,28,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--bg);
  border-color: transparent;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.72;
}

/* ===== CATEGORIES ===== */
#categories {
  background: var(--bg);
}

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

.category-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.category-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,16,23,0.70) 0%, transparent 50%);
}

.category-card-content { padding: 20px 22px; }

.category-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.category-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.68;
}

/* ===== WHY ARGY ===== */
#why-argy {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.why-card {
  border-radius: 18px;
  padding: 36px 32px;
  border: 1px solid var(--border);
}

.why-card-risk {
  background: var(--bg-elevated);
}
.why-card-argy {
  background: linear-gradient(140deg, var(--bg-elevated), var(--surface));
  border-color: var(--border-gold);
  box-shadow: 0 0 0 1px rgba(200,136,28,0.10) inset;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.why-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-2);
}
.why-card li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
}

.why-card-risk li svg { color: var(--red); opacity: 0.8; }
.why-card-argy li svg { color: var(--green); }
.why-card-argy li { color: var(--text-2); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.testimonial-card:nth-child(2) { transform: translateY(20px); }
.testimonial-card:nth-child(2):hover { transform: translateY(16px); }

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 10px;
  user-select: none;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-2);
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-3);
}

/* ===== CTA / CONTACT ===== */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200,136,28,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section .section-inner { position: relative; z-index: 1; }

.cta-section .section-label {
  justify-content: center;
}
.cta-section .section-label::before { display: none; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.cta-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 700;
}

.cta-section .section-desc {
  margin: 0 auto 48px;
  max-width: 460px;
}

.cta-channels {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  background: rgba(255,255,255,0.03);
  transition: all 0.25s var(--ease);
}
.channel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.07);
}
.channel-btn svg { width: 20px; height: 20px; }
.channel-btn.whatsapp:hover  { border-color: var(--whatsapp);  color: var(--whatsapp); }
.channel-btn.telegram:hover  { border-color: var(--telegram);  color: var(--telegram); }
.channel-btn.wechat:hover    { border-color: var(--wechat);    color: var(--wechat); }
.channel-btn.instagram:hover { border-color: var(--instagram); color: var(--instagram); }
.channel-btn.tiktok:hover  { border-color: var(--tiktok);  color: var(--tiktok); }
.channel-btn.alibaba:hover { border-color: var(--alibaba); color: var(--alibaba); }

.cta-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  margin: 0 auto 28px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cta-divider::before, .cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-2);
}

.cta-email {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.cta-email:hover { color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats     { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .stat-card      { flex: 1; min-width: 180px; }
  .stat-card:hover { transform: none; }
  .process-grid   { grid-template-columns: 1fr; }
  .process-intro  { position: relative; top: 0; }
  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-height: 300px; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card:nth-child(2) { transform: none; }
  .testimonial-card:nth-child(2):hover { transform: translateY(-4px); }
  .image-band { height: 260px; }
}

@media (max-width: 600px) {
  section { padding: 72px 20px; }
  .hero { padding: 104px 20px 64px; }
  .hero-stats { flex-direction: column; }
  .stat-card { min-width: 0; }
  .services-grid { grid-template-columns: 1fr; background: none; border: none; border-radius: 0; gap: 12px; }
  .service-card { border-radius: 14px; border: 1px solid var(--border); }
  .categories-grid { grid-template-columns: 1fr; }
  .cta-channels { flex-direction: column; align-items: center; }
  .channel-btn { width: 100%; max-width: 300px; justify-content: center; }
  .image-band { height: 200px; }
  .image-band-quote { font-size: 17px; }
  .why-card { padding: 28px 22px; }
}