/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f46e5;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  color: #fff;
  z-index: 1000;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  position: relative;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
  z-index: 1;
}

.logo i {
  font-size: 1.8rem;
}

.nav-spacer {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

nav a {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}

nav a:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

nav a i {
  font-size: 0.9rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 8rem 2rem 6rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-icon {
  font-size: 4rem;
  color: #6366f1;
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 1.2rem 3rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  border: 2px solid transparent;
}

.cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Main sections */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

section {
  margin-bottom: 6rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  text-align: center;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

h2 i {
  color: #6366f1;
  font-size: 2rem;
}

/* Services */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.service:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  color: #6366f1;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service:hover .service-icon {
  transform: scale(1.1);
  color: #8b5cf6;
}

.service h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.service p {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* About */
#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  color: #d1d5db;
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6366f1;
  font-size: 1.1rem;
  z-index: 2;
}

.contact-form input {
  width: 100%;
  padding: 1.2rem 1rem 1.2rem 3rem;
  border-radius: 12px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(26, 26, 26, 0.8);
  color: #fff;
  backdrop-filter: blur(10px);
}

.contact-form input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  background: rgba(26, 26, 26, 0.9);
}

.contact-form input::placeholder {
  color: #6b7280;
}

.contact-form button {
  padding: 1.2rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1rem 1.2rem 3rem;
  border-radius: 12px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(26, 26, 26, 0.8);
  color: #fff;
  backdrop-filter: blur(10px);
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.contact-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  background: rgba(26, 26, 26, 0.9);
}

.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form select {
  width: 100%;
  padding: 1.2rem 1rem 1.2rem 3rem;
  border-radius: 12px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(26, 26, 26, 0.8);
  color: #fff;
  backdrop-filter: blur(10px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  background: rgba(26, 26, 26, 0.9);
  color: #fff;
}

.contact-form select option {
  color: #000;
}

.form-message {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid;
  animation: messageSlideIn 0.3s ease-out;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  color: #10b981;
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #fff;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6366f1;
}

.footer-logo i {
  font-size: 1.5rem;
}

footer p {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .services-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .logo i {
    font-size: 1.5rem;
  }
  
  nav ul {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    gap: 0.3rem;
    background: transparent;
    backdrop-filter: none;
  }
  
  nav a i {
    font-size: 0.8rem;
  }
  
  .hero {
    padding: 6rem 1rem 4rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  main {
    padding: 3rem 1rem;
  }
  
  section {
    margin-bottom: 4rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  h2 i {
    font-size: 1.5rem;
  }
  
  .services-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service {
    padding: 2rem 1.5rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .service h3 {
    font-size: 1.2rem;
  }
  
  .service p {
    font-size: 0.95rem;
  }
  
  #about p {
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .contact-form input {
    padding: 1rem 1rem 1rem 2.5rem;
    font-size: 0.95rem;
  }
  
  .input-group i {
    font-size: 1rem;
  }
  
  .contact-form button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.8rem;
    gap: 0.6rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo i {
    font-size: 1.4rem;
  }
  
  nav ul {
    gap: 0.3rem;
  }
  
  nav a {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.2rem;
    background: transparent;
    backdrop-filter: none;
  }
  
  nav a i {
    font-size: 0.7rem;
  }
  
  .hero {
    padding: 5rem 0.8rem 3rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .hero-icon {
    font-size: 2rem;
  }
  
  .cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  main {
    padding: 2rem 0.8rem;
  }
  
  section {
    margin-bottom: 3rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h2 i {
    font-size: 1.2rem;
  }
  
  .service {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    font-size: 2rem;
  }
  
  .service h3 {
    font-size: 1.1rem;
  }
  
  .service p {
    font-size: 0.9rem;
  }
  
  #about p {
    padding: 1.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .contact-form input {
    padding: 0.8rem 0.8rem 0.8rem 2.2rem;
    font-size: 0.9rem;
  }
  
  .input-group i {
    font-size: 0.9rem;
    left: 0.8rem;
  }
  
  .contact-form button {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .footer-logo {
    font-size: 1.1rem;
  }
  
  .footer-logo i {
    font-size: 1.3rem;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 0.85rem;
  }
  
  .cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .service {
    padding: 1.2rem 0.8rem;
  }
  
  .service-icon {
    font-size: 1.8rem;
  }
  
  .service h3 {
    font-size: 1rem;
  }
  
  .service p {
    font-size: 0.85rem;
  }
}
