/*
Theme Name: VeloMailer
Theme URI: https://velomailer.com
Author: Sigma Phone LLC
Author URI: https://velomailer.com
Description: Production WordPress Theme for VeloMailer Enterprise Email Infrastructure.
Version: 1.1.0
License: Proprietary
Text Domain: velomailer
*/

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

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #38bdf8;
  --dark-bg: #0b0f17;
  --dark-card: #111827;
  --dark-border: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.site-header {
  background: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--dark-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo svg {
  color: var(--accent);
}

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

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

.nav-links a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  border: none;
  cursor: pointer;
}

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

.btn-outline {
  border: 1px solid var(--dark-border);
  color: #e2e8f0 !important;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  border-color: #64748b;
  background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--dark-bg) 70%);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--dark-border);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #94a3b8;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

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

/* Stats Ribbon */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.8rem;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

/* Content Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.8rem 2.2rem;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 40px -15px rgba(2, 132, 199, 0.2);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 25px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1.5rem 0 2rem;
}

.plan-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-list {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-list li {
  padding: 0.65rem 0;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
}

.plan-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Legal & Policy Articles */
.legal-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3.5rem;
  max-width: 950px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #f1f5f9;
}

.legal-card p, .legal-card li {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-box {
  background: var(--dark-bg);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-item .icon {
  font-size: 1.4rem;
  color: var(--accent);
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-item p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.form-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #334155;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Footer */
.site-footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--dark-border);
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

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

@media (max-width: 900px) {
  .hero h1 { font-size: 2.6rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
