/* Root & Base Styles */
:root {
  --primary: #8c28fa;
  --primary-hover: #7c1ef0;
  --secondary: #ffffff;
  --background: #0f0f23;
  --surface: #1a1a3e;
  --surface-light: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #00d9ff;
  --green: #10b981;
  --red: #ef4444;
  --yellow: #fbbf24;
  --blue: #3b82f6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Text Utilities */
.text-primary {
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(to right, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white {
  color: var(--text-primary);
}

.text-warning {
  color: var(--yellow);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", sans-serif;
}

.navbar-menu {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (min-width: 768px) {
  .navbar-menu {
    display: flex;
  }
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

.btn-gradient {
  background: linear-gradient(to right, var(--primary), #9333ea);
  color: white;
  box-shadow: 0 0 30px rgba(140, 40, 250, 0.4);
}

.btn-gradient:hover {
  background: linear-gradient(to right, #9333ea, var(--primary));
  box-shadow: 0 0 50px rgba(140, 40, 250, 0.6);
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background-color: var(--text-primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--text-secondary);
  transform: scale(1.05);
}

.btn-cta {
  padding: 0.75rem 1.5rem;
}

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

.btn-rocket {
  display: inline-block;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 10rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 35, 0.8),
    rgba(15, 15, 35, 0.9),
    rgba(15, 15, 35, 1)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(140, 40, 250, 0.5);
  border-radius: 9999px;
  background: rgba(140, 40, 250, 0.1);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .badge {
    margin: 0;
  }
}

.badge-star {
  display: inline-block;
  color: var(--yellow);
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    margin: 0;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .hero-footer {
    align-items: flex-start;
  }
}

.hero-footer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.hero-footer-brands {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.hero-image-wrapper {
  position: relative;
  display: none;
  animation: fadeInRight 0.8s ease-out 0.6s both;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    display: block;
  }
}

.hero-image-wrapper img {
  border-radius: 1rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-customer-img {
  aspect-ratio: 4/3;
  width: 100%;
  transition: transform 0.7s ease;
}

.hero-image-wrapper:hover .hero-customer-img {
  transform: scale(1.05);
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Review Section */
.review-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 48rem;
  margin: 0 auto;
}

.review-grid {
  width: 100%;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.card h3 {
  margin-bottom: 1.5rem;
}

.card-pros {
  border-left: 4px solid var(--green);
}

.card-pros h3 {
  color: #4ade80;
}

.card-cons {
  border-left: 4px solid var(--red);
}

.card-cons h3 {
  color: #f87171;
}

.pros-list,
.cons-list {
  list-style: none;
}

.pros-list li,
.cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.check {
  color: var(--green);
  font-weight: bold;
  flex-shrink: 0;
}

.cross {
  color: var(--red);
  font-weight: bold;
  flex-shrink: 0;
}

.info-box {
  background: rgba(140, 40, 250, 0.1);
  border: 1px solid rgba(140, 40, 250, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.info-box h3 {
  margin-bottom: 0.5rem;
  color: white;
}

.info-box p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
}

.table-wrapper {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow-x: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.pricing-table th {
  text-align: left;
  padding: 1.5rem;
  font-weight: 700;
  color: white;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.pricing-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table tbody tr {
  transition: background-color 0.3s;
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.plan-name {
  font-weight: 700;
  color: white;
  font-size: 1.125rem;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.pricing-table td {
  color: var(--text-secondary);
}

.pricing-footer {
  text-align: center;
  color: var(--text-secondary);
}

.pricing-footer p {
  margin: 0.5rem 0;
}

/* WordPress Section */
.wordpress-section {
  padding: 6rem 0;
  background: linear-gradient(
    to bottom right,
    rgba(30, 58, 138, 0.2),
    rgba(88, 28, 135, 0.2)
  );
}

.wordpress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wordpress-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wordpress-text h2 {
  margin-bottom: 1.5rem;
}

.badge-blue {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.feature-list .check {
  color: #60a5fa;
}

.wordpress-recommendations {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

.wordpress-recommendations h3 {
  margin-bottom: 1.5rem;
  color: white;
}

.rec-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.rec-label {
  color: var(--primary);
  font-weight: 700;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
}

.feature-card h3 {
  margin: 0;
}

.feature-list-small {
  list-style: none;
  font-size: 0.875rem;
}

.feature-list-small li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Cloud Section */
.cloud-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.cloud-section h2 {
  margin-bottom: 1rem;
}

.cloud-section > .container > p {
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.cloud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.cloud-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s;
}

.cloud-card:hover {
  transform: translateY(-8px);
}

.cloud-card.highlighted {
  border-color: rgba(140, 40, 250, 0.5);
}

.cloud-card h3 {
  margin-bottom: 1rem;
}

.cloud-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cloud-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Domain & SSL Section */
.domain-ssl-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .domain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.domain-card {
  padding: 0;
}

.domain-card h3 {
  margin-bottom: 1rem;
}

.domain-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.tip {
  color: var(--green);
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0;
}

/* Signup Section */
.signup-section {
  padding: 6rem 0;
}

.signup-content {
  max-width: 48rem;
  margin: 0 auto;
}

.signup-content h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  margin-bottom: 3rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-content {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-title {
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.signup-button-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.faq-content {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-content h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  font-size: 1rem;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.accordion-header::after {
  content: "▼";
  display: inline-block;
  transition: transform 0.3s;
  font-size: 0.75rem;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

.accordion-body p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

/* Final CTA Section */
.final-cta {
  padding: 8rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(140, 40, 250, 0.2), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 10;
}

.final-cta-content h2 {
  font-size: clamp(1.875rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

.disclaimer {
  opacity: 0.5;
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-menu {
    display: none;
  }

  .hero {
    padding-top: 4rem;
    min-height: 80vh;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .pricing-table {
    font-size: 0.75rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem;
  }
}

/* Utilities */
.opacity-70 {
  opacity: 0.7;
}

.opacity-50 {
  opacity: 0.5;
}

.gap-6 {
  gap: 1.5rem;
}
