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

/* Tasarım Sistemi Değişkenleri */
:root {
  --bg-main: #070a13;
  --bg-surface: #0f1626;
  --bg-glass: rgba(15, 22, 38, 0.65);
  --bg-input: rgba(7, 10, 19, 0.6);
  --border-glass: rgba(255, 255, 255, 0.07);
  --accent-cyan: #00f2fe;
  --accent-purple: #9b51e0;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #9b51e0 100%);
  --accent-gradient-hover: linear-gradient(135deg, #00d9e4 0%, #3b94e6 50%, #8940cc 100%);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.15);
  --shadow-purple: 0 0 20px rgba(155, 81, 224, 0.15);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --radius-lg: 16px;
  --radius-md: 10px;
  --glow-1: rgba(0, 242, 254, 0.08);
  --glow-2: rgba(155, 81, 224, 0.08);
}

/* Açık Renk Tema Değişkenleri */
body.light-mode {
  --bg-main: #f0f4f8; /* Softer light blue-grey to reduce glare */
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-input: #e2e8f0;
  --border-glass: rgba(0, 0, 0, 0.06);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --glow-1: rgba(0, 180, 216, 0.15);
  --glow-2: rgba(247, 37, 133, 0.1);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.04);
}

/* Genel Sınıflar ve Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Grid & Layout */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  text-shadow: var(--shadow-neon);
}

.btn-nav {
  background: var(--accent-gradient);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
  background: var(--accent-gradient-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Background Gradients */
.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--glow-1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow1 8s ease-in-out infinite alternate;
}

.bg-glow-2 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--glow-2) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow2 10s ease-in-out infinite alternate;
}

.bg-glow-3 {
  position: absolute;
  top: 45%;
  right: -10%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, var(--glow-2) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow2 12s ease-in-out infinite alternate;
}

.bg-glow-4 {
  position: absolute;
  top: 75%;
  left: -10%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, var(--glow-1) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow1 14s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(4vw, 5vh) scale(1.1); }
  100% { transform: translate(-2vw, -8vh) scale(0.9); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0px, 0px) scale(1); }
  50% { transform: translate(-5vw, -6vh) scale(1.15); }
  100% { transform: translate(3vw, 4vh) scale(0.95); }
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

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

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-neon);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
  background: var(--accent-gradient-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--accent-purple);
  background: rgba(155, 81, 224, 0.05);
  transform: translateY(-3px);
}

/* Floating Box Visual (Hero Right Side) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.box-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}

.box-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(155, 81, 224, 0.2) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.floating-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}

.inner-box {
  width: 140px;
  height: 140px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-neon), var(--shadow-purple);
  transform: rotate(15deg);
  animation: spinSlow 20s linear infinite;
}

.inner-box svg {
  width: 60px;
  height: 60px;
  fill: #fff;
  transform: rotate(-15deg);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Section Common Header */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-cyan);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-cyan);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(155, 81, 224, 0.08);
  color: var(--accent-purple);
}

.service-card:nth-child(2) .service-icon svg {
  stroke: var(--accent-purple);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-list li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
}

/* Feature Highlights */
.features-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin-top: 60px;
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.feature-item h4 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(155, 81, 224, 0.25);
}

.portfolio-img-container {
  height: 220px;
  background: linear-gradient(135deg, #161e31 0%, #0d1321 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Fake Browser Mockup content */
.mockup-window {
  width: 85%;
  height: 75%;
  background: #111827;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  height: 24px;
  background: #1f2937;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #10b981; }

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.mockup-line {
  height: 8px;
  border-radius: 4px;
  background: #374151;
}
.mockup-line.accent {
  background: var(--accent-gradient);
  width: 50%;
}

.mockup-hero {
  display: flex;
  gap: 10px;
}
.mockup-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-hero-right {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 6px;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-tag {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-purple);
}

.portfolio-link:hover {
  color: var(--accent-cyan);
}

.portfolio-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
}

.portfolio-link:hover svg {
  transform: translateX(4px);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.pricing-card.popular {
  border-color: var(--accent-cyan);
  transform: scale(1.02);
  box-shadow: var(--shadow-neon);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gradient);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features li.unavailable {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

.pricing-features li.unavailable svg {
  stroke: var(--text-muted);
}

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  background: transparent;
  color: var(--text-primary);
}

.pricing-card.popular .btn-pricing {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-neon);
}

.pricing-card.popular .btn-pricing:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
}

.pricing-card:not(.popular) .btn-pricing:hover {
  border-color: var(--accent-purple);
  background: rgba(155, 81, 224, 0.05);
  transform: translateY(-2px);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(155, 81, 224, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-purple);
}

.contact-item h5 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 24px;
}

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

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

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

.btn-submit {
  width: 100%;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-neon);
}

.btn-submit:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
}

/* Footer */
.footer {
  background: #04060d;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .features-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: 0.4s ease;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu.active ~ .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-menu.active ~ .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-menu.active ~ .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Light Mode Overrides for Contact Form and Footer */
body.light-mode .form-control {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

body.light-mode .form-control:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(155, 81, 224, 0.1);
}

body.light-mode .form-label {
  color: var(--text-secondary);
}

body.light-mode .contact-icon {
  background: rgba(155, 81, 224, 0.12);
}

body.light-mode .footer {
  background: #f1f5f9;
  border-top-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* Cart Animation Overlay & Stage (Transparent page-layer) */
.cart-animation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 99999;
  overflow: hidden;
  pointer-events: none; /* User cannot click during animation */
  transition: opacity 0.3s ease;
}

.anim-stage {
  width: 500px;
  height: 200px;
  position: absolute;
  transform-origin: bottom left;
}

/* Character (Stickman) */
.anim-character {
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 30px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: walkToCar 1.1s forwards linear;
}

.char-head {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  background: var(--bg-main);
  box-shadow: var(--shadow-purple);
}

.char-body {
  width: 2px;
  height: 25px;
  background: var(--accent-purple);
}

.char-arms {
  position: absolute;
  top: 15px;
  width: 16px;
  height: 2px;
  background: var(--accent-purple);
  transform: rotate(30deg);
}

.char-legs {
  display: flex;
  justify-content: space-between;
  width: 12px;
  height: 20px;
  position: relative;
}

.char-legs::before, .char-legs::after {
  content: '';
  width: 2px;
  height: 20px;
  background: var(--accent-purple);
  position: absolute;
  transform-origin: top;
}

.char-legs::before {
  left: 0;
  animation: legSwing 0.25s infinite alternate;
}
.char-legs::after {
  right: 0;
  animation: legSwing 0.25s infinite alternate-reverse;
}

/* Glowing Project Box / Document */
.anim-box {
  position: absolute;
  bottom: 15px;
  left: 35px;
  width: 18px;
  height: 18px;
  background: var(--accent-gradient);
  border: 1px solid #fff;
  border-radius: 3px;
  box-shadow: var(--shadow-neon);
  z-index: 11;
  animation: carryBox 1.1s forwards linear;
}

/* Futuristic Neon Car */
.anim-car {
  position: absolute;
  bottom: 0;
  left: 220px;
  width: 130px;
  height: 50px;
  background: var(--bg-surface);
  border: 2px solid var(--accent-cyan);
  border-radius: 12px 30px 6px 6px;
  box-shadow: var(--shadow-neon);
  z-index: 5;
}

.car-cabin {
  width: 60px;
  height: 22px;
  background: rgba(0, 242, 254, 0.15);
  border: 2px solid var(--accent-cyan);
  border-bottom: none;
  position: absolute;
  top: -22px;
  left: 25px;
  border-radius: 20px 25px 0 0;
}

.car-wheel {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--accent-purple);
  box-shadow: var(--shadow-purple);
  position: absolute;
  bottom: -12px;
}

.car-wheel.front { right: 15px; }
.car-wheel.back { left: 15px; }

.wheel-line {
  width: 100%;
  height: 2px;
  background: var(--accent-purple);
  position: absolute;
  top: 50%;
  margin-top: -1px;
}

/* Animation Timelines */
@keyframes walkToCar {
  0% { left: 30px; opacity: 1; }
  85% { left: 190px; opacity: 1; transform: scaleX(1); }
  90% { left: 200px; opacity: 1; transform: scaleY(0.9); }
  100% { left: 200px; opacity: 0; transform: scale(0); }
}

@keyframes carryBox {
  0% { left: 35px; bottom: 15px; opacity: 1; }
  80% { left: 195px; bottom: 15px; opacity: 1; }
  85% { left: 205px; bottom: 22px; opacity: 1; }
  95% { left: 225px; bottom: 10px; opacity: 0.5; }
  100% { left: 225px; bottom: 10px; opacity: 0; }
}

@keyframes legSwing {
  0% { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}

/* Driving Out Sequence (Diagonally to floating cart) */
.anim-stage.driving .anim-car {
  animation: driveToDepot 0.7s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-stage.driving .car-wheel {
  animation: spinWheel 0.15s infinite linear;
}

@keyframes spinWheel {
  100% { transform: rotate(360deg); }
}

@keyframes driveToDepot {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  20% { transform: translate(-10px, 0) scale(1); } /* pull back */
  100% { transform: translate(var(--target-x), var(--target-y)) scale(0.05); opacity: 0.1; } /* Diagonal drive to cart */
}

/* Floating Shopping Cart Container Bottom Right */
.cart-floating-container {
  position: fixed;
  bottom: 105px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-floating-btn {
  background-color: var(--bg-surface);
  border: 2px solid var(--accent-purple);
  color: var(--text-primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-purple);
  transition: var(--transition-smooth);
}

.cart-floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--accent-purple);
}

.cart-floating-btn.bounce {
  animation: cartBounce 0.5s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); box-shadow: 0 0 35px var(--accent-cyan); }
}

/* Tooltip Above Cart */
.cart-tooltip {
  position: absolute;
  bottom: 75px;
  right: -10px;
  background: var(--accent-gradient);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: var(--shadow-neon);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.cart-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* Warehouse / Depot Garage gate */
.warehouse-depot {
  position: absolute;
  bottom: -2px;
  width: 50px;
  height: 15px;
  background: #0f1626;
  border: 1px solid var(--accent-cyan);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  display: flex;
  overflow: hidden;
}

.depot-door {
  width: 100%;
  height: 100%;
  background: var(--accent-cyan);
  opacity: 0.8;
  transition: height 0.3s ease;
}

.warehouse-depot.open .depot-door {
  height: 0%;
}

/* Portfolio Filter Buttons */
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-neon);
}

.portfolio-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}




