/* ====== RESET & BASE ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; font-size: 16px; color: #1a1a2e; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ====== VARIABLES ====== */
:root {
  --primary: #6c3de8;
  --primary-dark: #4f28c0;
  --primary-light: #ede8fd;
  --secondary: #ff6b35;
  --accent: #00d4aa;
  --dark: #0f0c29;
  --gray: #6b7280;
  --light-gray: #f8f9fc;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(108,61,232,0.10);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ====== HEADER / NAV ====== */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo { display: flex; align-items: center; }

/* Header logo: mix-blend-mode:multiply makes black bg invisible on white */
.logo-img--header {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05) saturate(1.1);
}

/* Footer logo: sits on dark bg so renders naturally */
.logo-img--footer {
  height: 46px;
  width: auto;
}

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: #374151; transition: all 0.2s;
}
nav a:hover, nav a.active { background: var(--primary-light); color: var(--primary); }

.btn-nav {
  background: var(--primary); color: #fff !important;
  padding: 8px 20px !important; border-radius: 8px !important;
  font-weight: 600 !important; font-size: 14px !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 92vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c3de8' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(108,61,232,0.25); border: 1px solid rgba(108,61,232,0.4); color: #c4b5fd; font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 50px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: #a78bfa; }
.hero p { color: #c4b5fd; font-size: 1.1rem; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #fff; padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff; padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s; cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 20px 24px; backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 16px;
}
.hero-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-card h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.hero-card p { color: #a0aec0; font-size: 13px; }
.hero-stats { display: flex; gap: 32px; margin-top: 20px; }
.stat-item { text-align: left; }
.stat-num { font-size: 2rem; font-weight: 800; color: #a78bfa; }
.stat-label { color: #94a3b8; font-size: 13px; }

/* ====== SECTION COMMON ====== */
.section { padding: 80px 24px; }
.section-center { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 50px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.section-header p { color: var(--gray); max-width: 580px; margin: 0 auto; font-size: 1rem; }

/* ====== CATEGORY TABS ====== */
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.cat-tab {
  padding: 9px 20px; border-radius: 50px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--gray); cursor: pointer;
  transition: all 0.2s; background: #fff;
}
.cat-tab:hover, .cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== PRODUCT GRID ====== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.product-img { height: 180px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; font-size: 42px; position: relative; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.product-badge.new { background: var(--accent); }
.product-badge.popular { background: var(--secondary); }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.product-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.product-desc { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.product-price .currency { font-size: 14px; font-weight: 500; color: var(--gray); }
.btn-buy {
  background: var(--primary); color: #fff; padding: 9px 18px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-buy:hover { background: var(--primary-dark); }

/* ====== FEATURES / SERVICES ====== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: all 0.25s;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-3px); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ====== HYVA SECTION ====== */
.hyva-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.hyva-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hyva-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 18px; }
.hyva-content p { opacity: 0.88; margin-bottom: 28px; font-size: 1rem; line-height: 1.8; }
.hyva-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.hyva-feat-item { display: flex; align-items: flex-start; gap: 14px; }
.hyva-feat-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.hyva-feat-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.hyva-feat-item p { font-size: 13px; opacity: 0.8; }
.hyva-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hyva-metric { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 20px; text-align: center; }
.hyva-metric .num { font-size: 2rem; font-weight: 800; }
.hyva-metric .lbl { font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* ====== SEO SECTION ====== */
.seo-section { background: var(--light-gray); }
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.seo-checklist { display: flex; flex-direction: column; gap: 14px; }
.seo-item { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.seo-check { width: 28px; height: 28px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.seo-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; color: var(--dark); }
.seo-item p { font-size: 13px; color: var(--gray); }
.performance-bars { display: flex; flex-direction: column; gap: 20px; }
.perf-bar-item label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.perf-bar { height: 10px; background: var(--border); border-radius: 50px; overflow: hidden; }
.perf-fill { height: 100%; border-radius: 50px; transition: width 1s ease; }

/* ====== TESTIMONIALS ====== */
.testimonials-section { background: var(--dark); }
.testimonials-section .section-header h2 { color: #fff; }
.testimonials-section .section-header p { color: #94a3b8; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.testi-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text {
  color: #cbd5e1; font-size: 14px; line-height: 1.8;
  margin-bottom: 24px; font-style: italic; flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  flex-shrink: 0;
  min-width: 46px;
}
.testi-author-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.testi-name { font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.testi-role { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ====== CTA BANNER ====== */
.cta-section { background: linear-gradient(90deg, var(--primary) 0%, #9b59b6 100%); color: #fff; text-align: center; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-section p { opacity: 0.9; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-white { background: #fff; color: var(--primary); padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; display: inline-block; transition: all 0.2s; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* ====== FOOTER ====== */
footer { background: #0f0c29; color: #94a3b8; padding: 60px 24px 0; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 16px 0; font-size: 14px; line-height: 1.8; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.2s; }
.social-link:hover { background: var(--primary); color: #fff; }
footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: gap; }
.footer-bottom p { font-size: 13px; }

/* ====== PAGE BANNER ====== */
.page-banner {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%);
  padding: 70px 24px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px; background: #fff; clip-path: ellipse(55% 100% at 50% 100%); }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.page-banner p { color: #c4b5fd; font-size: 1rem; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #94a3b8; position: relative; z-index: 1; }
.breadcrumb a { color: #a78bfa; }

/* ====== FILTER BAR ====== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 36px; }
.filter-bar select, .filter-bar input {
  padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--dark); background: #fff; cursor: pointer;
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--primary); }

/* ====== PAGINATION ====== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--dark); transition: all 0.2s;
}
.pagination a:hover, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====== MOBILE MENU ====== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner, .hyva-grid, .seo-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  nav.open { display: flex; }
  nav a { padding: 10px 16px; border-radius: 8px; }
  .hyva-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hyva-metrics { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
}
