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

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

:root {
  --yellow: #FFC107;
  --dark: #0a0a0a;
  --dark-light: #1a1a1a;
  --gray: #6b6b6b;
  --gray-light: #9b9b9b;
  --white: #ffffff;
  --border: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo span {
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}

.btn-primary:hover {
  background: #ffcd38;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 4rem;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.02) 0%, transparent 50%),
    var(--dark);
}

.hero-label {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  display: inline-block;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.hero h1 .highlight {
  color: var(--gray);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--gray-light);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stat-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Section */
.section {
  padding: 6rem 0;
}

.section-label {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.section-header {
  max-width: 800px;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Service Cards */
.service-card {
  background: var(--dark-light);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(255, 193, 7, 0.1);
}

.service-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

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

.tech-tag {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-light);
}

/* Process Steps */
.process-grid {
  display: grid;
  gap: 2rem;
}

.process-card {
  background: var(--dark-light);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: 8px;
}

.process-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.process-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.process-card p {
  color: var(--gray-light);
  line-height: 1.8;
}

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

.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Project Cards */
.project-card {
  background: var(--dark-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.project-card-content {
  padding: 2.5rem;
}

.project-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.project-meta {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.project-card p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Testimonial */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--dark-light);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--yellow);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(255, 193, 7, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card p {
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

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

.author-info h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.author-info p {
  color: var(--gray);
  font-size: 0.875rem;
  margin: 0;
}

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

.pricing-card {
  background: var(--dark-light);
  border: 2px solid var(--border);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pricing-card p {
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.pricing-card ul {
  text-align: left;
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card ul li {
  padding: 0.75rem 0;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--dark-light);
  color: var(--white);
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--yellow);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

/* CTA Section */
.cta-section {
  background: var(--dark-light);
  border: 1px solid var(--border);
  padding: 5rem 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.875rem;
}

/* Info Box */
.info-box {
  background: var(--dark-light);
  border-left: 3px solid var(--yellow);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.info-box h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.info-box p {
  color: var(--gray-light);
  line-height: 1.8;
}

/* Arrow Icon */
.btn-primary::after {
  content: '→';
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s;
}

.btn-primary:hover::after {
  transform: translateX(4px);
}

/* Button hover effects */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn span {
  position: relative;
  z-index: 1;
}

/* Scroll Indicator */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

/* Responsive */
@media (max-width: 968px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1000;
  }

  .grid-2,
  .grid-3,
  .testimonial-grid,
  .pricing-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .service-card,
  .process-card {
    padding: 2rem;
  }

  .service-number,
  .process-number {
    font-size: 2.5rem;
  }

  .cta-section {
    padding: 3rem 2rem;
  }

  .cta-section h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }
}

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

  .nav {
    padding: 1rem 0;
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-img {
    height: 32px;
  }

  .hero {
    padding: 5rem 0 2rem;
  }

  .hero-label {
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-label {
    font-size: 0.65rem;
  }

  .service-card,
  .process-card,
  .pricing-card {
    padding: 1.5rem;
  }

  .service-number {
    font-size: 2rem;
  }

  .tech-tags {
    gap: 0.5rem;
  }

  .tech-tag {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
    margin: 3rem 0;
  }

  .footer {
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablet optimizations */
@media (min-width: 601px) and (max-width: 968px) {
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-header h2 {
    font-size: 3rem;
  }
}

/* Large desktop optimizations */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 7rem;
    letter-spacing: -3px;
  }

  .section-header h2 {
    font-size: 4.5rem;
  }

  .service-card,
  .process-card {
    padding: 3.5rem;
  }
}

/* Smooth transitions for all interactive elements */
a, button, .card, .service-card, .testimonial-card, .pricing-card, .project-card {
  -webkit-tap-highlight-color: transparent;
}

/* Focus states for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Improve text rendering */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent layout shift */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Smooth page transitions */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Success Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--dark-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.modal-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.modal-content p {
  color: var(--gray-light);
  line-height: 1.8;
}

/* Mobile modal adjustments */
@media (max-width: 600px) {
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
    max-height: 85vh;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .modal-content svg {
    width: 60px;
    height: 60px;
  }
}
