/* LorikeetSmart Tech - Main Stylesheet */
:root {
  --primary: #e8702a;
  --primary-dark: #c45a1a;
  --primary-light: #fff3ec;
  --dark: #1e2025;
  --dark-2: #2a2f38;
  --dark-3: #3a404d;
  --text: #1e2025;
  --text-muted: #5a6272;
  --border: #e4e8ee;
  --white: #ffffff;
  --bg: #f7f8fa;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --card-shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

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

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(48,52,62,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

/* ---- HERO ---- */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,112,42,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,112,42,0.15);
  border: 1px solid rgba(232,112,42,0.3);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero p {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  margin-bottom: 36px;
  max-width: 480px;
}

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-dark {
  background: var(--dark-2);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-3);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hero visual */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.hero-stat-box .stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-box .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ---- SERVICES STRIP ---- */
.services-strip {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.services-strip-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.strip-item .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- PRODUCT CARDS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.product-thumb {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 36px;
  text-align: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(232,112,42,0.15), transparent 70%);
}

.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.product-price span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---- BLOG CARDS ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}

.blog-card-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 28px 24px;
  color: var(--white);
  border-bottom: 2px solid var(--primary);
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.blog-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.blog-card-body { padding: 20px 24px 24px; }

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.read-more {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover { color: var(--primary-dark); }

/* ---- WHY US GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,112,42,0.12), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-band p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ---- NEWSLETTER FORM ---- */
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  min-width: 210px;
  padding: 12px 18px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--primary); }

.newsletter-msg { margin-top: 14px; font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.newsletter-success { color: #4ade80; }
.newsletter-error   { color: #f87171; }

/* ---- FOOTER ---- */
.footer {
  background: #14161a;
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,112,42,0.1), transparent 65%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}

.page-hero p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

/* ---- ARTICLE ---- */
.article-hero {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 56px;
  border-bottom: 2px solid var(--primary);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-meta .tag {
  background: var(--primary);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 780px;
}

.article-body {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px;
}

.article-body h2 { font-size: 1.45rem; font-weight: 700; margin: 36px 0 12px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; line-height: 1.78; color: #2d3340; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; line-height: 1.75; color: #2d3340; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--primary); border-bottom: 1px solid rgba(232,112,42,0.3); }
.article-body a:hover { color: var(--primary-dark); }
.article-body a.btn { color: var(--white); border-bottom: none; }
.article-body a.btn:hover { color: var(--white); }

.article-body .callout {
  background: var(--bg);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-family: 'Courier New', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
}

.affiliate-note {
  background: var(--primary-light);
  border: 1px solid rgba(232,112,42,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #7a4010;
  margin-bottom: 32px;
}

/* ---- PRODUCTS PAGE ---- */
.products-header {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.products-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.products-header p { color: rgba(255,255,255,0.65); font-size: 1.02rem; max-width: 500px; margin: 0 auto; }

/* ---- FILTER ---- */
.category-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-visual {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(232,112,42,0.15), transparent 70%);
}

.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; line-height: 1.2; }
.about-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }

.value-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.value-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; }
.value-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .nav-links { display: none; }
  .services-strip-inner { gap: 20px; }
}
