/* ===========================
   LDD Solutions — Main Styles
   =========================== */

:root {
  --primary: #1a56ff;
  --primary-dark: #1341d4;
  --primary-light: #e8eeff;
  --accent: #ff6b2b;
  --dark: #0d1117;
  --dark-2: #161b22;
  --gray-800: #1f2937;
  --gray-600: #4b5563;
  --gray-400: #9ca3af;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --success: #10b981;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── Container ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--gray-600); }
a { color: inherit; text-decoration: none; }

.highlight { color: var(--primary); }
em { font-style: normal; color: var(--primary); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,86,255,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ── Sections ── */
.section { padding: 80px 0; }
.bg-light { background: var(--gray-100); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.7); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { margin-top: 12px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; gap: 32px; }
.logo { font-size: 1.4rem; font-weight: 900; color: var(--dark); }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin-left: auto; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--gray-800); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.hamburger { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; margin-left: auto; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2238 50%, #1a56ff22 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,86,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 620px; margin-bottom: 36px; line-height: 1.7; }
.hero-sub strong { color: var(--white); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.proof-item { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.hero-quote {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; color: var(--dark); }

/* ── Don't Grid ── */
.dont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.dont-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
}
.dont-icon { font-size: 1.5rem; margin-bottom: 12px; }
.dont-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.dont-card p { color: rgba(255,255,255,0.65); }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 40px; max-width: 800px; margin: 0 auto; }
.step { display: flex; gap: 28px; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
}
.step-content h3 { margin-bottom: 10px; font-size: 1.15rem; }

/* ── Offer ── */
.offer-section { background: linear-gradient(135deg, var(--primary) 0%, #0a3bbf 100%); color: var(--white); }
.offer-box { text-align: center; max-width: 700px; margin: 0 auto; }
.offer-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.offer-box h2 { color: var(--white); margin-bottom: 20px; }
.offer-box p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.05rem; }
.offer-fine { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 20px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; max-width: 760px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-name { font-size: 1rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.plan-price { font-size: 3rem; font-weight: 900; color: var(--dark); line-height: 1; margin-bottom: 28px; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.plan-features { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 0.95rem; color: var(--gray-800); }
.plan-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 12px; }
.pricing-note { text-align: center; margin-top: 24px; color: var(--gray-400); font-size: 0.9rem; }

/* ── Trades Grid ── */
.trades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.trades-grid span {
  background: var(--gray-100);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}
.trades-note { text-align: center; color: var(--gray-600); }
.trades-note a { color: var(--primary); font-weight: 600; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; color: var(--gray-600); }

/* ── CTA / Contact ── */
.cta-section { background: var(--gray-100); }
.cta-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-box h2 { margin-bottom: 12px; }
.cta-box > p { margin-bottom: 36px; font-size: 1.05rem; }

.contact-form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,255,0.1); }
.form-group textarea { resize: vertical; }

.form-success {
  padding: 40px 20px;
  text-align: center;
}
.form-success h3 { font-size: 1.8rem; margin-bottom: 12px; color: var(--success); }
.form-success p { font-size: 1.05rem; }
.hidden { display: none; }

/* ── Footer ── */
.footer { background: var(--dark); color: var(--white); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer .logo { color: var(--white); display: block; margin-bottom: 12px; }
.footer .logo span { color: var(--primary); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color 0.2s; }
.footer-links ul a:hover { color: var(--white); }
.footer-contact p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: var(--shadow-md);
  }
  .hamburger { display: block; }
  .hero { padding: 60px 0; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: fit-content; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .step { flex-direction: column; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
