:root {
  --primary-color: #3685d8;
  --primary-hover: #2f72bf;
  --text-dark: #0f172a;
  --text-light: #d1d5db;
  --bg-dark: #000;
  --bg-light-start: rgba(245, 247, 248, 0.85);
  --bg-light-end: rgba(230, 235, 238, 0.85);
  --font-primary: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --shadow-color: #004aad;
  --success-color: #22c55e;
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: #fff;
  margin: 0;
  padding: 0;
}

/* ====== NAVBAR (Your Original Design) ====== */
.navbar {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.navbar.hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pill-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-light-start) 0%, var(--bg-light-end) 100%);
  color: var(--text-dark);
  box-shadow: 0 6px 24px var(--shadow-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: bold;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* ====== MOBILE MENU ====== */
.nav-mobile {
  display: flex;
}

.menu-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}

.menu-icon .line {
  width: 1.5rem;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
}

.menu-icon.active .line-1 {
  transform: translateY(0.35rem) rotate(45deg);
}

.menu-icon.active .line-2 {
  opacity: 0;
}

.menu-icon.active .line-3 {
  transform: translateY(-0.35rem) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 1rem;
  left: 50%;
  width: 90%;
  max-width: 400px;
  background: linear-gradient(180deg, rgb(245, 247, 248) 0%, rgb(230, 235, 238) 100%);
  color: var(--text-dark);
  border-radius: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 4rem 2rem 2rem;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -20px);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out, visibility 0s 0.4s;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mobile-menu.mobile-menu-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.close-menu-btn svg {
  width: 100%;
  height: 100%;
  color: var(--text-dark);
}

.mobile-menu a {
  width: 100%;
  text-align: right;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 500;
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1005;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .mobile-menu,
  .menu-backdrop {
    display: none;
  }
}

/* ====== INTERACTIVE HERO SECTION (BLACK) ====== */
.hero-section {
  min-height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Interactive Cursor */
.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(54, 133, 216, 0.2);
  border: 2px solid var(--primary-color);
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s infinite ease-in-out;
}

.particle:nth-child(odd) {
  animation-delay: -2s;
  animation-duration: 8s;
}

.particle:nth-child(3n) {
  animation-delay: -4s;
  animation-duration: 10s;
  background: rgba(255, 255, 255, 0.8);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  50% {
    transform: translateY(-100px) translateX(50px) rotate(180deg);
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }
}

/* Interactive Background Waves */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(0deg, rgba(54, 133, 216, 0.1) 0%, transparent 100%);
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background: linear-gradient(90deg, transparent 0%, rgba(54, 133, 216, 0.1) 25%, rgba(54, 133, 216, 0.2) 50%, rgba(54, 133, 216, 0.1) 75%, transparent 100%);
  animation: wave-move 8s linear infinite;
  border-radius: 50% 50% 0 0;
}

.wave:nth-child(2) {
  height: 80px;
  opacity: 0.7;
  animation-duration: 12s;
  animation-direction: reverse;
}

.wave:nth-child(3) {
  height: 60px;
  opacity: 0.5;
  animation-duration: 16s;
}

@keyframes wave-move {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 10;
  opacity: 0;
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary-color) 50%, #fff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
  position: relative;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: line-glow 2s ease-in-out infinite alternate;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes line-glow {
  0% {
    opacity: 0.5;
    box-shadow: 0 0 5px var(--primary-color);
  }

  100% {
    opacity: 1;
    box-shadow: 0 0 20px var(--primary-color);
  }
}

.hero-content p {
  font-size: 1.4rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1s forwards;
}

/* Interactive CTA Buttons */
.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.cta-btn {
  padding: 1.2rem 2.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cta-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
}

.cta-secondary {
  background: transparent;
  color: var(--primary-color);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.method-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.method-content a:hover {
  text-decoration: underline;
}


.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(54, 133, 216, 0.3);
}

.cta-secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2s forwards;
  cursor: pointer;
}

.scroll-text {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

.scroll-arrow::after {
  content: '↓';
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Mouse Trail Effect */
.mouse-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 9998;
  animation: trail-fade 0.5s ease-out;
}

@keyframes trail-fade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ====== WHITE CONTACT SECTION ====== */
.contact-section {
  background: #fff;
  padding: 6rem 2rem;
  color: var(--text-dark);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
  }
}

/* ====== CONTACT INFO (WHITE BACKGROUND) ====== */
.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  position: relative;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  border-radius: 2px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(54, 133, 216, 0.05), transparent);
  transition: left 0.6s ease;
}

.contact-method:hover::before {
  left: 100%;
}

.contact-method:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(54, 133, 216, 0.15);
}

.method-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.method-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.method-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.method-content {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.copy-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--success-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.copy-indicator.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== CONTACT FORM (WHITE BACKGROUND) ====== */
.contact-form {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.form-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #666;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(54, 133, 216, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

.form-input.valid,
.form-textarea.valid {
  border-color: var(--success-color);
}

.form-input.invalid,
.form-textarea.invalid {
  border-color: var(--error-color);
}

.submit-btn {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(54, 133, 216, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-content {
  opacity: 0.7;
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ====== STATUS MESSAGES ====== */
.status-message {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.status-message.show {
  display: flex;
  animation: slideDown 0.4s ease-out;
}

.status-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-color);
  border: 2px solid rgba(34, 197, 94, 0.2);
}

.status-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 2px solid rgba(239, 68, 68, 0.2);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVE ====== */
/* ====== RESPONSIVE HERO DESIGN ====== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding: 6rem 1rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .particle {
    width: 3px;
    height: 3px;
  }

  .custom-cursor {
    display: none;
  }

  .hero-section {
    cursor: default;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .hero-waves {
    height: 150px;
  }

  .wave {
    height: 80px;
  }

  .wave:nth-child(2) {
    height: 60px;
  }

  .wave:nth-child(3) {
    height: 40px;
  }
}

/* ====== SECTION VISIBILITY ANIMATION ====== */
.contact-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== FOOTER ====== */
.footer {
  background-color: #0f172a;
  color: var(--text-light);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.footer a {
  color: var(--text-light);
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
}
