/* CSS System for Signly Landing Page - Professional White & Blue */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f0f4f8;
  --text-dark: #1a202c;
  --text-gray: #64748b;
  --text-gray-light: #94a3b8;
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #e6f0ff;
  --primary-glow: rgba(0, 102, 204, 0.1);
  --secondary: #3b82f6;
  --accent: #0ea5e9;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 102, 204, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Mesh & Noise */
.background-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
}

.background-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 90%);
  opacity: 0.3;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  border-b: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-style: italic;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.logo-inner {
  width: 16px;
  height: 16px;
  background: var(--bg-white);
  border-radius: 3px;
  transform: rotate(45deg);
}

.logo span {
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: var(--transition);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-gray);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--bg-white);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.4);
}

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

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

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--primary-light);
  border: 1px solid rgba(0, 102, 204, 0.3);
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 2.5rem;
  animation: pulse-glow 3s infinite ease-in-out;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero h1 span.accent {
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-gray);
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 5rem;
}

/* Glass Card Showcase */
.showcase-wrapper {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.showcase-screen {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
  position: relative;
  border: 1px solid var(--card-border);
}

.showcase-preview {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  background: var(--bg-lighter);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 8px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-dot.active {
  background: var(--primary);
}

.mockup-body {
  width: 85%;
  height: 65%;
  margin-top: 30px;
  background: var(--bg-white);
  border: 2px dashed var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.showcase-glow-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(0, 102, 204, 0.08);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.showcase-glow-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(14, 165, 233, 0.08);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

/* Stats Section */
.stats {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-lighter);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-family: var(--font-heading);
  margin-top: 1rem;
  color: var(--text-dark);
}

.stat-item.blue h3 { color: var(--secondary); }
.stat-item.purple h3 { color: var(--accent); }
.stat-item.green h3 { color: #10b981; }

.stat-item p {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-gray);
  font-weight: 600;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-white);
}

.section-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  max-width: 550px;
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 4rem;
  line-height: 1.7;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-lighter);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.18);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--primary-light);
  border: 1px solid rgba(0, 102, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.feature-icon-wrapper svg {
  color: var(--primary);
  stroke-width: 2.5;
}

.feature-card.purple .feature-icon-wrapper {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.2);
}
.feature-card.purple:hover .feature-icon-wrapper {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}
.feature-card.purple .feature-icon-wrapper svg { color: var(--accent); }

.feature-card.green .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}
.feature-card.green:hover .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.feature-card.green .feature-icon-wrapper svg { color: #10b981; }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.feature-card h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-gray-muted);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
}

.feature-img {
  width: calc(100% + 5rem);
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid var(--card-border);
  opacity: 0.8;
  transition: var(--transition);
}

.feature-card:hover .feature-img {
  opacity: 1;
}

/* Extended Features List */
.features-extended {
  padding: 0 0 100px 0;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: var(--transition);
}

.feature-list-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-list-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-list-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.feature-list-content p {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-gray-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
}

.cta-box {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-light) 100%);
  border: 1.5px solid var(--primary);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 102, 204, 0.2);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.cta-box p {
  max-width: 550px;
  margin: 0 auto 3rem;
  color: var(--text-gray);
  font-weight: 400;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 0;
  background: var(--bg-white);
  font-size: 0.8rem;
  color: var(--text-gray);
}

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

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

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

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

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.2);
  }
  50% {
    box-shadow: 0 0 24px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.4);
  }
}

/* Scroll Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .nav-links {
    display: none; /* simple mobile behavior: redirect only via CTAs */
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}
