@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  --bg-main: #08090d;
  --bg-card: rgba(15, 18, 28, 0.6);
  --bg-card-hover: rgba(22, 27, 42, 0.85);
  --accent-cyan: #00f0ff;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(0, 240, 255, 0.25);
  --glow-cyan: rgba(0, 240, 255, 0.15);
  --glow-purple: rgba(139, 92, 246, 0.15);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
}

/* --- BACKGROUND DECORATION --- */
body::before, body::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  animation: float-glow 20s infinite alternate;
}

body::before {
  top: 10%;
  left: -100px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

body::after {
  top: 50%;
  right: -100px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  animation-delay: -5s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

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

p {
  color: var(--text-muted);
  line-height: 1.6;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
  transform: translateY(-4px);
}

/* --- NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 9, 13, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

header.scrolled {
  padding: 0.5rem 0;
  background: rgba(8, 9, 13, 0.85);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-cyan);
}

.logo-icon {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  fill: none;
  animation: rotate-logo 6s linear infinite;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: var(--bg-main);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* --- HERO SECTION --- */
.hero {
  padding: 12rem 0 8rem;
  position: relative;
  display: flex;
  align-items: center;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-tag {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.btn-primary {
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: none;
  border-radius: 10px;
  color: var(--bg-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

/* --- DYNAMIC LAB TERMINAL (HERO RIGHT) --- */
.hero-graphic {
  position: relative;
}

.terminal-window {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-header {
  background: rgba(15, 18, 28, 0.9);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  background: rgba(8, 9, 13, 0.95);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  color: #a9b2c3;
}

.terminal-line {
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(5px);
  animation: fade-in-line 0.4s forwards;
}

.terminal-line.active {
  color: var(--accent-cyan);
}

.terminal-line.success {
  color: #4ade80;
}

.terminal-line.purple {
  color: var(--accent-purple);
}

.terminal-prompt::before {
  content: 'js-lab-works$ ';
  color: var(--accent-purple);
  font-weight: bold;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent-cyan);
  animation: blink 0.8s infinite;
  vertical-align: middle;
  margin-left: 4px;
}

/* --- SECTIONS GENERAL --- */
section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

.service-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--accent-cyan);
  color: var(--bg-main);
  box-shadow: 0 0 20px var(--accent-cyan);
  transform: rotate(5deg);
}

.service-card:nth-child(2):hover .service-icon {
  background: var(--accent-purple);
  color: var(--text-main);
  box-shadow: 0 0 20px var(--accent-purple);
}

.service-card:nth-child(2) .service-icon {
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.1);
}

.service-card h3 {
  font-size: 1.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tech-tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* --- THE LAB SHOWCASE (PORTFOLIO) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-item {
  padding: 1.5rem;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all var(--transition-normal);
}

.showcase-item.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.03);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.showcase-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  transition: color var(--transition-normal);
}

.showcase-item.active .showcase-num {
  color: var(--accent-cyan);
}

.showcase-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* PREVIEW FRAME */
.showcase-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.preview-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  display: flex;
  flex-direction: column;
  background: #0d0f14;
}

.preview-screen.active {
  opacity: 1;
  visibility: visible;
}

.screen-header {
  background: #14171f;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-address {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  overflow: hidden;
  position: relative;
}

/* Custom interactive SVGs for screens */
.mock-svg {
  width: 120px;
  height: 120px;
  animation: float 4s ease-in-out infinite;
}

.mock-svg path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 3s forwards;
}

/* --- INTERACTIVE ESTIMATOR --- */
.estimator-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
}

.label-val {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.radio-card {
  position: relative;
  padding: 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.radio-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.radio-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
}

/* Range input styling */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.features-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.check-label:hover {
  color: var(--text-main);
}

.check-label input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.check-label input:checked {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.check-label input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  color: white;
}

/* ESTIMATOR RESULTS CARD */
.estimator-result {
  padding: 2rem;
  background: rgba(139, 92, 246, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 12px;
}

.result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.result-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.price-box span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.estimated-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.timeline-box {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 0.8rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.timeline-val {
  font-weight: 700;
  color: var(--accent-purple);
}

/* --- CONTACT SECTION --- */
.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-card-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card-info p {
  font-size: 0.9rem;
}

.contact-form-panel {
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-field input, .form-field textarea {
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

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

/* --- FOOTER --- */
footer {
  background: #040507;
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--glass-border);
}

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

.footer-desc {
  margin-top: 1rem;
  max-width: 320px;
}

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

.footer-links-col h4 {
  font-size: 1.1rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--accent-cyan);
}

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

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes float-glow {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

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

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes fade-in-line {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Toast styling for contact form */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  background: rgba(8, 9, 13, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll Animation classes (manipulated by JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .nav-links {
    display: none; /* Mobile menu can be toggled or kept simple */
  }
  header {
    padding: 0.5rem 0;
  }
  .hero {
    padding: 8rem 0 4rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .features-check-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
