/* Custom properties for Frost.UX */
:root {
  --primary-bg: #FFFFFF;
  --dark-bg: #121212;
  --accent-neon: #8A2BE2;
  --text-dark: #121212;
  --text-light: #5A5A5A;
  --text-white: #FFFFFF;
  
  --shadow-neon: 0 0 15px rgba(138, 43, 226, 0.5);
  --shadow-neon-hover: 0 0 25px rgba(138, 43, 226, 0.8);
  --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.05);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

p {
  font-weight: 300;
}

a {
  text-decoration: none;
  font-family: var(--font-body);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.bg-white { background-color: var(--primary-bg); }
.bg-dark { background-color: var(--dark-bg); }
.text-white h2, .text-white p, .text-white { color: var(--text-white); }
.highlight-neon { color: var(--accent-neon); }
.neon-text { color: var(--accent-neon); }
.w-100 { width: 100%; }
.mt-4 { margin-top: 2rem; }
.img-fluid { max-width: 100%; height: auto; display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--text-white);
}

.glow-neon {
  box-shadow: var(--shadow-neon);
}
.glow-neon:hover {
  box-shadow: var(--shadow-neon-hover);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

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

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-text p:not(.hero-features-list) {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.hero-features-list {
  font-size: 0.9rem;
  margin-bottom: 35px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1.3;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 115%;
  max-width: 750px;
  margin-right: -10%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

/* Sections Base */
section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.center {
  text-align: center;
}

/* Problem Section */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.4);
}

.glass-card p {
  color: rgba(255, 255, 255, 0.9);
}

.pain-card {
  text-align: center;
  padding: 30px;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-neon);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(138, 43, 226, 0.1);
}

.icon-circle.shadow-neon {
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.pain-card p {
  font-size: 1rem;
}

.pain-card strong {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

/* Pain cards on dark background */
.bg-dark .pain-card p {
  color: rgba(255, 255, 255, 0.85);
}

.bg-dark .pain-card strong {
  color: #fff;
}

/* Glass cards on white background */
.bg-white .glass-card p {
  color: var(--text-dark);
}

.bg-white .glass-card {
  background: rgba(138, 43, 226, 0.04);
  border: 1px solid rgba(138, 43, 226, 0.15);
}

/* Solution Section */
.solution {
  position: relative;
}

.pricing-card {
  background-color: var(--primary-bg);
  max-width: 500px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border: 1px solid rgba(138, 43, 226, 0.3);
  transform: translateY(20px);
}

.plan-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.plan-header h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.price {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.currency {
  font-size: 2rem;
  margin-top: 10px;
  margin-right: 5px;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
  font-family: var(--font-body);
  align-self: flex-end;
  margin-bottom: 15px;
  margin-left: 5px;
}

.price-subtext {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 25px;
}

.checklist-title {
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.plan-features {
  list-style: none;
}

.plan-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
}

.plan-features i {
  margin-top: 5px;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  text-align: center;
}

.shadow-img {
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .shadow-img {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.portfolio-item h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  gap: 30px;
  margin-bottom: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}
.testimonial-card .stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial-card .comment {
  font-style: italic;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.8);
}
.testimonial-card .author strong {
  display: block;
  color: #fff;
}
.testimonial-card .author span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Testimonials on white background */
.bg-white .testimonial-card.glass-card {
  background: #f8f8fa;
  border: 1px solid #e8e8ee;
}

.bg-white .testimonial-card .comment {
  color: var(--text-light);
}

.bg-white .testimonial-card .author strong {
  color: var(--text-dark);
}

.bg-white .testimonial-card .author span {
  color: var(--text-light);
}

/* FAQ & Closing */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto 80px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--accent-neon);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--text-white);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
  opacity: 1;
}

.faq-answer p {
  color: #fff;
  line-height: 1.5;
}

.closing-banner {
  background: linear-gradient(135deg, var(--dark-bg) 0%, rgba(138, 43, 226, 0.6) 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-banner h2 {
  color: var(--text-white);
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.closing-banner p {
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.closing-banner .btn {
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  padding: 60px 0 30px;
  border-top: 1px solid #222;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.footer-brand .logo-text, .footer-brand p {
  color: var(--text-white);
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #888;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #fff;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-legal {
  color: #555;
  font-size: 0.85rem;
  margin-top: 20px;
}

/* Floating WhatsApp */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-neon);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-neon);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-neon-hover);
}

/* Animation overrides and Custom Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes floatPulse {
  0% { transform: translateY(0px) scale(1); filter: drop-shadow(0 20px 30px rgba(138,43,226,0.1)); }
  50% { transform: translateY(-15px) scale(1.05); filter: drop-shadow(0 25px 40px rgba(138,43,226,0.3)); }
  100% { transform: translateY(0px) scale(1); filter: drop-shadow(0 20px 30px rgba(138,43,226,0.1)); }
}

.float-pulse-anim {
  animation: floatPulse 3.5s ease-in-out infinite;
}

.glow-neon:hover {
  box-shadow: var(--shadow-neon-hover);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero-img {
    width: 80%;
    margin-right: 0;
    max-width: 500px;
    margin-top: 30px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-4, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 2.3rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .price {
    font-size: 3.5rem;
  }
  .closing-banner {
    padding: 40px 20px;
  }
}
