/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #2a3050, #3a3d5a, #3e5a8c, #4d3b6e, #2f3d52, #3a4558);
  background-size: 400% 400%;
  animation: meshGradient 20s ease infinite;
  color: #f0f0f0;
  overflow-x: hidden;
  position: relative;
}

@keyframes meshGradient {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: floatingOrbs 25s ease-in-out infinite;
}

@keyframes floatingOrbs {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* ===== NAVIGATION ===== */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(20px) saturate(200%);
  background: rgba(20, 24, 49, 0.85);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, 
    rgba(0, 255, 136, 0.4),
    rgba(0, 217, 255, 0.4),
    rgba(168, 85, 247, 0.4),
    rgba(0, 255, 136, 0.4)
  ) 1;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 255, 136, 0.1);
  z-index: 1000;
  padding: 1.4rem 0;
  animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {
  0%, 100% {
    box-shadow: 
      0 4px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(0, 255, 136, 0.1);
  }
  50% {
    box-shadow: 
      0 4px 30px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(0, 255, 136, 0.2),
      0 0 40px rgba(0, 217, 255, 0.1);
  }
}

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

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 
    0 0 20px rgba(0, 255, 136, 0.4),
    0 0 40px rgba(0, 217, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  text-shadow: 
    0 0 30px rgba(0, 255, 136, 0.6),
    0 0 50px rgba(0, 217, 255, 0.3);
  transform: translateY(-2px);
}

.nav-logo-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  box-shadow: 
    0 0 20px rgba(0, 255, 136, 0.4),
    0 0 30px rgba(0, 217, 255, 0.2);
  animation: logoGlow 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-image {
  box-shadow: 
    0 0 30px rgba(0, 255, 136, 0.6),
    0 0 40px rgba(0, 217, 255, 0.4),
    0 0 50px rgba(168, 85, 247, 0.3);
  transform: scale(1.1) rotate(5deg);
}

@keyframes logoGlow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #00ff88;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.14rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 255, 136, 0.15),
    rgba(0, 217, 255, 0.15),
    rgba(168, 85, 247, 0.15)
  );
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ff88, #00d9ff, #a855f7);
  transition: width 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.nav-link:hover {
  color: #00ff88;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: #00ff88;
}

.nav-link.active::after {
  width: 80%;
}

/* ===== GLASS PANEL SYSTEM ===== */
.glass-panel {
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(26, 26, 46, 0.6);
  border: 2px solid transparent;
  background-image: 
    linear-gradient(rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.6)),
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.15)
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100%, 300% 300%;
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cardBorderPulse 20s ease infinite;
}

@keyframes cardBorderPulse {
  0%, 100% {
    background-position: 0% 0%, 0% 50%;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 40px rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    background-position: 0% 0%, 100% 50%;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 60px rgba(255, 255, 255, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.glass-panel:hover {
  background-image: 
    linear-gradient(rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.6)),
    linear-gradient(135deg, 
      rgba(0, 255, 136, 0.5),
      rgba(0, 217, 255, 0.4),
      rgba(168, 85, 247, 0.4),
      rgba(0, 255, 136, 0.3)
    );
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 136, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

/* ===== HOMEPAGE CONTAINER ===== */
#homepage {
  display: block;
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-panel {
  max-width: 800px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  position: absolute;
  top: -12.5%;
  left: -12.5%;
  width: 125%;
  height: 125%;
  border-radius: 20px;
  opacity: 0.32;
  z-index: 1;
  object-fit: cover;
  animation: logoPulse 20s ease infinite;
  animation-delay: -10s;
}

@keyframes logoPulse {
  0% {
    opacity: 0.32;
    filter: brightness(1.8) contrast(1.2) sepia(1) saturate(5) hue-rotate(180deg);
    box-shadow: 
      0 0 60px rgba(0, 217, 255, 0.6),
      inset 0 0 80px rgba(0, 217, 255, 0.3);
  }
  25% {
    opacity: 0.36;
    filter: brightness(1.9) contrast(1.3) sepia(1) saturate(5) hue-rotate(270deg);
    box-shadow: 
      0 0 70px rgba(168, 85, 247, 0.7),
      inset 0 0 90px rgba(168, 85, 247, 0.35);
  }
  50% {
    opacity: 0.4;
    filter: brightness(2) contrast(1.4) sepia(1) saturate(5) hue-rotate(90deg);
    box-shadow: 
      0 0 80px rgba(0, 255, 136, 0.8),
      inset 0 0 100px rgba(0, 255, 136, 0.4);
  }
  75% {
    opacity: 0.36;
    filter: brightness(1.9) contrast(1.3) sepia(1) saturate(5) hue-rotate(180deg);
    box-shadow: 
      0 0 70px rgba(0, 217, 255, 0.7),
      inset 0 0 90px rgba(0, 217, 255, 0.35);
  }
  100% {
    opacity: 0.32;
    filter: brightness(1.8) contrast(1.2) sepia(1) saturate(5) hue-rotate(180deg);
    box-shadow: 
      0 0 60px rgba(0, 217, 255, 0.6),
      inset 0 0 80px rgba(0, 217, 255, 0.3);
  }
}

/* Glassmorphic frame container */
.logo::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 50%;
  background: linear-gradient(45deg, 
    rgba(0, 255, 136, 0.2),
    rgba(0, 217, 255, 0.2),
    rgba(168, 85, 247, 0.2),
    rgba(0, 255, 136, 0.2)
  );
  background-size: 300% 300%;
  animation: rotateGradient 4s linear infinite;
  z-index: -1;
  backdrop-filter: blur(8px);
  box-shadow: 
    0 0 60px rgba(0, 255, 136, 0.4),
    0 0 100px rgba(0, 217, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Holographic shimmer overlay */
.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 255, 136, 0.4),
    rgba(0, 217, 255, 0.4),
    rgba(168, 85, 247, 0.4),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

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

@keyframes rotateGradient {
  0% { 
    background-position: 0% 50%;
    transform: rotate(0deg);
  }
  50% { 
    background-position: 100% 50%;
  }
  100% { 
    background-position: 0% 50%;
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 
    0 0 30px rgba(0, 255, 136, 0.3),
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    3px 3px 0 #000,
    0 6px 12px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  font-size: 1.75rem;
  color: #f0f0f0;
  margin-bottom: 3rem;
  line-height: 1.5;
  position: relative;
  z-index: 10;
  text-shadow: 
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0 3px 6px rgba(0, 0, 0, 0.9);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #00ff88, #00d9ff);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

/* ===== TOOLS SECTION ===== */
.tools-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tool-card {
  padding: 2.5rem 2rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px !important;
}

.tool-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
}

.tool-icon-image {
  width: 100%;
  height: 100%;
  max-width: 300px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
  border-radius: 12px;
}

@media (max-width: 768px) {
  .tool-icon {
    min-height: 150px;
  }
  
  .tool-icon-image {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .tool-icon {
    min-height: 120px;
  }
  
  .tool-icon-image {
    width: 150px;
    height: 120px;
  }
}

.tool-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tool-subtitle {
  font-size: 0.95rem;
  color: #00ff88;
  margin-bottom: 1rem;
  font-weight: 500;
}

.tool-desc {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* ===== CASES SECTION ===== */
.cases-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.case-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px !important;
}

.case-image-placeholder {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
}

.case-image {
  width: 100%;
  max-width: 300px;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
}

.case-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.case-desc {
  font-size: 0.95rem;
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.case-link {
  color: #00d9ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.case-link:hover {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.window-panel {
  padding: 0;
  overflow: hidden;
}

.window-titlebar {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #00ff88;
}

.window-controls {
  display: flex;
  gap: 0.75rem;
}

.control {
  color: #888;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.control:hover {
  color: #fff;
}

.window-content {
  padding: 2.5rem;
}

.window-content h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.window-content p {
  font-size: 1.05rem;
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ===== PHILOSOPHY TERMINAL ===== */
.philosophy-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.terminal-panel {
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.7);
}

.terminal-header {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #00ff88;
}

.terminal-content {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: #00ff88;
  padding: 2rem;
  line-height: 1.8;
}

.terminal-prompt {
  color: #00d9ff;
}

.terminal-output {
  color: #00ff88;
}

.terminal-cursor {
  animation: blink 1s step-end infinite;
}

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

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 6rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-panel {
  padding: 3rem;
}

.contact-title {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form {
  margin-bottom: 2rem;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(0, 255, 136, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #666;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
  color: #00d9ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-panel {
  padding: 1.5rem;
  text-align: center;
}

.footer-panel p {
  color: #888;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-content {
    position: relative;
  }
  
  .nav-logo {
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .nav-logo-image {
    width: 35px;
    height: 35px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link::after {
    display: none;
  }
  
  /* Content adjustments */
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .tools-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-card,
  .case-card {
    min-height: 450px !important;
  }
  
  .hero-panel {
    padding: 2.5rem 1.5rem;
    min-height: 400px;
  }
  
  .logo {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
  
  .content-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-logo span {
    font-size: 0.85rem;
  }
  
  .nav-logo-image {
    width: 30px;
    height: 30px;
  }
  
  .nav-links {
    width: 100%;
    right: -100%;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero-panel {
    min-height: 350px !important;
    padding: 2rem 1rem !important;
  }
  
  .logo {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
    text-shadow: 
      0 0 40px rgba(0, 255, 136, 0.4),
      0 4px 12px rgba(0, 0, 0, 0.95),
      0 8px 24px rgba(0, 0, 0, 0.8) !important;
    font-weight: 800 !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
    text-shadow: 
      0 0 30px rgba(0, 255, 136, 0.3),
      0 3px 8px rgba(0, 0, 0, 0.95),
      0 6px 16px rgba(0, 0, 0, 0.8) !important;
    font-weight: 600 !important;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }
  
  .tool-card,
  .case-card {
    padding: 1.5rem;
  }
  
  .tool-name,
  .case-name {
    font-size: 1.25rem;
  }
  
  .tool-desc,
  .case-desc {
    font-size: 0.9rem;
  }
  
  .case-link {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
  
  .contact-panel {
    padding: 2rem 1rem;
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
  
  .form-input,
  .form-textarea {
    font-size: 1rem;
    padding: 0.875rem;
  }
  
  .social-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}
