/* Landolio Global Stylesheet */
/* Clean, professional — no template vibes */

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

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-tool: #f0f4f8;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --green: #059669;
  --green-hover: #047857;
  --green-light: #ecfdf5;
  --orange: #d97706;
  --orange-light: #fffbeb;
  --red: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --max-width: 1100px;
  --content-width: 720px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.site-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.15s;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Mobile nav */
@media (max-width: 640px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.85rem; }
  .site-nav .nav-cta { padding: 6px 14px; font-size: 0.85rem; }
}

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

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

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--bordered {
  border-top: 1px solid var(--border);
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--accent-hover);
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  line-height: 1.4;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--bg);
  color: var(--accent);
  border: 2px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.card .price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ===== BADGE / TAG ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 20px;
  margin-bottom: 14px;
}

.tag--blue {
  background: var(--accent-light);
  color: var(--accent);
}

.tag--green {
  background: var(--green-light);
  color: var(--green);
}

.tag--orange {
  background: var(--orange-light);
  color: var(--orange);
}

/* ===== LABEL ===== */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== TOOL PAGE STYLES ===== */
.tool-page {
  padding: 48px 0 80px;
}

.tool-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.tool-page .tool-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.tool-container {
  max-width: 700px;
  margin: 0 auto;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group .help-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="url"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Result box */
.result-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.result-box h3 {
  margin-bottom: 16px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.result-row:last-child {
  border-bottom: none;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.result-label {
  color: var(--text-secondary);
}

.result-value {
  font-weight: 600;
  color: var(--text);
}

.result-value--accent {
  color: var(--accent);
}

/* CTA within tools */
.tool-cta {
  margin-top: 32px;
  padding: 24px;
  background: var(--accent-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.tool-cta h4 {
  margin-bottom: 8px;
}

.tool-cta p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* FAQ on tool pages */
.faq-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.faq-item {
  margin-bottom: 24px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ===== BLOG STYLES ===== */
.blog-list {
  display: grid;
  gap: 20px;
}

.blog-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item h3 {
  margin-bottom: 6px;
}

.blog-item h3 a {
  color: var(--text);
  text-decoration: none;
}

.blog-item h3 a:hover {
  color: var(--accent);
}

.blog-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== ALERT / NOTICE ===== */
.notice {
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.notice--info {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
}

.notice--warning {
  background: var(--orange-light);
  border-left: 3px solid var(--orange);
}

.notice--success {
  background: var(--green-light);
  border-left: 3px solid var(--green);
}

.notice p {
  font-size: 0.92rem;
  color: var(--text);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none; }

/* Print */
@media print {
  .site-header, .site-footer, .tool-cta, .site-nav { display: none; }
  body { background: #fff; color: #000; }
}
