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

:root {
  --primary-navy: #0A1128; /* Deeper tech navy */
  --primary-navy-dark: #050814;
  --accent-gold: #D4AF37;
  --accent-gold-light: #FCE883;
  --accent-cyan: #00E5FF; /* Tech SaaS accent */
  --text-light: #FFFFFF;
  --text-dark: #1A1A1A;
  --bg-light: #F8FAFC; /* Slate 50 */
  --border-grey: #E2E8F0;
  --gradient-gold: linear-gradient(135deg, #FCE883 0%, #D4AF37 100%);
  --gradient-navy: linear-gradient(135deg, #0A1128 0%, #1A2E63 100%);
  --gradient-tech: linear-gradient(90deg, #D4AF37, #FCE883);
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.3);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
}

/* Typography Links & Buttons */
.gradient-text {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px; /* Modern UI radius */
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(2px);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-navy-dark);
}

.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--primary-navy-dark);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--primary-navy);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.logo-text {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: -1px;
}

.logo-text-sub {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: var(--text-light);
  font-size: 1rem;
}

.nav-links a:not(.btn):hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background-color: var(--primary-navy-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.05), transparent 25%);
  background-size: cover;
  color: var(--text-light);
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

/* Abstract Tech Grid Background */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  z-index: 1;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #94A3B8;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* Glassmorphism Hero Widget */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  width: 100%;
  max-width: 450px;
}

/* Trusted By Banner */
.trusted-banner {
  background: var(--primary-navy);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 5%;
  overflow: hidden;
}

.trusted-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.trusted-title {
  color: #64748B;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.trusted-logos {
  display: flex;
  justify-content: space-between;
  width: 100%;
  opacity: 0.6;
  filter: grayscale(100%) brightness(200%);
  gap: 2rem;
  flex-wrap: wrap;
}

.trusted-logos img {
  height: 30px;
  object-fit: contain;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

/* Form & Calculator Enhancements */
.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: #FFF;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-navy);
  font-size: 0.95rem;
}

.calc-results-box {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-grey);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.calc-results-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

/* Blog Cards */
.blog-card {
  color: #1A1A1A !important;
  text-decoration: none !important;
}
.blog-card h3 {
  color: #0A1128 !important;
}
.blog-card p {
  color: #475569 !important;
}
.blog-card span {
  color: #D4AF37 !important;
}
.blog-card div {
  color: #0A1128 !important;
}
.blog-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.blog-card:hover img {
  transform: scale(1.05) !important;
}

/* Mega Footer */
.mega-footer {
  background: var(--primary-navy-dark);
  color: #FFF;
  padding: 5rem 5% 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-body);
}

.mega-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #64748B;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #64748B;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.2s;
}

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

/* Utilities */
.section {
  padding: 6rem 5%;
}

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

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 3rem; }
.flex-1 { flex: 1; }

.bg-light { background-color: var(--bg-light); color: var(--text-dark); }
.bg-navy { background-color: var(--primary-navy-dark); color: var(--text-light); }

.subtitle {
  font-size: 1.25rem;
  color: #666;
  max-width: 800px;
  margin: 1rem auto 0;
}
.bg-navy .subtitle { color: #BBB; }

/* The AQX Advantage Matrix */
.advantage-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  flex: 1;
  max-width: 400px;
  text-align: left;
  border-top: 4px solid transparent;
}

.competitor-card { border-top-color: #dc3545; }
.aqx-card { 
  border-top-color: var(--accent-gold); 
  transform: scale(1.05); /* Make AQX stand out */
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.15);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-grey);
}

.price-calc {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.strikethrough { text-decoration: line-through; color: #dc3545; }
.text-red { color: #dc3545; font-weight: 700; font-size: 1.3rem; }
.text-gold { color: var(--accent-gold); font-weight: 900; font-size: 1.5rem; }
.highlight { color: var(--primary-navy); font-weight: 800; }

.vs-badge {
  background: var(--primary-navy);
  color: var(--accent-gold);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Pricing Section */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.pricing-card {
  background: var(--primary-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  flex: 1;
  min-width: 320px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.premium-card {
  background: var(--primary-navy-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-glow);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-tech);
}

.tier-header h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.premium-card .tier-header h3 {
  color: var(--accent-gold);
}

.tier-header p {
  color: #AAA;
  font-size: 1rem;
  min-height: 48px;
}

.tier-price {
  font-size: 4rem;
  font-weight: 900;
  margin: 2rem 0;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.tier-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 5px;
  color: var(--accent-gold);
}

.tier-price .unit {
  font-size: 1.2rem;
  color: #888;
}

.tier-features {
  list-style: none;
  margin-bottom: 3rem;
  text-align: left;
  flex-grow: 1;
}

.tier-features li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #DDD;
  display: flex;
  align-items: center;
}

.tier-features li::before {
  content: "✓";
  color: var(--accent-gold);
  font-weight: bold;
  margin-right: 15px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .advantage-grid { flex-direction: column; }
  .vs-badge { margin: -1rem 0; }
  .container[style] { flex-direction: column !important; }
}
