/* Sample 3: Fresh & Trustworthy — Warm White + Teal + Coral */
:root {
  --teal: #0d9488;
  --teal-dark: #0a7c71;
  --teal-light: #ccfbf1;
  --teal-bg: #f0fdfa;
  --coral: #f97066;
  --coral-dark: #e05550;
  --coral-light: #fff1f0;
  --white: #ffffff;
  --cream: #fafaf9;
  --warm-bg: #f5f3ef;
  --sage: #f0ede8;
  --text-dark: #1c1917;
  --text: #44403c;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --border: #e7e5e4;
  --border-hover: #d6d3d1;
  --success: #16a34a;
  --warning: #ea580c;
  --shadow-sm: 0 1px 3px rgba(28,25,23,0.06);
  --shadow-md: 0 4px 16px rgba(28,25,23,0.08);
  --shadow-lg: 0 8px 30px rgba(28,25,23,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream); color: var(--text);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}

h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; color: var(--text-dark); letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: var(--text-dark); }
h3 { font-size: 1.3rem; font-weight: 600; color: var(--text-dark); }
h4 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(250,250,249,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 70px;
}
.nav-logo {
  font-size: 1.45rem; font-weight: 800; color: var(--text-dark);
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
}
.nav-logo .accent { color: var(--teal); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.55rem 1.3rem; border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); margin: 5px 0; }

/* ---- Hero ---- */
.hero {
  padding: 10rem 2rem 5rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-bg) 100%);
  text-align: center;
}
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal-light); color: var(--teal-dark);
  padding: 0.35rem 1rem; border-radius: 20px; font-size: 0.8rem;
  font-weight: 600; margin-bottom: 1.5rem;
}
.hero-chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .teal { color: var(--teal); }
.hero h1 .coral { color: var(--coral); }
.hero p {
  font-size: 1.15rem; color: var(--text-muted); max-width: 560px;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-teal {
  background: var(--teal); color: var(--white); padding: 0.9rem 2rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  font-size: 0.95rem; transition: var(--transition); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.25); }
.btn-warm {
  background: var(--white); color: var(--text-dark); padding: 0.9rem 2rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  font-size: 0.95rem; transition: var(--transition);
  border: 1px solid var(--border);
}
.btn-warm:hover { border-color: var(--teal); color: var(--teal); }

/* Hero Preview Card */
.hero-preview {
  margin-top: 3rem; max-width: 820px; margin-left: auto; margin-right: auto;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preview-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem; background: var(--sage);
  border-bottom: 1px solid var(--border);
}
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; }
.preview-bar .r { background: #fecaca; }
.preview-bar .y { background: #fde68a; }
.preview-bar .g { background: #a7f3d0; }
.preview-label { color: var(--text-light); font-size: 0.72rem; margin-left: 0.5rem; }
.preview-body {
  padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
/* Chat side */
.chat-demo { display: flex; flex-direction: column; gap: 0.5rem; }
.cmsg { padding: 0.55rem 0.75rem; border-radius: 8px; font-size: 0.82rem; }
.cmsg.user { background: var(--sage); text-align: right; color: var(--text-dark); }
.cmsg.ai {
  background: var(--teal-bg); color: var(--teal-dark);
  border-left: 3px solid var(--teal); text-align: left;
}
.cmsg .val { font-weight: 700; }
/* Dash side */
.dash-demo .dash-label { font-size: 0.72rem; color: var(--text-light); font-weight: 600; margin-bottom: 0.4rem; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-bottom: 0.6rem; }
.mbar { flex: 1; border-radius: 3px 3px 0 0; }
.mbar:nth-child(1) { height: 35%; background: var(--teal); opacity: 0.35; }
.mbar:nth-child(2) { height: 55%; background: var(--teal); opacity: 0.5; }
.mbar:nth-child(3) { height: 42%; background: var(--teal); opacity: 0.4; }
.mbar:nth-child(4) { height: 70%; background: var(--teal); opacity: 0.65; }
.mbar:nth-child(5) { height: 85%; background: var(--coral); }
.mbar:nth-child(6) { height: 58%; background: var(--teal); opacity: 0.55; }
.mini-alert {
  background: var(--coral-light); border: 1px solid #fecaca; border-radius: 6px;
  padding: 0.4rem 0.6rem; font-size: 0.72rem; color: var(--coral-dark);
}

/* ---- Trust Bar ---- */
.trust-bar {
  padding: 2.5rem 2rem; text-align: center; background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-bar p { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1.2rem; }
.trust-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-logo { font-size: 1.1rem; font-weight: 700; color: var(--text-light); opacity: 0.45; }

/* ---- Sections ---- */
section { padding: 5rem 2rem; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-header p { font-size: 1rem; color: var(--text-muted); margin-top: 0.8rem; }
.section-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); margin-bottom: 0.8rem;
}

/* ---- Services ---- */
.services { background: var(--cream); }
.services-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
}
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: var(--transition);
}
.svc-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); transform: translateY(-3px); }
.svc-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem; background: var(--teal-light);
}
.svc-card h3 { margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }
.svc-badge {
  display: inline-block; margin-top: 1rem; font-size: 0.72rem; font-weight: 600;
  padding: 0.2rem 0.6rem; border-radius: 4px;
  background: var(--coral-light); color: var(--coral-dark);
}

/* ---- AI Feature Section ---- */
.ai-section { background: var(--white); }
.ai-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
/* Dashboard mock */
.ai-dash {
  background: var(--sage); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border);
}
.ai-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.8rem; margin-bottom: 1.2rem; }
.ai-kpi {
  background: var(--white); border-radius: var(--radius-sm); padding: 1rem;
  border: 1px solid var(--border);
}
.ai-kpi .label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.ai-kpi .val { font-size: 1.6rem; font-weight: 700; margin: 0.2rem 0; }
.ai-kpi .val.teal { color: var(--teal); }
.ai-kpi .val.coral { color: var(--coral); }
.ai-kpi .delta { font-size: 0.75rem; font-weight: 600; }
.ai-kpi .delta.good { color: var(--success); }
.ai-kpi .delta.bad { color: var(--coral); }

.chart-section {
  background: var(--white); border-radius: var(--radius-sm); padding: 1rem;
  border: 1px solid var(--border); margin-bottom: 1.2rem;
}
.chart-section .title { font-size: 0.75rem; color: var(--text-light); font-weight: 600; margin-bottom: 0.6rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 80px; }
.cbar { flex: 1; border-radius: 4px 4px 0 0; }
.cbar:nth-child(1) { height: 32%; background: var(--teal); opacity: 0.3; }
.cbar:nth-child(2) { height: 50%; background: var(--teal); opacity: 0.45; }
.cbar:nth-child(3) { height: 40%; background: var(--teal); opacity: 0.35; }
.cbar:nth-child(4) { height: 68%; background: var(--teal); opacity: 0.6; }
.cbar:nth-child(5) { height: 88%; background: var(--coral); }
.cbar:nth-child(6) { height: 55%; background: var(--teal); opacity: 0.5; }
.cbar:nth-child(7) { height: 75%; background: var(--teal); opacity: 0.65; }

.ai-alert {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-sm);
  padding: 0.8rem; font-size: 0.82rem; color: #9a3412;
  display: flex; gap: 0.5rem; align-items: flex-start;
}

/* Feature List */
.ai-text h2 { margin-bottom: 1rem; }
.ai-text > p { margin-bottom: 2rem; color: var(--text-muted); }
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feat-item { display: flex; gap: 0.8rem; align-items: flex-start; }
.feat-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}
.feat-item h4 { margin-bottom: 0.1rem; font-size: 0.95rem; }
.feat-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Warehouse ---- */
.warehouse { background: var(--cream); }
.wh-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
}
.wh-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: var(--transition);
}
.wh-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.wh-flag { font-size: 2.5rem; margin-bottom: 0.8rem; }
.wh-card h3 { margin-bottom: 0.4rem; }
.wh-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.wh-tag {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
}

/* ---- Testimonials ---- */
.testimonials { background: var(--white); }
.test-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem;
}
.test-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: var(--transition);
}
.test-card:hover { box-shadow: var(--shadow-sm); }
.test-stars { color: #fbbf24; margin-bottom: 1rem; font-size: 1rem; }
.test-card blockquote {
  font-size: 0.92rem; color: var(--text); line-height: 1.7;
  margin-bottom: 1.2rem; font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 0.8rem; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}
.test-name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.test-role { font-size: 0.78rem; color: var(--text-light); }

/* ---- CTA ---- */
.cta-section {
  background: var(--teal); text-align: center; padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; flex-wrap: wrap; }
.btn-white {
  background: var(--white); color: var(--teal-dark); padding: 0.9rem 2rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  font-size: 0.95rem; transition: var(--transition);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: var(--white); padding: 0.9rem 2rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.35);
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---- Footer ---- */
.footer {
  background: #1c1917; color: rgba(255,255,255,0.5);
  padding: 3.5rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 2.5rem;
}
.footer-brand .logo { font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 0.6rem; }
.footer-brand .logo .accent { color: var(--teal); }
.footer-brand p { font-size: 0.82rem; max-width: 260px; line-height: 1.7; }
.footer-col h4 {
  color: rgba(255,255,255,0.35); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.82rem; transition: var(--transition); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; font-size: 0.78rem;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  width: 380px; max-width: calc(100% - 3rem);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  animation: cookieUp 0.5s ease 1s forwards;
}
@keyframes cookieUp { to { transform: translateY(0); } }
.cookie-banner h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.cookie-banner p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; }
.cookie-banner a { color: var(--teal); font-weight: 500; }
.cookie-btns { display: flex; gap: 0.6rem; }
.ck-btn {
  flex: 1; padding: 0.55rem; border-radius: var(--radius-sm); font-size: 0.82rem;
  font-weight: 600; cursor: pointer; transition: var(--transition); border: none;
  text-align: center;
}
.ck-accept { background: var(--teal); color: var(--white); }
.ck-accept:hover { background: var(--teal-dark); }
.ck-decline { background: var(--sage); color: var(--text); }
.ck-decline:hover { background: var(--border); }

/* ---- Page Content ---- */
.page-header {
  background: var(--teal); padding: 8rem 2rem 3rem; text-align: center;
}
.page-header h1 { color: var(--white); font-size: 2.2rem; }
.page-header p { color: rgba(255,255,255,0.8); margin-top: 0.5rem; }
.page-content { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.page-content h2 { font-size: 1.3rem; margin: 2rem 0 0.8rem; }
.page-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; font-size: 0.92rem; line-height: 1.8; }
.page-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.page-content a { color: var(--teal); }
.page-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.85rem; }
.page-content th, .page-content td { padding: 0.65rem 0.8rem; text-align: left; border-bottom: 1px solid var(--border); }
.page-content th { background: var(--sage); color: var(--text-dark); font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid, .wh-grid, .test-grid { grid-template-columns: repeat(2,1fr); }
  .ai-layout { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .services-grid, .wh-grid, .test-grid { grid-template-columns: 1fr; }
  .ai-kpis { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { right: 0.75rem; bottom: 0.75rem; width: calc(100% - 1.5rem); }
}
