/* CSS Variables - Dark Theme */
:root {
  --background: hsl(220, 20%, 8%);
  --foreground: hsl(220, 10%, 94%);
  --card: hsl(220, 18%, 12%);
  --card-foreground: hsl(220, 10%, 94%);
  --primary: hsl(38, 92%, 55%);
  --primary-foreground: hsl(220, 20%, 8%);
  --secondary: hsl(220, 15%, 18%);
  --secondary-foreground: hsl(220, 10%, 85%);
  --muted: hsl(220, 15%, 20%);
  --muted-foreground: hsl(220, 10%, 60%);
  --border: hsl(220, 15%, 20%);
  --radius: 0.75rem;
  --gradient-card: linear-gradient(180deg, hsl(220 18% 14%) 0%, hsl(220 18% 10%) 100%);
  --shadow-card: 0 4px 24px -4px hsl(220 50% 3% / .5);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-100%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  z-index: 50;
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(220, 20%, 8%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .nav-inner {
    height: 5rem;
  }
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.5rem;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 50;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }
}

.nav-link {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.active {
  color: var(--primary);
}

.btn-nav {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .btn-nav {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .btn-nav {
    display: none;
  }
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, hsl(38, 92%, 55%) 0%, hsl(28, 80%, 45%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn-hero {
  background: linear-gradient(135deg, hsl(38, 92%, 55%) 0%, hsl(28, 80%, 45%) 100%);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--primary-foreground);
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-hero:hover {
  opacity: 0.9;
  transform: scale(1.05);
  box-shadow: 0 0 40px -10px hsla(38, 92%, 55%, 0.3);
}

.btn-outline {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Container */
.container-custom {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding: 0 2rem;
  }
}

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 8rem;
  }
}

.hero-content {
  max-width: 56rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.badge-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-expertise {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.expertise-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Tech Tag */
.tech-tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  background: hsla(220, 18%, 12%, 0.3);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Gradient */
.card-gradient {
  background: linear-gradient(180deg, hsl(220, 18%, 14%) 0%, hsl(220, 18%, 10%) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px -4px hsla(220, 50%, 3%, 0.5);
}

.service-card {
  padding: 1.5rem;
  transition: all 0.3s;
	  background: var(--gradient-card);
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  border-color: hsla(38, 92%, 55%, 0.5);
  box-shadow: 0 0 40px -10px hsla(38, 92%, 55%, 0.3);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-features li span:last-child {
  color: var(--secondary-foreground);
}

/* Process Section */
.process-steps {
  max-width: 48rem;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--border);
}

.process-step:last-child {
  border-left: none;
  padding-bottom: 0;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-9px);
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.process-description {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Technologies Section */
.technologies-section {
  background: hsla(220, 18%, 12%, 0.3);
}

.tech-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-category {
  padding: 1.5rem;
}

.tech-category-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.additional-skills {
  margin-top: 3rem;
  text-align: center;
}

.skills-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.5rem 1rem;
  background: hsla(220, 15%, 18%, 0.5);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  padding: 1.25rem;
  transition: all 0.3s;
	  background: var(--gradient-card);
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  border-color: hsla(38, 92%, 55%, 0.3);
  transform: translateY(-4px);
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.portfolio-contributions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.portfolio-contributions li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.contribution-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.375rem;
}

.portfolio-contributions li span:last-child {
  color: var(--muted-foreground);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.portfolio-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background: hsla(220, 18%, 12%, 0.3);
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1.25rem;
	  background: var(--gradient-card);
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-card);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  gap: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--foreground);
  padding-right: 1rem;
  font-size: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--foreground);
  transition: transform 0.3s;
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: color 0.2s;
}

.contact-item:hover .contact-label {
  color: var(--primary);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-label {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

.contact-value {
  color: var(--muted-foreground);
}

.location-box {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--gradient-card);
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-card);
}

.location-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.location-text strong {
  color: var(--foreground);
}

.contact-form-wrapper {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
	    background: var(--gradient-card);
  border-radius: var(--radius);
  border-width: 1px;
  border-color: hsl(var(--border));
  box-shadow: var(--shadow-card);
  }
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--primary);
}

.form-textarea {
  resize: none;
}

.btn-form {
  width: 100%;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 3rem 0;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

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

@media (min-width: 768px) {
  .footer-left {
    text-align: left;
  }
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-nav ul {
    gap: 1.5rem;
  }
}

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--foreground);
}

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

@media (min-width: 768px) {
  .footer-right {
    text-align: right;
  }
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact-link {
  transition: color 0.2s;
}

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

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

