@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #00e6e6;
  --secondary-color: #ff80ab;
  --text-color: #f5f6fa;
  --light-text: #b2b8c6;
  --background: #181c23;
  --card-bg: #232733;
  --white: #232733;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.7);
  --transition: all 0.3s ease;
}

body {
  background: var(--background);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body.light-theme {
  --primary-color: #00bcd4;
  --secondary-color: #ff80ab;
  --text-color: #181c23;
  --light-text: #232733;
  --background: #f8f9fa;
  --card-bg: #fff;
  --white: #fff;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

body.light-theme {
  background: var(--background);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}

body.light-theme .case,
body.light-theme .stat-item,
body.light-theme .learn-list li,
body.light-theme .process-step,
body.light-theme .founder-card,
body.light-theme .excursion-form {
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: var(--shadow);
  border-color: #e0e7ef;
}

body.light-theme .case strong {
  color: var(--light-text);
}

body.light-theme .case li,
body.light-theme .learn-list li,
body.light-theme .stat-label,
body.light-theme .step-content p {
  color: var(--light-text);
}

body.light-theme .cta,
body.light-theme .excursion-form .cta {
  background: var(--primary-color);
  color: #fff;
}

body.light-theme .cta:hover,
body.light-theme .excursion-form .cta:hover {
  background: var(--secondary-color);
  color: #fff;
}

body.light-theme .form-group i {
  color: var(--primary-color);
}

body.light-theme .excursion-form input,
body.light-theme .excursion-form textarea {
  background: #fff;
  color: var(--text-color);
  border: 1px solid #e0e7ef;
}

body.light-theme .excursion-form input:focus,
body.light-theme .excursion-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #00bcd422;
}

body.light-theme footer {
  background: #f8f9fa;
  color: var(--light-text);
}

body.light-theme .footer-section h3 {
  color: var(--primary-color);
}

body.light-theme .footer-bottom {
  border-top: 1px solid #e0e7ef;
}

body.light-theme .social-link {
  background: rgba(0, 188, 212, 0.08);
  color: var(--primary-color);
}
body.light-theme .social-link:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Hero Section */
header.hero {
  background: linear-gradient(120deg, #232733 0%, #181c23 100%);
  padding: 60px 0 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  opacity: 1;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: var(--text-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  line-height: 1.01;
  margin-left: 500px;
 
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 48px;
  color: var(--light-text);
  opacity: 0.95;
  margin-left: 500px;
}

/* Buttons */
.cta {
  display: inline-block;
  padding: 20px 48px;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  background: var(--primary-color);
  color: #181c23;
  box-shadow: 0 4px 32px 0 #00e6e644;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  margin-left: 500px;
}

.cta:hover {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 8px 48px 0 #00e6e6aa;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sections */
section {
  padding: 40px 0;
  background: transparent;
  margin: 0;
  position: relative;
}

section:nth-child(even) {
  background: transparent;
}

/* Headings */
h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-color);
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-color);
}

/* Cases Section */
.cases {
  background: transparent;
}

.cases-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.case {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #232733;
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 48px 0 #00e6e633;
  border-color: var(--primary-color);
}

.case-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 32px;
  text-align: center;
}

.case-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.case strong {
  display: block;
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.case b {
  display: block;
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 16px;
}

.case ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--light-text);
}

.case li i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* About Section */
.about {
  background: transparent;
}

.about-content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 0;
}

.about-photo-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 6px solid var(--primary-color);
  background: var(--card-bg);
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-founder {
  font-size: 1.15rem;
  margin-bottom: 28px;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-item {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 120px;
  flex: 1 1 0;
}

.stat-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.stat-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.98rem;
  color: var(--light-text);
  opacity: 0.9;
}

.about-directions {
  margin-top: 12px;
}

.directions-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.specialization-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specialization-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--primary-color);
  font-weight: 500;
}

.specialization-list li i {
  font-size: 1.2rem;
}

/* Make specialization text white in dark theme */
body:not(.light-theme) .directions-title,
body:not(.light-theme) .specialization-list li {
  color: #f5f6fa !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.light-theme .directions-title,
body.light-theme .specialization-list li {
  color: var(--primary-color);
}

/* About section general styles */
.about ul li,
.about ul li a,
.about p a {
  text-decoration: none;
}

body:not(.light-theme) .about ul li,
body:not(.light-theme) .about ul li a,
body:not(.light-theme) .about p a {
  color: #f5f6fa;
}

body.light-theme .about ul li,
body.light-theme .about ul li a,
body.light-theme .about p a {
  color: var(--primary-color);
}

/* Why Now Section */
.why-now {
  background: transparent;
}

/* Десктоп: две колонки — текст слева, скрины справа */
.why-now .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  min-height: 100%;
  padding: 0 32px;
}

/* Мобильная версия: всё в столбик */
@media (max-width: 900px) {
  .why-now .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: unset;
    padding: 0 8px;
  }
}

.why-now-text {
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}

.why-now-text p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-text);
}

.why-now-photos {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}

.why-now-photo-wrap {
  width: 48%;
  min-width: 0;
  box-sizing: border-box;
}

.why-now-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

/* Learn Section */
.learn {
  background: transparent;
}

.learn-list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}

.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  padding: 24px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--light-text);
}

.learn-list i {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-top: 4px;
}

/* Process Section */
.process {
  background: transparent;
}

.stack-process {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
  width: 100%;
  min-width: 0;
}

.process-step .step-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  cursor: pointer;
  position: relative;
}

.process-step .step-icon {
  font-size: 1.6rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.process-step .step-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-color);
  flex: 1;
}

.process-step .step-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  transition: transform 0.2s;
}

.process-step .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.process-step.open .arrow {
  transform: rotate(180deg);
}

.process-step .step-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 28px;
  color: var(--light-text);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--card-bg);
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, padding 0.25s;
}

.process-step.open .step-details {
  max-height: 200px;
  opacity: 1;
  padding: 0 28px 18px 28px;
}

/* Desktop hover behavior */
@media (min-width: 901px) {
  .process-step:hover .step-details {
    max-height: 200px;
    opacity: 1;
    padding: 0 28px 18px 28px;
  }
  
  /* Hide toggle button on desktop */
  .process-step .step-toggle {
    display: none;
  }
}

/* Excursion Section */
.excursion {
  background: transparent;
}

.founder-card {
  margin-top: 0;
  margin-bottom: 32px;
  padding: 24px 18px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
}

.founder-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.founder-info {
  flex: 1;
  color: var(--text-color);
}

.founder-info b {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.excursion-form, .founder-card {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.excursion-form {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 32px;
  max-width: 400px;
  width: 100%;
  padding: 24px 12px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

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

.form-group i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.excursion-form input, .excursion-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px 16px 48px;
  border: 1px solid #232733;
  border-radius: 8px;
  font-size: 1rem;
  background: #181c23;
  color: var(--text-color);
  transition: var(--transition);
}

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

.excursion-form input:focus,
.excursion-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #00e6e622;
}

.excursion-form .cta {
  width: auto;
  min-width: 220px;
  display: block;
  margin: 24px auto 0 auto;
  padding: 16px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 #00e6e622;
  background: var(--primary-color);
  color: #181c23;
  font-weight: 700;
  text-align: center;
}

.excursion-form .cta:hover {
  background: var(--secondary-color);
  color: #fff;
}

.excursion-note {
  text-align: center;
  color: var(--light-text);
  margin-top: 24px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--background);
  color: var(--light-text);
  padding: 64px 0 32px 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.footer-section p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #232733;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 230, 230, 0.4);
}

.telegram-link {
  background: #0088cc;
  color: white;
}

.instagram-link {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.youtube-link {
  background: #ff0000;
  color: white;
}

.telegram-link:hover {
  background: #0099dd;
}

.instagram-link:hover {
  background: linear-gradient(45deg, #f5a848 0%, #e87e57 25%, #e73c5c 50%, #d93a7c 75%, #cb359e 100%);
}

.youtube-link:hover {
  background: #ff3333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-photo {
    width: 180px;
    height: 180px;
  }
  .about-stats {
    flex-direction: column;
    gap: 16px;
  }
  .why-now .container {
    flex-direction: column;
    gap: 24px;
  }
  .why-now-text {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .why-now {
    /* padding-left: 24px; */
    /* padding-right: 24px; */
  }
  .why-now-text {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
  .hero h1, .hero p {
    margin-left: 0;
    text-align: center;
  }
  .cta {
    margin-left: 0;
    display: block;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-photo-col {
    display: none;
  }
  .why-now-photos {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .why-now-photo-wrap,
  .why-now-photo-wrap:last-child {
    width: 100%;
    max-width: 400px;
    margin: 10px;
    box-sizing: border-box;
    height: auto;
  }
  .why-now-photo-wrap:last-child {
    margin-right: 0;
  }
  .learn-list i, .learn-list svg {
    color: var(--primary-color) !important;
    font-size: 40px !important;
    text-shadow: 0 0 10px var(--primary-color);
  }
  .excursion-form {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 32px;
    max-width: 400px;
    width: 100%;
    padding: 24px 12px;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
  .hero h1, .hero p {
    margin-left: 0;
    text-align: center;
  }
  .cta {
    margin-left: 0;
    display: block;
    margin: 0 auto;
  }
  .why-now-photos {
    flex-direction: column;
    gap: 16px;
    justify-content: center;
  }
  .why-now-photo-wrap {
    height: auto;
  }
  .why-now-photo-wrap:last-child {
    margin-right: 0;
  }
  .learn-list i {
    font-size: 2.5rem !important;
  }
  .learn-list li svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    vertical-align: middle;
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 8px #00e6e6cc);
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
  .hero h1, .hero p {
    margin-left: 0;
    text-align: center;
  }
  .cta {
    margin-left: 0;
    display: block;
    margin: 0 auto;
  }
  .why-now-photos {
    flex-direction: column;
    gap: 16px;
    justify-content: center;
  }
  .why-now-photo-wrap {
    height: auto;
  }
  .why-now-photo-wrap:last-child {
    margin-right: 0;
  }
  .learn-list i {
    font-size: 2.5rem !important;
  }
  .learn-list li svg {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    vertical-align: middle;
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 8px #00e6e6cc);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .cta {
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 32px;
  }
  section {
    padding: 32px 0;
  }
  h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .cases-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
  .case {
    padding: 16px;
  }
  .case-icon {
    font-size: 3rem;
    margin-bottom: 24px;
  }
  .case-icon img {
    width: 60px;
    height: 60px;
  }
  .case strong {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .case b {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .case li {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .case li i {
    font-size: 0.8rem;
    margin-top: 1px;
  }
  .about-photo {
    width: 160px;
    height: 160px;
  }
  .about-founder {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .stat-item {
    padding: 12px 14px;
    border-radius: 10px;
    gap: 10px;
  }
  .stat-item i {
    font-size: 1.4rem;
  }
  .stat-num {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .directions-title {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .specialization-list li {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  .specialization-list li i {
    font-size: 0.8rem;
  }
  .why-now-text p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .why-now-caption {
    font-size: 0.8rem;
    padding: 10px;
  }
  .learn-list li {
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 10px;
    gap: 10px;
  }
  .learn-list i {
    font-size: 1rem;
    margin-top: 1px;
  }
  .process-step .step-header {
    gap: 10px;
    padding: 12px 14px;
  }
  .process-step .step-icon {
    font-size: 1.2rem;
  }
  .process-step .step-title {
    font-size: 0.9rem;
  }
  .process-step .step-toggle {
    font-size: 0.8rem;
    padding: 0 0 0 4px;
  }
  .process-step .step-details {
    font-size: 0.8rem;
    padding: 0 14px;
  }
  .founder-card {
    margin-bottom: 16px;
    padding: 12px 10px;
    border-radius: 10px;
    gap: 10px;
  }
  .founder-photo {
    width: 50px;
    height: 50px;
  }
  .founder-info b {
    font-size: 0.9rem;
  }
  .excursion-form {
    padding: 16px 12px;
    margin-bottom: 16px;
    border-radius: 10px;
  }
  .form-group i {
    font-size: 0.8rem;
    left: 10px;
  }
  .excursion-form input, .excursion-form textarea {
    padding: 8px 8px 8px 32px;
    border-radius: 5px;
    font-size: 0.8rem;
  }
  .excursion-form textarea {
    min-height: 80px;
  }
  .excursion-form .cta {
    min-width: 160px;
    padding: 8px 20px;
    border-radius: 16px;
    font-size: 0.8rem;
  }
  .excursion-note {
    font-size: 0.8rem;
    margin-top: 12px;
  }
  footer {
    padding: 32px 0 16px;
  }
  .footer-content {
    gap: 24px;
    margin-bottom: 24px;
  }
  .footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  .footer-section p {
    font-size: 0.8rem;
    margin: 4px 0;
  }
  .social-links {
    gap: 8px;
  }
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  .footer-bottom {
    padding-top: 16px;
  }
  .footer-bottom a {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .why-now-photos {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .why-now-photo-wrap,
  .why-now-photo-wrap:last-child {
    width: 100%;
    max-width: 400px;
    margin: 10px;
    box-sizing: border-box;
    height: auto;
  }
  .why-now-photo-wrap:last-child {
    height: auto;
  }
  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
}

@media (max-width: 900px) {
  .stack-process {
    max-width: 98vw;
    gap: 10px;
  }
  .process-step .step-toggle {
    display: flex;
  }
  .process-step:hover .step-details {
    max-height: 0;
    opacity: 0;
    padding: 0 28px;
  }
  .process-step.open .step-details {
    max-height: 200px;
    opacity: 1;
    padding: 0 28px 18px 28px;
  }
  .why-now .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: unset;
    padding: 0 8px;
  }
  .why-now-text {
    text-align: left;
    align-items: flex-start;
  }
  .why-now-photos {
    flex-direction: column;
    gap: 16px;
    justify-content: center;
  }
  .why-now-photo-wrap {
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    padding: 20px 0;
    min-height: auto;
  }

  .hero-glass {
    padding: 32px 20px;
    margin: 0 16px;
    width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .hero-photo-col {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
    margin: 0 0 16px 0;
    text-align: center;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 0 0 24px 0;
    text-align: center;
  }

  .cta {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .about-content {
    padding: 0 16px;
  }

  .about-photo {
    width: 160px;
    height: 160px;
  }

  .about-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-item {
    width: 100%;
    padding: 16px;
  }

  .case-list {
    padding: 0 16px;
  }

  .case {
    padding: 24px 20px;
  }

  .process-step {
    margin: 0 16px;
  }

  .process-step .step-header {
    padding: 16px;
  }

  .process-step .step-details {
    padding: 0 16px 16px;
  }

  .excursion-form {
    margin: 0 16px;
    padding: 24px 20px;
  }

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

  .excursion-form input,
  .excursion-form textarea {
    padding: 12px 12px 12px 40px;
    font-size: 0.95rem;
  }

  .footer-content {
    padding: 0 16px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
}

@media (max-width: 700px) {
  .excursion-form, .founder-card {
    max-width: 98vw;
    padding: 12px 2vw;
  }
  .founder-photo {
    width: 60px;
    height: 60px;
  }
  .stack-process {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .process-step {
    width: 100%;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .process-step .step-header {
    padding: 20px 18px;
  }
  .process-step .step-details {
    padding-left: 18px;
    padding-right: 18px;
  }
  .why-now-photo-wrap {
    height: auto;
  }
}

@media (max-width: 600px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-photo {
    width: 120px;
    height: 120px;
  }
  .about-stats {
    flex-direction: column;
    gap: 10px;
  }
  .stat-item {
    padding: 14px 10px;
    min-width: unset;
  }
  .stack-process {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .process-step {
    max-width: 100%;
    width: 100%;
    padding: 18px 4vw;
  }
  .container {
    padding: 0 16px;
  }
  section {
    padding: 48px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .cta {
    width: 100%;
    text-align: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .excursion-form {
    padding: 16px 8px;
  }
  .why-now-photos {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .why-now-photo-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0;
  }
  .why-now-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 16px;
  }
}

body.light-theme header.hero {
  background: linear-gradient(120deg, #232733 0%, #181c23 100%);
}

body.light-theme .hero-overlay {
  background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  opacity: 1;
}

body.light-theme .hero-glass {
  background: #fff;
  color: #181c23;
  box-shadow: 0 8px 48px 0 #00bcd422, 0 0 32px 0 #0001 inset;
  border: 1.5px solid rgba(180,200,255,0.10);
  backdrop-filter: blur(16px);
  border-radius: 40px;
  padding: 64px 48px 72px 48px;
  margin-right: 0;
  animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.light-theme .hero-glass h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: #181c23;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
  line-height: 1.01;
  text-align: center;
}

body.light-theme .hero-glass p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: #232733;
  opacity: 0.95;
  max-width: 600px;
  text-align: center;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme p,
body.light-theme li,
body.light-theme a {
  color: #181c23;
}

body.light-theme .light-text,
body.light-theme .cases-subtitle,
body.light-theme .stat-label {
  color: #232733;
}

body.light-theme .video-invite-caption {
  color: #181c23;
  text-shadow: 0 1px 4px rgba(0, 188, 212, 0.3);
}

/* Metallic 3D Icons */
.case-icon i,
.stat-item i,
.learn-list i,
.process-step .step-icon i,
.specialization-list li i,
.form-group i,
.social-link i {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e6e6e6 20%,
    #b3b3b3 40%,
    #808080 50%,
    #b3b3b3 60%,
    #e6e6e6 80%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 
    0 1px 1px rgba(255,255,255,0.9),
    0 -1px 1px rgba(0,0,0,0.3),
    0 2px 2px rgba(0,0,0,0.3);
  transform: perspective(500px) rotateX(10deg);
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

.case-icon i:hover,
.stat-item i:hover,
.learn-list i:hover,
.process-step .step-icon i:hover,
.specialization-list li i:hover,
.form-group i:hover,
.social-link i:hover {
  transform: perspective(500px) rotateX(10deg) scale(1.1);
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f2f2f2 20%,
    #d9d9d9 40%,
    #b3b3b3 50%,
    #d9d9d9 60%,
    #f2f2f2 80%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 
    0 1px 1px rgba(255,255,255,0.95),
    0 -1px 1px rgba(0,0,0,0.2),
    0 3px 3px rgba(0,0,0,0.4);
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.4));
}

.case-icon i::after,
.stat-item i::after,
.learn-list i::after,
.process-step .step-icon i::after,
.specialization-list li i::after,
.form-group i::after,
.social-link i::after,
.case-icon i::before,
.stat-item i::before,
.learn-list i::before,
.process-step .step-icon i::before,
.specialization-list li i::before,
.form-group i::before,
.social-link i::before {
  display: none !important;
  content: none !important;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: none;}
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 400px;
  padding: 40px 0 0 0;
  gap: 0;
}

.hero-glass {
  flex: 1 1 0;
  background: rgba(24,28,35,0.65);
  color: var(--text-color);
  box-shadow: 0 8px 48px 0 #00bcd422, 0 0 32px 0 #fff4 inset;
  border: 1.5px solid rgba(180,200,255,0.18);
  backdrop-filter: blur(16px);
  border-radius: 40px;
  z-index: 2;
  text-align: center;
  padding: 64px 48px 72px 48px;
  margin-right: 0;
  animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-glass h1, .hero-glass p, .hero-glass .cta {
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.hero-glass h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  color: var(--text-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  line-height: 1.01;
}

.hero-glass p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: var(--light-text);
  opacity: 0.95;
  max-width: 600px;
  text-align: center;
}

.hero-photo-col {
  flex: 0 0 auto;
  margin-left: -80px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

.hero-photo {
  width: 520px;
  max-width: none;
  filter: none;
  border-radius: 24px;
  background: none;
}

.hero-text {
  flex: 1 1 0;
  z-index: 3;
  text-align: center;
  margin: 0;
  width: 100%;
}

@media (max-width: 1200px) {
  .hero-content {
    max-width: 98vw;
    padding: 24px 0 0 0;
  }
  .hero-photo {
    width: 320px;
    filter: none;
  }
  .hero-glass {
    padding: 24px 8vw 32px 8vw;
  }
  .hero-photo-col {
    margin-left: -30px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .case:hover,
  .process-step:hover,
  .social-link:hover,
  .cta:hover {
    transform: none;
  }

  .process-step .step-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 28px;
  }

  .process-step.open .step-details {
    max-height: 200px;
    opacity: 1;
    padding: 0 28px 18px 28px;
  }

  .process-step .step-toggle {
    display: flex;
  }
}

body.light-theme .video-invite-caption {
  color: #181c23;
  text-shadow: 0 1px 4px rgba(0, 188, 212, 0.3);
}

.video-invite {
  padding: 80px 0 60px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-invite-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 0;
  animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
}

.video-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  background: #181c23;
  box-shadow:
    0 0 0 0 #00e6e6,
    0 0 64px 0 #00e6e6cc,
    0 0 32px 0 #00e6e688;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: neonPulse 2.5s infinite alternate;
}

.video-circle:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 24px #00e6e622,
    0 0 120px 0 #00e6e6cc,
    0 0 64px 0 #00e6e688;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,28,35,0.65);
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}

.video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #00e6e6;
  text-shadow: 0 2px 8px #000a;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.3s;
}

.video-invite-caption {
  margin-top: 28px;
  color: #f5f6fa; /* Light color for dark theme */
  font-size: 1.35rem;
  text-align: center;
  opacity: 0.92;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #00e6e6aa;
}

body.light-theme .video-invite-caption {
  color: #181c23; /* Dark color for light theme */
  text-shadow: 0 1px 4px rgba(0, 188, 212, 0.3);
}

.video-invite .cta {
  margin: 40px auto 0 auto;
  font-size: 1.3rem;
  padding: 20px 56px;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 #00e6e644;
  background: var(--primary-color);
  color: #181c23;
  font-weight: 700;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  display: block;
}

.video-invite .cta:hover {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 8px 48px 0 #00e6e6aa;
  transform: scale(1.04);
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: none;
  align-items: center;
  justify-content: center;
}
.video-modal.active {
  display: flex;
}
.video-modal-backdrop {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,28,35,0.85);
  z-index: 1;
}
.video-modal-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: 0 8px 48px 0 #000a;
}
@media (max-width: 700px) {
  .video-invite-content {
    flex-direction: column;
    gap: 24px;
  }
  .video-modal-content {
    padding: 12px 4px;
  }
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    padding: 20px 0;
    min-height: auto;
  }

  .hero-glass {
    padding: 32px 20px;
    margin: 0 16px;
    width: calc(100% - 32px);
    box-sizing: border-box;
  }

  .hero-photo-col {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
    margin: 0 0 16px 0;
    text-align: center;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 0 0 24px 0;
    text-align: center;
  }

  .cta {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .about-content {
    padding: 0 16px;
  }

  .about-photo {
    width: 160px;
    height: 160px;
  }

  .about-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-item {
    width: 100%;
    padding: 16px;
  }

  .case-list {
    padding: 0 16px;
  }

  .case {
    padding: 24px 20px;
  }

  .process-step {
    margin: 0 16px;
  }

  .process-step .step-header {
    padding: 16px;
  }

  .process-step .step-details {
    padding: 0 16px 16px;
  }

  .excursion-form {
    margin: 0 16px;
    padding: 24px 20px;
  }

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

  .excursion-form input,
  .excursion-form textarea {
    padding: 12px 12px 12px 40px;
    font-size: 0.95rem;
  }

  .footer-content {
    padding: 0 16px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, #181c23 0%, rgba(24,28,35,0.85) 30%, rgba(24,28,35,0.0) 65%);
  }
}

@media (max-width: 480px) {
  .hero-glass {
    padding: 24px 16px;
  }

  .hero h1 {
    font-size: 1.8rem;  
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    padding: 14px 28px;
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .about-photo {
    width: 140px;
    height: 140px;
  }

  .stat-item {
    padding: 12px;
  }

  .stat-num {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .case {
    padding: 20px 16px;
  }

  .case-icon {
    font-size: 3rem;
    margin-bottom: 24px;
  }

  .case-icon img {
    width: 60px;
    height: 60px;
  }

  .case b {
    font-size: 1.1rem;
  }

  .case li {
    font-size: 0.95rem;
  }

  .process-step .step-title {
    font-size: 1.1rem;
  }

  .process-step .step-details {
    font-size: 0.95rem;
  }

  .excursion-form {
    padding: 20px 16px;
  }

  .founder-card {
    padding: 16px;
  }

  .founder-photo {
    width: 50px;
    height: 50px;
  }

  .founder-info {
    font-size: 0.95rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }

  .footer-section p {
    font-size: 0.9rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Make specialization text white in dark theme */
body:not(.light-theme) .directions-title,
body:not(.light-theme) .specialization-list li {
  color: #f5f6fa !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

body.light-theme .directions-title,
body.light-theme .specialization-list li {
  color: var(--primary-color);
}

/* Make specialization text white in dark theme */
.about ul li,
.about ul li a,
.about p a,
body:not(.light-theme) a.teal-text,
body:not(.light-theme) span.teal-text,
body:not(.light-theme) p.teal-text {
  color: #f5f6fa;
}

body.light-theme .about ul li,
body.light-theme .about ul li a,
body.light-theme .about p a,
body.light-theme a.teal-text,
body.light-theme span.teal-text,
body.light-theme p.teal-text {
  color: var(--primary-color);
  text-decoration: none;
}

/* Remove underlines from all button links */
a button, 
a.cta, 
button a,
a:has(button) {
  text-decoration: none;
}

@media (max-width: 700px) {
  .hero-glass {
    padding: 24px 8px 32px 8px !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 16px 0 #0002 !important;
    margin: 0 4px !important;
  }
  .hero-glass h1 {
    font-size: 1.35rem !important;
    line-height: 1.15 !important;
    margin-bottom: 18px !important;
    word-break: break-word;
    font-weight: 800 !important;
    padding: 0 2px;
  }
  .hero-glass p {
    font-size: 1rem !important;
    margin-bottom: 16px !important;
    padding: 0 2px;
  }
}
