:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --card-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at top right, #1e293b, #0f172a);
}

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

/* Header/Nav */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--card-border);
  aspect-ratio: 1/1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 99px;
  transition: var(--transition);
  box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
}

/* About Section */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 800;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
  margin-bottom: 2rem;
}

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

.benefit-card {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main); /* Changed to white for better contrast */
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Pricing Enhancements */
.pricing-card ul li {
  color: #fff !important; /* Pure white for better readability */
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

.currency-symbol {
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.7;
  margin-left: 0.25rem;
}

.ghost-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  border-radius: 99px;
  border: 1px solid var(--card-border);
  transition: var(--transition);
  text-align: center;
}

.ghost-button:hover {
  border-color: var(--primary);
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.cta-button.featured {
  background: linear-gradient(135deg, var(--primary), #818cf8);
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  filter: brightness(1.1); /* Brighten on hover */
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.skill-card:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.skill-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.skill-icon svg {
  width: 24px;
  height: 24px;
}

.skill-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.skill-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Form Styles */
.contact-section {
  background: radial-gradient(circle at bottom center, #1e293b, #0f172a);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 2rem;
  border: 1px solid var(--card-border);
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.char-counter {
  position: absolute;
  bottom: -1.25rem;
  right: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px); /* Subtle nudge to indicate interactivity */
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-muted); /* Muted when closed */
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-item.active .faq-question {
  color: #fff; /* White when open */
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary);
}

.faq-item.active {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  color: #cbd5e1; /* Brighter, more readable text */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 2rem; /* Symmetric padding to match top of question */
  opacity: 1;
}

/* Custom File Upload */
.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--card-border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-weight: 500;
}

.file-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: var(--text-main);
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-name {
  font-size: 0.825rem;
  color: var(--accent);
  margin-top: 0.25rem;
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-hover);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
}
