/* ============================================
   WESITE - Toko Online Specific Styles
   ============================================ */

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

:root {
  --to-bg: #fdfdfd; /* Very clean white/light gray */
  --to-text: #2d3748;
  --to-text-light: #718096;
  --to-accent: #10b981; /* High converting Emerald Green */
  --to-accent-hover: #059669;
  --to-dark: #111827;
  --to-white: #ffffff;
}

body.to-page {
  background-color: var(--to-bg);
  color: var(--to-text);
}

/* Override Header for TO */
.to-page .header {
  background: var(--to-bg);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.to-page .header.scrolled {
  background: rgba(253, 253, 253, 0.95);
  backdrop-filter: blur(10px);
}
.to-page .nav-links a {
  color: var(--to-text-light);
}
.to-page .nav-links a:hover, .to-page .nav-links a.active {
  color: var(--to-text);
}
.to-page .header-logo span {
  color: var(--to-dark);
}
.to-page .btn-primary {
  background: var(--to-accent);
  color: var(--to-white);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
  border-radius: 8px;
}
.to-page .btn-primary:hover {
  background: var(--to-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.to-page .btn-outline {
  border-color: rgba(0,0,0,0.1);
  color: var(--to-dark);
  border-radius: 8px;
}
.to-page .btn-outline:hover {
  border-color: var(--to-dark);
  background: transparent;
}

/* Hero Section */
.to-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.to-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.to-hero-content {
  max-width: 540px;
}

.to-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--to-accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
}

.to-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 54px);
  line-height: 1.15;
  color: var(--to-dark);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.to-title span.italic-accent {
  color: var(--to-accent);
}

.to-desc {
  font-size: 16px;
  color: var(--to-text-light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.to-hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.to-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.to-avatars {
  display: flex;
}

.to-avatars img, .to-avatars .avatar-count {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--to-bg);
  margin-left: -12px;
  object-fit: cover;
}
.to-avatars img:first-child { margin-left: 0; }

.to-avatars .avatar-count {
  background: var(--to-accent);
  color: var(--to-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.to-trust-text h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--to-dark);
}
.to-trust-text p {
  font-size: 12px;
  color: var(--to-text-light);
}

.to-hero-image {
  position: relative;
  width: 100%;
}

.to-hero-image img {
  width: 120%;
  max-width: none;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(16, 185, 129, 0.1);
}

/* Features Bar */
.to-features-wrapper {
  margin-top: -60px;
  margin-bottom: -60px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.to-features-bar {
  background: var(--to-white);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

.to-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid rgba(0,0,0,0.04);
}
.to-feature:last-child {
  border-right: none;
}

.to-feature-icon {
  color: var(--to-accent);
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.1);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.to-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.to-feature-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--to-dark);
  margin-bottom: 6px;
}
.to-feature-text p {
  font-size: 11px;
  color: var(--to-text-light);
  line-height: 1.4;
}

/* Templates Section */
.to-templates {
  padding: 140px 0 100px;
  background: var(--to-white);
}

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

.to-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  color: var(--to-dark);
  font-weight: 800;
  margin-bottom: 12px;
}
.to-section-title span {
  color: var(--to-accent);
}
.to-section-subtitle {
  color: var(--to-text-light);
  font-size: 15px;
}

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

.to-template-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: var(--to-bg);
  border: 1px solid rgba(0,0,0,0.05);
}

.to-template-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.to-template-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.to-template-card:hover img {
  transform: scale(1.05);
}

.to-template-info {
  padding: 24px;
}

.to-template-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--to-dark);
  margin-bottom: 8px;
}

.to-template-info p {
  font-size: 14px;
  color: var(--to-text-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .to-features-bar {
    flex-wrap: wrap;
    gap: 20px;
  }
  .to-feature {
    min-width: 200px;
    border-right: none;
    padding: 10px;
  }
  .to-template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .to-hero .container {
    grid-template-columns: 1fr;
  }
  .to-hero-image img {
    width: 100%;
    margin-left: 0;
  }
  .to-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .to-template-grid {
    grid-template-columns: 1fr;
  }
  .to-features-bar {
    flex-direction: column;
  }
  .to-feature {
    width: 100%;
  }
  .to-hero-actions {
    flex-direction: column;
  }
}
