/* SiteStitch Landing Page Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Premium Light Theme Colors */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --color-primary: #0284c7;
  /* Sky-600 */
  --color-primary-hover: #0369a1;
  --color-primary-light: #e0f2fe;

  --color-success: #16a34a;
  --color-success-light: #dcfce7;

  --border-color: #e2e8f0;
  --border-focus: #38bdf8;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -2px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.6);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo span {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary,
.nav-links a.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover,
.nav-links a.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--text-muted);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(2, 132, 199, 0.05) 0%, transparent 50%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-content h1 {
  font-size: 56px;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-large-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: auto;
  aspect-ratio: 16/10;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.logo-large-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(2, 132, 199, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  animation: pulse-glow 3s infinite alternate;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Story Section */
.story {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.story-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.story-title {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  text-align: center;
}

.story-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-highlight {
  font-weight: 600;
  color: var(--color-primary);
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 20px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Developer Section */
.developer {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.dev-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  gap: 40px;
}

.dev-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe 0%, #38bdf8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-secondary);
  outline: 1px solid var(--border-color);
  flex-shrink: 0;
  object-fit: cover;
}

.dev-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.dev-info p {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Policy Pages Layout */
.policy-page {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.policy-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.policy-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.policy-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.policy-content {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-content h2 {
  font-size: 22px;
  margin-top: 16px;
  margin-bottom: -8px;
  color: var(--text-primary);
}

.policy-content ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Footer */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .nav-links {
    display: none;
  }
}

/* Docs Layout */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-top: 140px;
  padding-bottom: 100px;
}

.docs-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.docs-sidebar h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.docs-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.docs-menu a:hover, .docs-menu a.active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.docs-content {
  font-size: 16px;
  line-height: 1.8;
}

.docs-section {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.docs-section h2 {
  font-size: 26px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.docs-section h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.docs-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.docs-section ul, .docs-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 992px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .docs-sidebar {
    position: static;
    width: 100%;
  }
}