/* Modern Design Inspired by Addverb.ai */

:root {
  --primary-gradient: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  --dark-bg: #000000;
  --card-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #999999;
  --accent: #ffffff;
  --accent-hover: #f0f0f0;
  --border-radius: 24px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.navbar {
  padding: 5px 0;
}

.navbar-brand img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  transition: var(--transition);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: var(--text-primary) !important;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0 !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: var(--transition);
}

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

.dark_btn {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 12px 32px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  border: none !important;
}

.dark_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  background: #f0f0f0 !important;
}

/* Hero Section */
.video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#background-video {
  position: absolute;
  top: 0;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.4);
}

.video-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.8) 100%);
}

.video-container .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
}

.sm_text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: -100px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.slog {
  display: block;
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  letter-spacing: -2px;
}

/* About Section */
.about_section {
  padding: 120px 0;
  background: var(--dark-bg);
}

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

.title_badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section_title h2 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about_text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
}

.abtImg {
  padding: 60px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.abtImg:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.logo_big {
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

/* Contact Section */
.contact_section {
  padding: 80px 0 40px;
  background: var(--dark-bg);
}

.contact_section h2 span {
  display: inline-block;
  animation: wave 1s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-20deg); }
}

/* Form Section */
.contact_form {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.contact_inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.form-control {
  width: 100%;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

select.form-control {
  cursor: pointer;
}

/* Dropdown Checkbox */
.dropdown-checkbox {
  position: relative;
}

.dropdown-toggle {
  width: 100%;
  text-align: left;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-checkbox-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-top: 8px;
  padding: 12px;
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}

.dropdown-checkbox-content.show {
  display: block;
}

.dropdown-checkbox-content label {
  display: block;
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 400;
}

.dropdown-checkbox-content label:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dropdown-checkbox-content input[type="checkbox"] {
  margin-right: 12px;
}

/* Button */
.puprple_btn {
  background: #ffffff;
  color: #000000;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.puprple_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  background: #f0f0f0;
}

.puprple_btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn_block {
  display: inline-block;
}

.btn_bottom {
  display: none;
}

/* Footer */
footer {
  background: var(--card-bg);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo_side .logo img {
  height: 120px;
  margin-bottom: 40px;
}

.news_letter h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.news_letter p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.news_letter .form-group {
  display: flex;
  position: relative;
}

.news_letter input {
  flex: 1;
  padding-right: 55px;
  border-radius: 12px;
}

.news_letter button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news_letter button i {
  color: #000000;
  font-size: 18px;
}

.news_letter button:hover {
  background: #f0f0f0;
  transform: translateY(-50%) scale(1.05);
}

.news_letter .note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.contact_info {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.contact_info li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.contact_info li a:hover {
  color: #ffffff;
}

.social_media {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.social_media li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-primary);
  transition: var(--transition);
  text-decoration: none;
}

.social_media li a:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
}

.download_side h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.app_btn {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.app_btn li a {
  display: block;
  transition: var(--transition);
}

.app_btn li a:hover {
  transform: translateY(-3px);
}

.app_btn img {
  height: 50px;
}

.footer_bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copy_text p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Go Top Button */
.go_top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ffffff;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.go_top.active {
  opacity: 1;
  visibility: visible;
}

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

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    gap: 20px;
    margin-top: 20px;
  }
  
  .slog {
    font-size: 48px;
  }
  
  .section_title h2 {
    font-size: 36px;
  }
  
  .about_section {
    padding: 80px 0;
  }
  
  .contact_form {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 0 20px;
  }
  
  .video-container .content {
    padding: 0 20px;
  }
  
  .slog {
    font-size: 36px;
  }
  
  .section_title h2 {
    font-size: 28px;
  }
  
  .about_text {
    font-size: 16px;
  }
  
  footer {
    padding: 60px 0 30px;
  }
  
  .app_btn {
    flex-direction: column;
  }

  .contact_form {
    padding: 60px 0;
  }

  .contact_inner .container {
    padding: 0 20px;
  }

  .form-card {
    padding: 40px 24px;
    border-radius: 20px;
    max-width: 100%;
  }

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

  .form-control {
    padding: 16px 20px;
    font-size: 15px;
  }

  .puprple_btn,
  button.puprple_btn {
    padding: 16px 32px !important;
    font-size: 14px !important;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .btn_block {
    width: 100%;
    display: block;
    text-align: center;
  }

  .btn-text {
    font-size: 14px;
  }

  .btn-icon {
    font-size: 16px !important;
    margin-left: 8px;
  }

  .success-modal-content {
    padding: 40px 30px;
    margin: 0 20px;
  }

  .success-modal-content h2 {
    font-size: 24px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }

  .close-modal-btn {
    padding: 14px 40px;
    font-size: 14px;
    width: 100%;
  }

  /* Ensure proper column stacking on mobile */
  .contact_form .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Center button container on mobile */
  .contact_form .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact_form .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .form-card {
    padding: 30px 20px;
  }

  .section_title h2 {
    font-size: 24px;
  }

  .section_title p {
    font-size: 14px;
  }

  .title_badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .form-control {
    padding: 14px 18px;
    font-size: 14px;
  }

  .puprple_btn,
  button.puprple_btn {
    padding: 14px 24px !important;
    font-size: 13px !important;
    white-space: nowrap;
    letter-spacing: 0.5px !important;
  }

  .btn-text {
    font-size: 13px;
  }

  .btn-icon {
    font-size: 14px !important;
    margin-left: 6px;
  }
}

@media (max-width: 360px) {
  .puprple_btn,
  button.puprple_btn {
    padding: 12px 20px !important;
    font-size: 12px !important;
    letter-spacing: 0.3px !important;
  }

  .btn-text {
    font-size: 12px;
  }

  .btn-icon {
    font-size: 13px !important;
    margin-left: 4px;
  }
}

/* Form Card Design */
.form-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  max-width: 1200px;
  margin: 0 auto;
}

.form-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Form Container */
.contact_inner .container {
  max-width: 1400px;
}

/* Enhanced Button Styles */
.puprple_btn,
button.puprple_btn,
.btn.puprple_btn {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 18px 60px !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3) !important;
  transform: none !important;
}

.puprple_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  transition: left 0.5s;
  z-index: 1;
}

.puprple_btn:hover::before,
button.puprple_btn:hover::before {
  left: 100%;
}

.puprple_btn:hover,
button.puprple_btn:hover,
.btn.puprple_btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4) !important;
  background: #f8f8f8 !important;
  color: #000000 !important;
}

.puprple_btn:active,
button.puprple_btn:active {
  transform: translateY(-1px) scale(0.98) !important;
}

.puprple_btn:disabled,
button.puprple_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-text,
.puprple_btn .btn-text,
button.puprple_btn .btn-text {
  color: #000000 !important;
  font-weight: 800 !important;
  position: relative;
  z-index: 2;
}

.btn-icon,
.puprple_btn .btn-icon,
button.puprple_btn .btn-icon {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #000000 !important;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.puprple_btn:hover .btn-icon,
button.puprple_btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-modal.show {
  display: flex;
  opacity: 1;
}

.success-modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 60px 50px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
  transform: scale(1);
}

.success-icon {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
  animation: successPop 0.6s ease-out;
}

.success-icon svg {
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-modal-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.success-modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.success-detail {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}

.close-modal-btn {
  background: #ffffff;
  color: #000000;
  padding: 16px 48px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.close-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
  background: #f0f0f0;
}

/* Enhanced Form Input Styles */
.form-control {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
  font-weight: 400;
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Role Selector Enhancement */
#user_role {
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

#user_role:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Scroll padding to account for fixed header */
#join {
  scroll-margin-top: 100px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f0f0f0;
}
