/* SNR Teknologi Retailindo — Bold Tech Theme */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --bg: #0a0a1a;
  --bg-card: #1a1a2e;
  --bg-light: #12122a;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(37,99,235,.3);
  --green: #25D366;
  --green-dark: #20bd5a;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
::selection { background: rgba(37,99,235,.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
@media(max-width:768px){ .container { padding: 0 1.25rem; } }

/* Text gradient */
.text-gradient { background: linear-gradient(135deg, var(--text) 30%, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  background: rgba(10,10,26,.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; color: #fff; flex-shrink: 0;
}
.logo-text { font-weight: 700; font-size: 1rem; background: linear-gradient(135deg, var(--text), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@media(max-width:480px){ .logo-text { display: none; } }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted); font-size: .875rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 1px;
}
.btn-nav {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff; padding: .5rem 1.25rem; border-radius: 50px;
  font-size: .875rem; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s; border: none; cursor: pointer;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(37,99,235,.4); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 1px; transition: .3s; }
@media(max-width:768px){
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(10,10,26,.95); backdrop-filter: blur(20px);
    padding: 1.25rem; flex-direction: column; gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6,182,212,.1), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(99,102,241,.08), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1200px; margin: 0 auto; gap: 4rem; align-items: center;
  position: relative; z-index: 1; width: 100%;
}
.hero-content { max-width: 600px; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.2);
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .8rem; color: var(--accent); font-weight: 500; margin-bottom: 1.5rem;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-badge 2s infinite; }
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 { font-size: clamp(2.2rem,5vw,4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -.02em; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 520px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff; padding: .85rem 2rem; border-radius: 50px;
  font-weight: 600; text-decoration: none; transition: all .3s;
  border: none; cursor: pointer; font-size: .95rem; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(37,99,235,.35); }
.btn-secondary {
  background: rgba(255,255,255,.05); color: var(--text);
  padding: .85rem 2rem; border-radius: 50px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255,255,255,.1);
  transition: all .3s; font-size: .95rem; display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

/* Hero visual card */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 24px; padding: 2rem; width: 100%; max-width: 480px;
  backdrop-filter: blur(10px);
}
.hero-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.hero-card-header span { font-size: .75rem; color: var(--text-muted); font-weight: 500; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.stat-box { background: rgba(255,255,255,.03); border-radius: 12px; padding: 1rem; }
.stat-box .num { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat-box .label { font-size: .75rem; color: var(--text-muted); margin-top: .25rem; }
.hero-card-footer { display: flex; gap: .5rem; flex-wrap: wrap; }
.hero-tag { background: rgba(37,99,235,.1); color: var(--primary); padding: .25rem .75rem; border-radius: 50px; font-size: .7rem; font-weight: 500; }

/* Sections */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -.01em; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.overline {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: .15em; margin-bottom: .75rem;
}

/* Stats section */
.stats-section { background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(6,182,212,.05)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item .number { font-size: 2.5rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item .label { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
@media(max-width:480px){ .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all .3s;
}
.product-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.product-img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem; padding: 1.5rem;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 1.5rem; }
.product-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.product-body .tagline { font-size: .82rem; color: var(--text-muted); margin-bottom: .75rem; }
.product-body .price { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { background: rgba(255,255,255,.04); padding: .2rem .65rem; border-radius: 50px; font-size: .72rem; color: var(--text-muted); }
.product-actions { display: flex; gap: .5rem; }
.product-actions a { padding: .45rem 1.1rem; border-radius: 50px; font-size: .82rem; font-weight: 600; text-decoration: none; transition: all .2s; display: inline-block; }
.btn-detail { background: rgba(37,99,235,.1); color: var(--primary); border: 1px solid rgba(37,99,235,.2); }
.btn-detail:hover { background: rgba(37,99,235,.2); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-dark); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: all .3s;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon.blue { background: rgba(37,99,235,.1); color: var(--primary); }
.service-icon.cyan { background: rgba(6,182,212,.1); color: var(--accent); }
.service-icon.green { background: rgba(34,197,94,.1); color: #22c55e; }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* Footer */
.footer { background: #0d0d20; border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
@media(max-width:768px){ .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer h4 { font-size: .85rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .5rem; }
.footer ul li a { color: var(--text-muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer ul li a:hover { color: var(--text); }
.footer p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.05); text-align: center; font-size: .8rem; color: var(--text-muted); }

/* ====== SPECIFIC PAGE STYLES ====== */

/* Page hero (inner pages) */
.page-hero { padding: 8rem 2rem 3rem; text-align: center; position: relative; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(37,99,235,.08), transparent 60%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 800; margin-bottom: .75rem; }
.page-hero p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-muted); font-size: .85rem; transition: color .2s; }
.back-link:hover { color: var(--primary); }

/* Product detail page */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media(max-width:768px){ .product-detail { grid-template-columns: 1fr; } }
.product-detail-img {
  width: 160px; height: 160px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.product-detail-img img { width: 100px; height: 100px; object-fit: contain; }
.product-tagline { color: var(--accent); font-weight: 500; margin-bottom: .5rem; font-size: .9rem; }
.product-price { font-size: 1.75rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1.5rem; }
.product-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media(max-width:480px){ .features-grid { grid-template-columns: 1fr; } }
.feature-item { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; font-size: .85rem; }
.feature-item::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.contact-card h4 { font-weight: 600; margin-bottom: .25rem; font-size: .9rem; }
.contact-card p, .contact-card a { font-size: .85rem; color: var(--text-muted); }
.contact-card a:hover { color: var(--primary); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.contact-icon.blue { background: rgba(37,99,235,.1); }
.contact-icon.blue svg { stroke: var(--primary); }
.contact-icon.green { background: rgba(34,197,94,.1); }
.contact-icon.green svg { stroke: #22c55e; }
.contact-map { aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); }

/* About page */
.about-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-size: .95rem; }
.about-content h3 { font-size: 1.15rem; font-weight: 700; margin-top: 2rem; margin-bottom: .5rem; }
.about-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.about-content li { color: var(--text-muted); margin-bottom: .25rem; font-size: .9rem; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media(max-width:640px){ .about-cards { grid-template-columns: 1fr; } }
.about-card { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.about-card h3 { font-weight: 700; margin-bottom: .5rem; font-size: .95rem; }
.about-card p { font-size: .85rem; color: var(--text-muted); }

/* Privacy page */
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-size: .9rem; }
.privacy-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { color: var(--text-muted); margin-bottom: .25rem; font-size: .9rem; }

/* Software listing page */
.software-hero { padding: 8rem 2rem 3rem; text-align: center; position: relative; }
.software-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(37,99,235,.08), transparent 60%);
  pointer-events: none;
}
.software-hero h1 { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 800; margin-bottom: .75rem; position: relative; z-index: 1; }
.software-hero p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; position: relative; z-index: 1; }

/* Responsive fix for hero on mobile */
@media(max-width:768px){
  .hero { min-height: auto; padding: 5rem 1.25rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; text-align: center; }
  .section { padding: 3rem 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .page-hero, .software-hero { padding: 6rem 1.25rem 2rem; }
  .product-detail-img { margin-left: auto; margin-right: auto; }
  .features-grid { grid-template-columns: 1fr; }
}

/* CTA block */
.cta-block { text-align: center; padding: 4rem 2rem; background: linear-gradient(135deg, rgba(37,99,235,.05), rgba(6,182,212,.05)); border-top: 1px solid var(--border); }
.cta-block h2 { font-size: clamp(1.3rem,2vw,1.8rem); font-weight: 800; margin-bottom: .5rem; }
.cta-block p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.cta-block .btn-cta { display: inline-block; background: linear-gradient(135deg, var(--primary), #4f46e5); color: #fff; padding: .85rem 2.5rem; border-radius: 50px; font-weight: 600; text-decoration: none; font-size: .95rem; transition: all .3s; }
.cta-block .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(37,99,235,.35); }
