/* ========================================
   COLOR CONFIGURATION - Easy to edit
   ======================================== */

:root {
  /* Primary Colors */
  --primary: #d011ee;
  --primary-dark: #d011ee;
  --primary-light: #d011ee;
  
  /* Accent Colors */
  --accent: #d011ee;
  --accent-dark: #d011ee;
  --accent-light: #d011ee;
  
  /* Neutral Colors */
  --dark: #111827;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  
  /* Background */
  --bg-primary: #f9fafb;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f3f4f6;
  
  /* Text */
  --text-primary: #111827;
  --text-secondary: #374151;
  --text-tertiary: #6b7280;
  --text-light: #ffffff;
  
  /* Borders */
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  
  /* Spacing & Typography */
  --border-radius: 0.75rem;
  --border-radius-lg: 1.25rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

h1 { 
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

h2 { 
  font-size: 2.75rem;
  font-weight: 800;
}

h3 { 
  font-size: 1.875rem;
  font-weight: 700;
}

h4 { 
  font-size: 1.25rem;
  font-weight: 600;
}

h5 { 
  font-size: 1.125rem;
  font-weight: 600;
}

h6 { 
  font-size: 1rem;
  font-weight: 600;
}

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

small {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

strong, b {
  font-weight: 700;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   LINKS & BUTTONS
   ======================================== */

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--primary-dark);
}

button, .btn, input[type="submit"] {
  font-family: var(--font-family);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

button:disabled, .btn:disabled, input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Button Variants */
.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.875rem 2rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px 0 rgba(208, 17, 238, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 24px 0 rgba(208, 17, 238, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2.5px solid var(--primary);
  padding: 0.75rem 1.875rem;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 8px 24px 0 rgba(208, 17, 238, 0.3);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  padding: 0.875rem 2rem;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
}

.btn-white:hover {
  background-color: var(--gray-50);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.btn-white:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1.125rem 3rem;
  font-size: 1.125rem;
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */

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

@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* ========================================
   SECTION PADDING & STYLING
   ======================================== */

.section-padding {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

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

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  gap: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  nav {
    padding: 1rem 0;
  }
  
  .logo {
    font-size: 1.25rem;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

section.hero {
  background: linear-gradient(135deg, rgba(208, 17, 238, 0.05) 0%, rgba(236, 72, 153, 0.03) 100%);
  padding: 10rem 0 8rem;
  margin-top: 5rem;
  overflow: hidden;
  position: relative;
}

section.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(208, 17, 238, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

section.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInDown 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-shape {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 3rem;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 768px) {
  section.hero {
    padding: 8rem 0 5rem;
    margin-top: 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-visual {
    display: none;
  }
}

/* ========================================
   SECTIONS BACKGROUND
   ======================================== */

section.bg-secondary {
  background-color: var(--bg-secondary);
}

section.bg-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #c010d0 50%, var(--primary) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

section.bg-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

section.bg-primary::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

section.bg-primary h2,
section.bg-primary h3,
section.bg-primary h4 {
  color: var(--text-light);
}

section.bg-primary p {
  color: rgba(255, 255, 255, 0.92);
}

section.bg-dark {
  background-color: var(--gray-900);
  color: var(--text-light);
}

section.bg-dark h2,
section.bg-dark h3 {
  color: var(--text-light);
}

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

.cta-title {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* ========================================
   CARDS
   ======================================== */

.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(208, 17, 238, 0.15);
  transform: translateY(-8px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

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

.card-text {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.card-list {
  list-style: none;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

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

.card-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Feature Cards */
.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Testimonial Cards */
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

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

/* ========================================
   GRID
   ======================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .grid {
    gap: 1.5rem;
  }
}

/* ========================================
   FORMS
   ======================================== */

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

input, textarea, select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

input::placeholder, textarea::placeholder {
  color: var(--text-tertiary);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(208, 17, 238, 0.15);
  background-color: rgba(208, 17, 238, 0.02);
}

input[type="email"] {
  background-color: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--text-light);
}

input[type="email"]::placeholder {
  color: var(--gray-400);
}

input[type="email"]:focus {
  background-color: var(--gray-800);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(208, 17, 238, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.newsletter-form {
  gap: 0.75rem;
}

.form-message {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

.form-message-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background-color: var(--gray-900);
  background-image: linear-gradient(135deg, rgba(208, 17, 238, 0.05) 0%, rgba(236, 72, 153, 0.03) 100%);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-section h4 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--gray-300);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary);
  text-decoration: none;
  transform: translateX(4px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  color: var(--gray-400);
}

.footer-section p {
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-section button {
  width: 100%;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 0.25rem; }
.gap-3 { gap: 0.75rem; }

.opacity-90 { opacity: 0.9; }

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */

@media (max-width: 768px) {
  h1 { 
    font-size: 2.25rem;
  }
  
  h2 { 
    font-size: 1.875rem;
  }
  
  h3 { 
    font-size: 1.5rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 { 
    font-size: 1.75rem;
  }
  
  h2 { 
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}