/*
Theme Name: Sendability
Author: Antigravity
Description: A premium, ultra-modern theme for Sendability data hygiene services.
Version: 2.0.0
*/

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

:root {
  --bg-base: #030712;
  --bg-surface: #111827;
  --bg-surface-light: rgba(31, 41, 55, 0.5);
  
  --primary-glow: #3b82f6;
  --primary-light: #60a5fa;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
  
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-text: linear-gradient(to right, #ffffff, #93c5fd);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Typography Utilities */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(to right, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 6%;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
}

.logo img {
  height: 60px; /* Adjusted to keep header slim */
  width: auto;
  max-width: 350px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.02);
}

.cta-button {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 9999px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
  border-color: rgba(255,255,255,0.3);
}

.cta-button.secondary {
  background: rgba(255,255,255,0.05);
  box-shadow: none;
  border: 1px solid var(--border-subtle);
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-right: 1.5rem;
}
.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: color 0.3s;
}
.lang-switcher a:hover, .lang-switcher a.active {
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: auto;
  padding: 10rem 6% 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Background Effects */
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -45%) scale(1.1); }
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  padding: 2rem;
  border-radius: 50%;
}

.hero-logo {
  max-width: 100%;
  width: 400px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
  position: relative;
  z-index: 10;
  animation: glow-pulse 4s infinite alternate;
}

@keyframes glow-pulse {
  from { filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.2)); }
  to { filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.6)); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: left;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero p {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Premium Statistics Strip */
.stats-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(10px);
  padding: 3rem 6%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

/* Features Section (Glassmorphism Cards) */
.features-section {
  padding: 8rem 6%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  group: hover;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(31, 41, 55, 0.8);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(59, 130, 246, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

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

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-light);
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

/* Abstract Tech Ecosystem Section */
.ecosystem-section {
  padding: 8rem 6%;
  background: linear-gradient(to bottom, var(--bg-base), #0f172a);
  position: relative;
}

.ecosystem-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.ecosystem-content h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

.ecosystem-content p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.ecosystem-list {
  list-style: none;
  margin-top: 3rem;
}

.ecosystem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ecosystem-list-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.ecosystem-list-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.ecosystem-list-text p {
  font-size: 1rem;
  margin-bottom: 0;
}

.ecosystem-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(31, 41, 55, 0.5) 0%, transparent 70%);
}

.core-sphere {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5), inset 0 0 20px rgba(255,255,255,0.5);
  position: relative;
  z-index: 10;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  animation: spin linear infinite;
}

.orbit-1 { width: 300px; height: 300px; animation-duration: 20s; }
.orbit-2 { width: 450px; height: 450px; animation-duration: 30s; animation-direction: reverse; }
.orbit-3 { width: 600px; height: 600px; animation-duration: 40s; border-style: solid; }

.satellite {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-cyan);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--accent-cyan);
}

.orbit-2 .satellite { background: var(--accent-emerald); box-shadow: 0 0 20px var(--accent-emerald); top: 50%; left: 0%; }
.orbit-3 .satellite { background: var(--primary-light); box-shadow: 0 0 20px var(--primary-light); top: 85%; left: 15%; width: 30px; height: 30px;}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Partners Section */
.partners-section {
  padding: 8rem 6%;
  background: linear-gradient(to bottom, #0f172a, var(--bg-base));
  border-top: 1px solid var(--border-subtle);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background: var(--bg-surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(31, 41, 55, 0.8);
}

.partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.partner-logo-box img {
  max-width: 140px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.4s;
}

.partner-card:hover .partner-logo-box img {
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.05);
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Contact Section */
.contact-section {
  padding: 8rem 6%;
  background: var(--bg-surface);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: #fff;
}
.contact-info p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-email {
  font-size: 1.5rem;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s;
}
.contact-email:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}
.contact-form {
  background: var(--bg-base);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.05);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Blog Section */
.blog-section {
  padding: 8rem 6%;
  background: var(--bg-base);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.blog-card {
  background: var(--bg-surface-light);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.blog-image {
  height: 240px;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}
.blog-content {
  padding: 2.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-date {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.blog-excerpt {
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex: 1;
}
.read-more {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.blog-card:hover .read-more {
  color: var(--primary-light);
}

/* Call to Action Banner */
.cta-banner {
  margin: 6rem 6%;
  padding: 5rem 4rem;
  background: var(--gradient-primary);
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
  opacity: 0.5;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.cta-banner .cta-button {
  background: #fff;
  color: #1e3a8a;
  border: none;
}

.cta-banner .cta-button:hover {
  background: var(--bg-base);
  color: #fff;
}

/* Footer Section */
.site-footer {
  background: #02040a;
  padding: 6rem 6% 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.footer-brand .logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 400px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-logo-wrapper {
    margin-bottom: 2rem;
  }
  .hero p {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .ecosystem-container { grid-template-columns: 1fr; }
  .ecosystem-visual { max-width: 500px; margin: 0 auto; margin-top: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  header.site-header { padding: 1rem 4%; }
  .logo img { height: 50px; }
  .cta-banner { padding: 3rem 2rem; margin: 4rem 4%; }
}

@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .cta-button { width: 100%; justify-content: center; }
}
