/* 
  Ultra-Modern Dark Theme with Glassmorphism
  Breaks away from the generic market look 
*/

:root {
  --primary-color: #00f2fe;
  --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --secondary-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  --text-dark: #f8fafc; /* Inverted for dark theme */
  --text-light: #94a3b8;
  --bg-dark: #020617;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.2);
  --border-radius: 16px;
  
  /* Fallbacks for old inline HTML styles */
  --bg-white: transparent;
  --bg-light: transparent;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, var(--bg-dark) 50%, var(--bg-dark) 100%);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #fff;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Header & Nav (Glassmorphism) */
.header {
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.main-nav {
  display: none;
}
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 30px;
  }
  .main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
  }
  .main-nav a:hover {
    color: #fff;
  }
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary-gradient);
  color: #000;
  border-radius: 30px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s;
  border: none;
  box-shadow: var(--shadow-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
  color: #000;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 40px;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Abstract glowing orb behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: #fff;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

@media (min-width: 992px) {
  .hero-container {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .hero-content {
    flex: 1;
    max-width: 600px;
  }
  .hero-content p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-visual {
    flex: 1;
  }
}

/* Floating Cards Animation */
.floating-cards {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 400px;
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 20px;
  font-weight: bold;
  color: #fff;
  animation: float 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.float-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}
.card-1 { top: 40px; left: 5%; animation-delay: 0s; }
.card-2 { top: 160px; right: 0; animation-delay: -2s; background: rgba(79, 172, 254, 0.1); border-color: rgba(79, 172, 254, 0.3); }
.card-3 { bottom: 40px; left: 15%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Base Cards (Glassmorphism) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.card h3 {
  margin: 20px 0 15px;
  font-size: 1.4rem;
  color: #fff;
}

.card p {
  color: var(--text-light);
}

.icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Pricing Section - Apple Bento Style */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--border-color);
  transition: background 0.3s;
}
.pricing-card:hover::before {
  background: var(--primary-gradient);
}
@media (min-width: 768px) {
  .pricing-card.featured {
    transform: scale(1.05);
    background: rgba(79, 172, 254, 0.05);
    border-color: rgba(79, 172, 254, 0.3);
  }
  .pricing-card.featured::before {
    background: var(--primary-gradient);
  }
  .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
  }
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 20px 0;
  color: #fff;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  flex-grow: 1;
}
.pricing-card ul li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
}
.pricing-card ul li::before {
  content: '✦';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  top: -2px;
}

/* Blog Cards */
.blog-card {
  text-align: left;
  display: block;
  text-decoration: none;
  padding: 30px;
}
.blog-card h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.blog-card:hover h3 {
  color: var(--primary-color);
}
.blog-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  text-align: left;
}
.faq-item h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.1rem;
}
.faq-item p {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-nav a {
  color: var(--text-light);
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Article Pages override */
.article-header {
  background: transparent;
  padding: 80px 20px 40px;
  text-align: center;
}
.article-header h1 {
  font-size: 2.5rem;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.3;
}
.article-meta {
  color: var(--text-light);
}
.article-content {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 50px;
  border-radius: var(--border-radius);
  margin: 0 auto 60px;
  max-width: 900px;
  color: var(--text-light);
}
.article-content h2 {
  color: #fff;
  margin: 40px 0 20px;
  font-size: 1.8rem;
}
.article-content h3 {
  color: #e2e8f0;
  margin: 30px 0 15px;
  font-size: 1.4rem;
}
.article-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}
.article-content a {
  color: var(--primary-color);
}
.article-content a:hover {
  text-decoration: underline;
}
.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.article-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}
