/* === LIQUID GLASS DESIGN SYSTEM === */
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === GLASS NAVIGATION === */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.cta-button {
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-2xl);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.3), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.3), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-2xl);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.icon {
  width: 20px;
  height: 20px;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* === SECTIONS === */
.features-preview,
.how-it-works,
.feature-detail,
.additional-features,
.values-section,
.team-section,
.docs-section,
.about-mission {
  padding: 6rem 0;
}

.feature-detail.alternate {
  background: rgba(255, 255, 255, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* === FEATURE CARDS === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link:hover {
  gap: 0.75rem;
}

/* === WORKFLOW === */
.workflow-steps {
  display: grid;
  gap: 2rem;
}

.workflow-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

.step-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
}

/* === FEATURE DETAILS === */
.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-detail-grid.reverse {
  direction: rtl;
}

.feature-detail-grid.reverse > * {
  direction: ltr;
}

.feature-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.feature-detail-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #10b981;
}

.visual-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
}

/* === CODE PREVIEW === */
.code-preview {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-lang,
.code-status {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.code-preview pre {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
}

.code-preview code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* === ALERTS === */
.alert-preview {
  display: grid;
  gap: 1rem;
}

.alert {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid;
}

.alert.warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
}

.alert.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.alert-icon {
  font-size: 1.5rem;
}

.alert-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.alert-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* === CTA SECTION === */
.cta-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.05);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* === FOOTER === */
.footer {
  padding: 4rem 0 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

/* === PAGE HERO === */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.page-hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

/* === DOCS === */
.docs-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.docs-nav-link {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: var(--radius-2xl);
  transition: all 0.3s;
}

.docs-nav-link:hover,
.docs-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.docs-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--radius-2xl);
}

.docs-content article {
  margin-bottom: 4rem;
}

.docs-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.docs-content h3 {
  color: white;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.docs-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.docs-content code {
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0.375rem;
  font-family: 'Monaco', monospace;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.code-block {
  margin: 1.5rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.step-block {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
}

.api-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.api-list code {
  display: block;
}

/* === ABOUT PAGE === */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-content {
  color: rgba(255, 255, 255, 0.9);
}

.mission-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card-large {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: rgba(255, 255, 255, 0.8);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.team-card h3 {
  color: white;
  margin-bottom: 0.25rem;
}

.team-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.team-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* === CONTACT === */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-details h4 {
  color: white;
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.contact-details a:hover {
  color: white;
}

.contact-form-container {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.form-group label {
  color: white;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  color: white;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-stats,
  .feature-grid,
  .workflow-steps,
  .feature-detail-grid,
  .footer-grid,
  .docs-grid,
  .mission-grid,
  .values-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-detail-grid.reverse {
    direction: ltr;
  }
}