@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-color: #0B1121;
  --bg-card: #151E32;
  --bg-card-hover: #1E293B;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --primary: #F59E0B; /* Vibrant amber/gold */
  --primary-hover: #D97706;
  --accent: #3B82F6; /* Blue contrast */
  --accent-secondary: #10B981; /* Emerald green */
  --accent-warm: #F97316; /* Warm orange */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  --bg-gradient: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 30%), radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 25%);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography & Utilities */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
}

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

.section {
  padding: 6rem 0;
}

/* Design recommendation helpers */
.design-recommendations {
  display: grid;
  gap: 3rem;
}
.design-section {
  background: linear-gradient(180deg, rgba(21, 30, 50, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.design-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.rec-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}
.rec-item h4 {
  margin-bottom: 0.85rem;
}
.rec-item code {
  display: block;
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  font-size: 0.95rem;
  overflow-x: auto;
}
.priority-section {
  border-color: rgba(59, 130, 246, 0.2);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
header.scrolled {
  background: rgba(11, 17, 33, 0.9);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #111;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: #111;
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.4);
}
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,17,33,1) 0%, rgba(11,17,33,0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  top: 0;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.3);
}

.service-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

/* Use abstract gradients for services without images */
.service-img-wrapper.abstract-1 { background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%); }
.service-img-wrapper.abstract-2 { background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); }
.service-img-wrapper.abstract-3 { background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); }
.service-img-wrapper.abstract-4 { background: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%); }
.service-img-wrapper.abstract-5 { background: linear-gradient(120deg, #f093fb 0%, #f5576c 100%); }
.service-img-wrapper.abstract-6 { background: linear-gradient(120deg, #4facfe 0%, #00f2fe 100%); }
.service-img-wrapper.abstract-7 { background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%); }

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img-wrapper img {
  transform: scale(1.1);
}
.service-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.service-content {
  padding: 2rem;
}
.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.service-link:hover {
  color: var(--primary-hover);
  gap: 0.8rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
}

/* Service Detail Pages */
.service-hero {
  padding: 150px 0 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.service-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.service-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.service-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}
.service-desc h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}
.service-desc p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.service-desc ul {
  list-style: none;
  margin-bottom: 2rem;
}
.service-desc ul li {
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-desc ul li i {
  color: var(--primary);
}

.service-sidebar {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 100px;
}
.service-sidebar h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.service-sidebar p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: #070B14;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-col p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer-col ul li a {
  color: var(--text-muted);
}
.footer-col ul li a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 3rem; }
  .service-details { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 80px 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger {
    display: block;
    z-index: 1001;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero h1 { font-size: 2.5rem; }
}

/* Enhanced Hero Section */
.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Design and accessibility improvements */
body {
  background-image: var(--bg-gradient), radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 40%);
  background-color: var(--bg-color);
}
.hero {
  min-height: 85vh;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.hero p {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  max-width: 680px;
}
.hero .hero-tag {
  letter-spacing: 0.08em;
}
.service-card {
  background: linear-gradient(180deg, rgba(21, 30, 50, 0.9), rgba(15, 23, 42, 0.95));
}
.service-card:hover {
  transform: translateY(-14px);
}
.service-link {
  color: var(--accent);
}
.service-link:hover {
  color: var(--accent-secondary);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.btn,
.nav-links a,
a {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .design-section {
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .service-card { border-radius: 1.25rem; }
  .design-section { padding: 1.5rem; }
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.testimonial-content .stars {
  color: #FFD700;
  margin-bottom: 1rem;
}

.testimonial-content p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}

.faq-item h3 {
  color: var(--text-main);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-left: 2rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .hero-features {
    gap: 1rem;
  }
  
  .feature-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat strong {
    font-size: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-item h3 {
    font-size: 1rem;
  }
  
  .faq-item p {
    margin-left: 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
