/* 
  Scripture Link Design System
  Style: Sleek Minimalist (Apple-inspired)
*/

:root {
  --primary: #1d5461;
  --primary-dark: #134250;
  --primary-hover: #226d7d;
  --bg: #ffffff;
  --bg-offset: #e6eff1;
  --text: #1d1d1f;
  --text-muted: #86868b;
  --border: #d2d2d7;
  --radius: 12px;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Gentium Book Plus", "Georgia", serif;
  --glass: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.47;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

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

section {
  padding: 80px 0;
  scroll-margin-top: 100px;
}

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
}

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-size: 14px;
}

.btn-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 500;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  background: var(--bg-offset);
  padding: 120px 0 80px;
}

.hero h1 {
  font-size: 64px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.hero p {
  font-size: 24px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.3;
}

.hero-mockup {
  margin-top: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  background: white;
  overflow: hidden;
}

/* --- Placeholders --- */
.placeholder {
  background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border: 1px dashed var(--border);
  min-height: 400px;
  width: 100%;
}

.placeholder-small {
  min-height: 200px;
  border-radius: 12px;
}

.feature-mockup {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  background: white;
  margin-bottom: 24px;
}

.feature-mockup img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.feature-mockup:hover img {
  transform: scale(1.02);
}

/* --- Features Section (Redesigned) --- */
.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-content {
  flex: 1;
}

.feature-image {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  background: white;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.feature-content p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing {
  background: #fbfbfd;
  padding: 100px 0;
  text-align: center;
}

.card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 48px;
  max-width: 400px;
  margin: 0 auto;
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin: 16px 0;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  text-align: left;
}

.features-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* --- Guide Section --- */
.guide-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.guide-content h2 {
  margin-top: 60px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.kbd {
  background: #f5f5f7;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 0.9em;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* --- Footer --- */
footer {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 40px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* --- Toast --- */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* --- Form Styles --- */
.contact-form {
  max-width: 640px;
  margin: 60px auto;
  text-align: left;
  background: white;
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 16px;
  background: var(--bg-offset);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(29, 84, 97, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(29, 84, 97, 0.2);
}

.btn-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 84, 97, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}
