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

:root {
  --color-bg: #1a0a0a;
  --color-bg-secondary: #2a0f0f;
  --color-text: #ffffff;
  --color-text-secondary: #d1a1a1;
  --color-accent: #ff3b30;
  --color-accent-hover: #ff5c52;
  --color-accent-light: #ff6b6b;
  --color-card: #2a0f0f;
  --color-card-hover: #3a1f1f;
  --color-border: #4a2f2f;
  --color-red: #ff3b30;
  --color-red-dark: #d70015;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  background-image: url('/site.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: overlay;
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 10, 10, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

@media (min-width: 768px) {
  .nav-container {
    padding: 0 40px;
    height: 52px;
  }
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: none;
  gap: 30px;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: var(--color-text);
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
  color: var(--color-text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
  transition: opacity 0.3s ease;
}

.nav-dropdown-toggle:hover {
  opacity: 0.7;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: var(--color-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 14px;
  transition: background 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
  display: block;
}

.nav-toggle span.open:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle span.open:nth-child(2) {
  opacity: 0;
}

.nav-toggle span.open:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: rgba(26, 10, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;
  }
}

.nav-mobile-link {
  padding: 15px 0;
  color: var(--color-text);
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-link:last-child {
  border-bottom: none;
}

.nav-mobile-dropdown {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-dropdown-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-mobile-dropdown-menu {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-mobile-sublink {
  padding-left: 40px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  background: rgba(26, 10, 10, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-with-background {
  position: relative;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/site.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

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

.hero-title {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 80px;
  }
}

.hero-subtitle {
  font-size: 21px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 28px;
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
  align-items: center;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: #000000;
  color: var(--color-text);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon-link:hover {
  background: #1a1a1a;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 24px rgba(255, 59, 48, 0.4);
  border-color: var(--color-red);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-red);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 59, 48, 0.5);
  color: white;
}

.btn-secondary {
  background: rgba(255, 59, 48, 0.2);
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn-secondary:hover {
  background: rgba(255, 59, 48, 0.3);
  color: var(--color-red);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 59, 48, 0.3);
}

.btn-large {
  padding: 18px 36px;
  font-size: 19px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 64px;
    letter-spacing: -1.5px;
  }
}

.section-header p {
  font-size: 21px;
  color: var(--color-text-secondary);
  letter-spacing: -0.3px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 45px 35px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(255, 59, 48, 0.3);
  border-color: rgba(255, 59, 48, 0.4);
  background: var(--color-card-hover);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  letter-spacing: -0.1px;
  margin-bottom: 20px;
}

.feature-card .btn {
  margin-top: 10px;
}

.feature-card-large {
  background: var(--color-card);
  border-radius: 20px;
  padding: 60px 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 40px;
}

.feature-card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(255, 59, 48, 0.15);
  border-color: rgba(255, 59, 48, 0.2);
  background: var(--color-card-hover);
}

.feature-card-large h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
  color: var(--color-text);
}

.feature-card-large p {
  font-size: 19px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  letter-spacing: -0.2px;
}

/* Animation Icons */
.animation-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 59, 48, 0.15);
  border: 2px solid rgba(255, 59, 48, 0.3);
  transition: all 0.3s ease;
}

.animation-icon:hover {
  background: rgba(255, 59, 48, 0.25);
  border-color: rgba(255, 59, 48, 0.5);
}

/* Page Hero */
.page-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 64px;
  }
}

.page-hero-subtitle {
  font-size: 21px;
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .page-hero-subtitle {
    font-size: 28px;
  }
}

/* Page Content */
.page-content {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.content-block {
  margin-bottom: 60px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-block h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  .content-block h2 {
    font-size: 56px;
  }
}

.content-block p {
  font-size: 19px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.cta-section {
  text-align: center;
  padding: 80px 20px;
  margin-top: 80px;
  background: var(--color-card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 56px;
  }
}

.cta-section p {
  font-size: 21px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background: var(--color-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  margin-top: 100px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.footer-section h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-secondary);
}

.footer-section p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.footer-section a {
  display: block;
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* CTA Hero Section */
.cta-hero {
  padding: 100px 0;
  background: var(--color-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

/* Partners Section */
.partners-section {
  padding: 80px 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  z-index: 1;
}

.partners-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-hero-content h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .cta-hero-content h2 {
    font-size: 64px;
  }
}

.cta-hero-content p {
  font-size: 21px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-card);
  padding: 40px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-secondary);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-item {
  text-align: center;
  padding: 30px;
  background: var(--color-card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 17px;
  color: var(--color-text-secondary);
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--color-card);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.legal-content li {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Responsive YouTube Videos */
@media (max-width: 768px) {
  .youtube-video-container {
    padding-bottom: 56.25% !important;
  }
}

/* Cal.com Widget */
.cal-widget {
  margin-top: 40px;
  min-height: 600px;
}
