/* --------------------------------------------------
   Do you want a Website - Global Stylesheet
   -------------------------------------------------- */

:root {
  --bg-color: #050508;
  --bg-card: rgba(13, 13, 23, 0.6);
  --bg-card-hover: rgba(20, 20, 35, 0.8);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --primary: #9333ea;       /* Cyber Purple */
  --primary-glow: rgba(147, 51, 234, 0.4);
  --secondary: #06b6d4;     /* Cyber Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.4);
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(147, 51, 234, 0.6);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset and Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-color);
}

/* Interactive Cursor Glow */
.cursor-glow {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 100%);
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #1e1e2f;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

/* Utility Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--secondary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-block {
  display: width;
  width: 100%;
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

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

.section-description {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-btn-mobile {
  display: none;
}

/* Hero Section */
.hero-section {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.18) 0%, transparent 70%);
  z-index: 1;
  filter: blur(50px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  z-index: 1;
  filter: blur(60px);
}

.hero-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--secondary); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-glow-wrapper {
  position: relative;
  display: inline-block;
  height: 1.2em;
  vertical-align: bottom;
}

.text-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 20px rgba(168, 85, 247, 0.3));
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.text-glow.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.hero-description {
  max-width: 750px;
  margin: 0 auto 3rem auto;
  font-size: 1.25rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Portfolio Grid */
.portfolio-section {
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(10, 10, 18, 0.5) 100%);
  border-top: 1px solid var(--border-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.portfolio-card.live-card {
  grid-column: span 8;
  position: relative;
}

.portfolio-card.live-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(6, 182, 212, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.portfolio-card.placeholder-card {
  grid-column: span 4;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-card.live-card:hover {
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.1);
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.btn-visit {
  background: #fff;
  color: #000;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease;
}

.btn-visit:hover {
  transform: scale(1.05);
}

.placeholder-image {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
}

.placeholder-icon {
  font-size: 2.5rem;
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tag-live {
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.tag-soon {
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}

.card-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.card-content p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-link {
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  margin-top: auto;
}

.read-more-link:hover {
  color: var(--text-primary);
}

.read-more-link i {
  transition: transform 0.3s ease;
}

.read-more-link:hover i {
  transform: translateX(4px);
}

.soon-badge {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Services Grid */
.services-section {
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.05);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.8rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Contact Section & Form */
.contact-section {
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(10, 10, 18, 0.6) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form-side {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.15);
}

.contact-form select option {
  background: #08080c;
  color: #fff;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: #030305;
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.footer-brand p {
  max-width: 320px;
}

.footer-links h4,
.footer-socials h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .portfolio-card.live-card {
    grid-column: span 12;
  }
  .portfolio-card.placeholder-card {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Controlled by JS menu toggle */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-btn {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .portfolio-card.placeholder-card {
    grid-column: span 12;
  }
  
  /* Mobile Nav styling details when toggled open */
  .navbar.mobile-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #08080c;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 99;
  }
  
  .navbar.mobile-active .nav-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
  }
}
