* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #03050b;
  color: #f0f3fa;
  overflow-x: hidden;
  line-height: 1.5;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 30% 10%, #0a0f1e, #020308);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 20, 0.7);
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  padding: 1rem 5%;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, #9bb8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #cddcff;
  font-weight: 500;
  transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: white;
  text-shadow: 0 0 5px #3b4bff;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 4rem;
}

.hero-content {
  max-width: 800px;
}

.badge {
  display: inline-block;
  background: rgba(59, 75, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  border-left: 2px solid #3b4bff;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient {
  background: linear-gradient(135deg, #5f7eff, #b794f4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: #b9c8ff;
  margin: 1.5rem 0;
}

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(95deg, #3b4bff, #6c5ce7);
  color: white;
  box-shadow: 0 8px 20px rgba(59, 75, 255, 0.3);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(59, 75, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #3b4bff;
  color: #f0f3fa;
}

.btn-outline:hover {
  background: rgba(59, 75, 255, 0.2);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glass card */
.glass-card {
  background: rgba(15, 25, 45, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  border: 1px solid rgba(66, 153, 225, 0.25);
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border-color 0.2s;
}

.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-5px);
}

/* Project showcase */
.project-showcase {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.mock-browser {
  background: #0c1122;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #2a3650;
}

.browser-bar {
  background: #141c2c;
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #25314b;
}

.browser-bar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}
.browser-bar .dot:nth-child(2) { background: #ffbd2e; }
.browser-bar .dot:nth-child(3) { background: #27c93f; }
.browser-bar .url {
  margin-left: auto;
  font-size: 0.7rem;
  color: #8a9eff;
}

.mock-content {
  padding: 2rem;
  text-align: center;
}

.mock-content i {
  font-size: 3rem;
  color: #5f7eff;
}

.project-details h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-details ul {
  list-style: none;
  margin: 1rem 0;
}

.project-details li {
  margin-bottom: 8px;
}

.project-details li i {
  color: #5f7eff;
  margin-right: 10px;
}

.tech-stack span {
  background: #1e293b;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  display: inline-block;
  margin: 4px;
}

/* CTA */
.cta-section {
  padding: 60px 0;
}

.cta-glass {
  background: rgba(59, 75, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

/* Page header */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-text {
  padding: 2rem;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.stats div span {
  font-size: 2rem;
  font-weight: 800;
  color: #5f7eff;
  display: block;
}

.about-icon {
  text-align: center;
  padding: 2rem;
}

.about-icon i {
  font-size: 5rem;
  color: #5f7eff;
}

.philosophy {
  padding: 60px 0;
}

.philosophy-card {
  padding: 2rem;
  text-align: center;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Services page */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
}

.service-card i {
  font-size: 2.5rem;
  color: #5f7eff;
  margin-bottom: 1rem;
}

.tech-stack-show {
  padding-bottom: 80px;
}

.tech-glass {
  padding: 2rem;
  text-align: center;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tech-icons span {
  background: #1e293b;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 1rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 80px;
}

.contact-info, .contact-form {
  padding: 2rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 12px 16px;
  background: rgba(20, 30, 50, 0.8);
  border: 1px solid #2a3650;
  border-radius: 16px;
  color: white;
  font-family: inherit;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  justify-content: center;
}

.whatsapp-btn {
  margin-top: 1rem;
  display: inline-flex;
}

.small-note {
  font-size: 0.8rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* Footer */
footer {
  background: rgba(2, 6, 20, 0.8);
  backdrop-filter: blur(12px);
  border-top: 1px solid #1e2a44;
  padding: 30px 5%;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 2.5rem; }
  .project-card, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-links { gap: 1rem; }
  .logo { font-size: 1.3rem; }
}