:root {
  --primary-purple: #8B5CF6;
  --deep-purple: #6D28D9;
  --accent-pink: #D946EF;
  --light-lavender: #EDE9FE;
  
  /* Theme variables (Dark Mode Default) */
  --bg-main: #060608;
  --bg-secondary: #0D0D12;
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
  --form-bg: rgba(0, 0, 0, 0.3);
  --nav-scrolled: rgba(6, 6, 8, 0.85);
  
  --font-main: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-main: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --text-main: #09090B;
  --text-muted: #52525B;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --form-bg: rgba(0, 0, 0, 0.03);
  --nav-scrolled: rgba(250, 250, 250, 0.85);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.text-glow {
  background: linear-gradient(to right, var(--primary-purple), var(--accent-pink), var(--primary-purple));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Utility */
.section {
  padding: 6rem 2rem;
}

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

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple), var(--deep-purple));
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: var(--glass-bg);
  border-color: var(--primary-purple);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 100;
  transition: var(--transition);
}

#navbar.scrolled {
  background-color: var(--nav-scrolled);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* New CSS Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-text {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.nav-logo-text span {
  color: var(--primary-purple);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--glass-bg);
}

.sun-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: block;
}

[data-theme="light"] .moon-icon {
  display: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  z-index: 0;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
  z-index: 10;
  position: relative;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 2rem;
}

.glow-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(109,40,217,0) 70%);
  filter: blur(80px);
  animation: pulse 8s infinite alternate;
}

.text-center {
  text-align: center;
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.center-hero {
  flex-direction: column;
  justify-content: center;
}

.hero-landscape {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.wave-svg {
  width: 100%;
  height: clamp(100px, 20vw, 250px);
}

/* Cards Grid (Services) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(139,92,246,0.4), transparent 50%, rgba(217,70,239,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(139, 92, 246, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: var(--transition);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(217, 70, 239, 0.15));
  border-color: rgba(139, 92, 246, 0.4);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-text .section-subtitle {
  text-align: left;
  margin-left: 0;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 2px solid rgba(139, 92, 246, 0.2);
  padding-left: 2.5rem;
  position: relative;
}

.timeline-item {
  position: relative;
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-dot {
  position: absolute;
  left: -2.85rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  background: var(--primary-purple);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary-purple), 0 0 0 4px rgba(139, 92, 246, 0.2);
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  background: var(--accent-pink);
  box-shadow: 0 0 20px var(--accent-pink), 0 0 0 6px rgba(217, 70, 239, 0.2);
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  text-align: left;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact-detail-item:hover {
  transform: translateX(5px);
}

.contact-icon {
  flex-shrink: 0;
}

.contact-link {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

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

.contact-form {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.contact-form:hover {
  border-color: var(--primary-purple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--form-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
.minimal-footer {
  background-color: var(--bg-secondary);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.minimal-footer .footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  gap: 1.5rem;
  padding: 0;
  margin: 0 auto;
}

.minimal-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.minimal-footer .footer-brand p {
  margin: 1.5rem auto;
  max-width: 500px;
  color: var(--text-muted);
}

.footer-minimal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.footer-minimal-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-minimal-links a:hover {
  color: var(--primary-purple);
}

.minimal-footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.minimal-footer .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.minimal-footer .social-icons a:hover {
  background: var(--primary-purple);
  color: white;
  border-color: var(--primary-purple);
  transform: translateY(-3px);
}

.minimal-footer .footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  margin-top: 3rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--text-main);
}

/* Animations */
.hover-float {
  animation: float 6s ease-in-out infinite;
}

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

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile approach */
  }
  
  .hero {
    padding: 7rem 1rem 3rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .section {
    padding: 4rem 1.5rem;
  }

  .minimal-footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-minimal-links {
    gap: 1rem;
    flex-direction: column;
  }

  .minimal-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

  /* Make sure inputs show text cursor */
  input, textarea {
    cursor: text;
  }
}
