/* simidiot.net - Corporate warmth with Art Deco sophistication */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Playfair Display, Inter */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #1a1a2e;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 3rem;
  color: #1a1a2e;
  margin-bottom: 0.5em;
}

.section-title.light-title {
  color: #f5f0e8;
}

.section-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== NAV ===== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}

#main-nav.scrolled {
  background: rgba(26, 26, 46, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #f5f0e8;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #f5f0e8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e8b84b;
  transition: width 0.3s;
}

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

.nav-links a:hover {
  color: #e8b84b;
}

.nav-cta {
  background: #e8b84b;
  color: #1a1a2e !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: #1a1a2e !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 184, 75, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: #f5f0e8;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 50%, #1a1a2e 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #4a90d9;
  top: -100px;
  right: -100px;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #e8b84b;
  bottom: -50px;
  left: -80px;
  animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: #4a90d9;
  top: 50%;
  left: 10%;
  animation: floatShape 18s ease-in-out infinite 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(15px, 15px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-deco-line {
  width: 60px;
  height: 3px;
  background: #e8b84b;
  margin: 0 auto 2rem;
}

.hero-deco-line.bottom {
  margin: 2.5rem auto 0;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #f5f0e8;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line-1 {
  display: block;
  font-size: 4.5rem;
  letter-spacing: 0.04em;
}

.title-line-2 {
  display: block;
  font-size: 3.5rem;
  color: #e8b84b;
}

.title-line-2 em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #b0b0c0;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #e8b84b;
  color: #1a1a2e;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 184, 75, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #f5f0e8;
  border: 2px solid #4a90d9;
}

.btn-secondary:hover {
  background: #4a90d9;
  color: #f5f0e8;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
  max-width: 500px;
  opacity: 0.8;
}

.hero-svg {
  width: 100%;
  height: auto;
}

.sim-wave {
  animation: waveFloat 4s ease-in-out infinite;
}

.sim-wave-2 { animation-delay: 0.5s; }
.sim-wave-3 { animation-delay: 1s; }

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

.sim-node {
  animation: nodePulse 3s ease-in-out infinite;
}

.sim-node:nth-child(2) { animation-delay: 1s; }
.sim-node:nth-child(3) { animation-delay: 2s; }

@keyframes nodePulse {
  0%, 100% { r: 8; opacity: 1; }
  50% { r: 10; opacity: 0.7; }
}

.sim-bar {
  animation: barGrow 2s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ===== WAVE TRANSITIONS ===== */
.wave-transition {
  margin-top: -2px;
  line-height: 0;
}

.wave-transition svg {
  display: block;
  width: 100%;
  height: 80px;
}

.wave-1 { background: #1a1a2e; }
.wave-2 { background: #f5f0e8; }
.wave-3 { background: #1a1a2e; }
.wave-4 { background: #f5f0e8; }
.wave-5 { background: #1a1a2e; }

/* ===== SECTIONS ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header.light .section-title {
  color: #f5f0e8;
}

.section-header.light .section-desc {
  color: #b0b0c0;
}

.deco-ornament {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ===== FEATURES ===== */
#features {
  background: #f5f0e8;
}

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

.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4a90d9, #e8b84b);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.12);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 0.8rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.7;
}

/* ===== STATS ===== */
#stats {
  background: #1a1a2e;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background: rgba(74, 144, 217, 0.1);
  border: 1px solid rgba(74, 144, 217, 0.2);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: #e8b84b;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem;
  color: #e8b84b;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #b0b0c0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.stat-bar {
  height: 4px;
  background: rgba(245, 240, 232, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4a90d9, #e8b84b);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s ease-out;
}

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: #f5f0e8;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.floating-testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.08);
  transition: transform 0.4s;
  position: relative;
  animation: floatTestimonial 6s ease-in-out infinite;
}

.ft-1 { animation-delay: 0s; }
.ft-2 { animation-delay: 2s; }
.ft-3 { animation-delay: 4s; }

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

.floating-testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #1a1a2e;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-name {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.95rem;
}

.author-role {
  color: #6c757d;
  font-size: 0.85rem;
}

/* ===== ABOUT ===== */
#about {
  background: #1a1a2e;
}

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

.about-text {
  color: #b0b0c0;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #f5f0e8;
  font-weight: 500;
}

.about-illustration {
  display: flex;
  justify-content: center;
}

.about-illustration svg {
  width: 100%;
  max-width: 350px;
  height: auto;
}

.orbit-dot {
  animation: orbitPulse 3s ease-in-out infinite;
}

.od-1 { animation-delay: 0s; }
.od-2 { animation-delay: 0.75s; }
.od-3 { animation-delay: 1.5s; }
.od-4 { animation-delay: 2.25s; }

@keyframes orbitPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== CONTACT ===== */
#contact {
  background: #f5f0e8;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.1);
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.contact-desc {
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

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

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

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 1rem 1.2rem;
  border: 2px solid #e0ddd5;
  border-radius: 6px;
  background: #f5f0e8;
  color: #1a1a2e;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4a90d9;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
}

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

.contact-form .btn {
  align-self: center;
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
#footer {
  background: #1a1a2e;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-tagline {
  color: #6c757d;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

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

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: #e8b84b;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #b0b0c0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #f5f0e8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 184, 75, 0.15);
}

.footer-bottom p {
  color: #6c757d;
  font-size: 0.85rem;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #main-nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .title-line-1 {
    font-size: 3rem;
  }
  .title-line-2 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-values {
    align-items: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 2.5rem 1.5rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .title-line-1 {
    font-size: 2.2rem;
  }
  .title-line-2 {
    font-size: 1.8rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
