/* Helix SA - Official Brand Styles */
/* Futuristic Neon Purple-Cyan DNA Tech Aesthetic */

:root {
  --helix-dark: #0A0A12;
  --helix-purple: #1A0F2E;
  --helix-neon-purple: #9E64ED;
  --helix-cyan: #72DFE8;
  --helix-light-cyan: #67E8F9;
  --white: #FFFFFF;
  --light-gray: #F1F5F9;
  --muted: #94A3B8;
  --card-bg: rgba(26, 15, 46, 0.85);
}

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

body {
  font-family: 'Inter', system_ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--helix-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Glassmorphism + Neon Effects */
.glass {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(114, 223, 232, 0.15);
  border-radius: 16px;
}

.neon-text {
  color: var(--helix-cyan);
  text-shadow: 0 0 10px rgba(114, 223, 232, 0.5);
}

.neon-purple {
  color: var(--helix-neon-purple);
  text-shadow: 0 0 10px rgba(158, 100, 237, 0.5);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(114, 223, 232, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(158, 100, 237, 0.4));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #FFFFFF, #72DFE8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--helix-cyan);
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--helix-neon-purple), var(--helix-cyan));
  transition: width 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--helix-neon-purple), var(--helix-cyan));
  color: var(--helix-dark);
  box-shadow: 0 4px 15px rgba(158, 100, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(158, 100, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(114, 223, 232, 0.4);
}

.btn-secondary:hover {
  background: rgba(114, 223, 232, 0.1);
  border-color: var(--helix-cyan);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.btn-email {
  background: linear-gradient(135deg, #9E64ED, #72DFE8);
  color: var(--helix-dark);
}

/* Hero Section with Animated Helix Background */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: radial-gradient(circle at 50% 30%, rgba(26,15,46,0.6) 0%, var(--helix-dark) 70%);
  overflow: hidden;
}

#helix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.58;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero .gradient-text {
  background: linear-gradient(90deg, #FFFFFF 0%, #72DFE8 50%, #9E64ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.35rem;
  color: var(--light-gray);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--helix-neon-purple), var(--helix-cyan));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.75rem;
  color: var(--helix-dark);
}

.service-card h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card p {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  padding: 0.4rem 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card li:before {
  content: "→";
  color: var(--helix-cyan);
  font-weight: bold;
}

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio / Work */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--helix-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  transition: transform 0.4s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(10,10,18,0.85));
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
}

.portfolio-item .overlay h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.portfolio-item .overlay p {
  font-size: 0.95rem;
  color: var(--light-gray);
}

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  padding: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method .icon {
  width: 48px;
  height: 48px;
  background: var(--helix-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: #050507;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(114, 223, 232, 0.1);
}

footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Floating Action Buttons */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.fab:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background: #25D366;
  color: white;
}

.fab-email {
  background: linear-gradient(135deg, #9E64ED, #72DFE8);
  color: var(--helix-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
}

/* Subtle Scroll Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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