/* Global Styles */
:root {
  --primary-bg: #000000;
  --primary-accent: #FF0000;
  --secondary-accent: #4361EE;
  --text-light: #FFFFFF;
  --text-dark: #1a1a1a;
  --border-color: #333333;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

a {
  color: var(--secondary-accent);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* ===== STICKY HEADER ===== */
.sticky-header {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

.logo-link:hover {
  color: var(--primary-accent);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.brandkit {
  color: var(--primary-accent);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 2.5rem;
  flex: 0;
  justify-content: center;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  transition: var(--transition);
}

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

/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  flex: 0 1 200px;
  max-width: 200px;
}

.search-input {
  background: transparent;
  border: none;
  color: var(--text-light);
  width: 150px;
  outline: none;
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--primary-accent);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* Logout button - shown/hidden by JavaScript based on auth state */
.header-actions .btn-logout,
.header-actions .btn-logout.header-logout {
  display: inline-block;
}

/* Login/Signup buttons - shown by default on desktop */
.header-actions .btn-login,
.header-actions .btn-signup {
  display: inline-block !important;
  margin: 0;
}

/* Hide the old language select dropdown - use Google Translate overlay instead */
.language-select {
  display: none !important;
}

/* Hide Google Translate container from the desktop header (will be moved to sticky widget) */
.header-actions #google_translate_element {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Sticky Google Translate floating widget */
#googleTranslateWidget {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  pointer-events: none;
}

.gt-widget-toggle {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 0, 0, 0.3);
  background: linear-gradient(145deg, rgba(102, 0, 0, 0.8), rgba(140, 0, 0, 0.8));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.gt-widget-toggle:hover {
  transform: scale(1.1);
  background: linear-gradient(145deg, rgba(140, 0, 0, 0.9), rgba(180, 0, 0, 0.9));
  border-color: rgba(255, 0, 0, 0.6);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.gt-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.gt-icon-text {
  display: none;
  font-size: 1.4rem;
  line-height: 24px;
  opacity: 0.95;
}

.gt-widget-toggle:hover .gt-icon {
  opacity: 1;
}

.gt-widget-panel {
  display: none;
  position: absolute;
  bottom: 58px;
  left: 0;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(35, 25, 25, 0.98) 100%);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1.2rem;
  min-width: 140px;
  max-width: 140px;
  width: 140px;
  color: #f9f9f9;
  opacity: 0;
  transform: translateY(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 0, 0, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  overflow: hidden !important;
}

.gt-widget-panel.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.gt-widget-hint {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: #b0b0e0;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Always restyle Google translate button in translation panel */
.goog-te-combo {
  width: auto !important;
  min-width: 180px !important;
  max-width: 280px !important;
  margin-top: 0.2rem !important;
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
  border: 1.5px solid rgba(255, 0, 0, 0.5) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  padding: 0.8rem 1rem !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2) !important;
  display: block !important;
}

/* Main page container should not be disturbed by the translate widget */
body .goog-te-gadget {
  display: none !important;
}

/* Add small style for the module if powered by text appears */
.goog-te-banner-frame.skiptranslate, .goog-te-menu-frame.skiptranslate {
  max-height: 0 !important;
  visibility: hidden !important;
}

/* Style custom translate content area */
#google_translate_element {
  width: 100% !important;
  min-width: 140px !important;
  max-width: 140px !important;
  display: block !important;
  overflow: hidden !important;
}

#google_translate_element .goog-te-gadget {
  display: block !important;
  width: 100% !important;
  max-width: 140px !important;
}

#google_translate_element .goog-te-combo {
  width: 140px !important;
  max-width: 140px !important;
  min-width: 140px !important;
  box-sizing: border-box !important;
}

/* Style for future heavy styling direction */
.gt-widget-panel .goog-te-combo {
  font-size: 14px !important;
  border: 1.5px solid rgba(255, 0, 0, 0.6) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
  padding: 0.85rem 1.1rem !important;
  width: 95% !important;
  max-width: 280px !important;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.05) !important;
}

.gt-widget-panel .goog-te-combo:hover {
  border-color: rgba(255, 0, 0, 0.8) !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.08) !important;
}

.gt-widget-panel .goog-te-combo:focus {
  outline: none !important;
  border-color: #FF0000 !important;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
}

/* More robust handling of floating translate banner – hide by default */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

/* Prevent the default Google Translate toolbar from covering page content */
body .goog-te-gadget-simple {
  display: block !important;
}

/* Style for small touch targets in the panel */
#google_translate_widget .goog-te-menu-value {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
  color: #ffffff !important;
  padding: 0.7rem 1rem !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid rgba(255, 0, 0, 0.5) !important;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.25) !important;
}

/* Styling for dropdown options in language selector */
.goog-te-combo option {
  background: #000000 !important;
  color: #FFFFFF !important;
  padding: 0.6rem !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
  font-weight: 600 !important;
}

.goog-te-combo option:hover {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
}

.goog-te-combo option:checked {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
}

/* Desktop header language selector styling */
.header-actions .goog-te-combo {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%) !important;
  border: 2px solid rgba(255, 0, 0, 0.4) !important;
  color: #ffffff !important;
  padding: 0.7rem 1rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  min-width: 90px !important;
  max-width: 130px !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2) !important;
}

.header-actions .goog-te-combo:hover {
  border-color: rgba(255, 0, 0, 0.7) !important;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35) !important;
  transform: translateY(-2px) !important;
}

.header-actions .goog-te-combo option {
  background: #000000 !important;
  color: #ffffff !important;
}

.goog-te-combo:hover {
  border-color: rgba(255, 0, 0, 0.7) !important;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25) !important;
}

.goog-te-combo option {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  color: #e0e0e0 !important;
}

.btn-logout {
  color: var(--primary-accent);
  border: 1px solid var(--primary-accent);
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout:hover {
  background: rgba(255, 0, 0, 0.1);
}

.btn-login {
  color: var(--text-light);
  border: 1px solid var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-login:hover {
  background-color: var(--text-light);
  color: var(--primary-bg);
}

.btn-signup {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 400px;
  z-index: 1000;
  border-radius: 10px;
  overflow: hidden;
  animation: slideDown 0.3s ease;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

/* Ensure any close button inside/related to the mobile menu sits above the panel */
.mobile-menu-close,
.mobile-close,
.mobile-menu .close-btn,
.mobile-menu .close {
  position: relative;
  z-index: 1100;
  cursor: pointer;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive header: ensure search and hamburger fit on one line */
@media (max-width: 900px) {
  .header-container {
    padding: 0.6rem 1rem;
    gap: 0.6rem;
  }
  .logo-img { width: 34px; height: 34px; }
  .brand { font-size: 1rem }
  .desktop-nav { display: none; }
  .hamburger-btn { display: flex; }
  .search-container { flex: 1 1 40%; min-width: 0; max-width: 60%; padding: 0.4rem 0.8rem; }
  .search-input { width: 100%; font-size: 0.9rem; }
  .header-actions { gap: 0.5rem; }
  .header-actions .btn-login, .header-actions .btn-signup { padding: 0.35rem 0.8rem; font-size: 0.85rem; display: none !important; }
  /* logout placed in header on desktop only; hide on mobile */
  .header-actions .btn-logout { display: none !important; }
  .header-logo, .search-container, .header-actions, .hamburger-btn { flex-shrink: 1; }
  .brand { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Ensure logout in mobile menu is visible and styled like other mobile auth buttons */
.mobile-auth .btn-logout {
  display: block;
  width: 100%;
  text-align: center;
}

/* Very small devices: scale down elements and allow dynamic shrinking */
@media (max-width: 420px) {
  .header-container { padding: 0.45rem 0.75rem; gap: 0.4rem; }
  .logo-img { width: 30px; height: 30px; }
  .brand { font-size: 0.92rem }
  .search-container { max-width: 50%; flex: 1 1 45%; }
  .search-input { font-size: 0.78rem; }
  .header-actions .btn-login { display: none; }
  .header-actions .btn-signup { display: none; }
  /* ensure items never wrap to next line and allow shrinking */
  .header-container { flex-wrap: nowrap; overflow: hidden; }
  .header-logo { margin-right: 6px; }
}

.mobile-nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  margin-left: 20px;
}

.mobile-nav-link:hover {
  background-color: rgba(255, 0, 0, 0.1);
  color: var(--primary-accent);
}

.mobile-auth {
  padding: 1rem;
  display: flex;
  gap: 1rem;
}

.mobile-auth .btn-login,
.mobile-auth .btn-signup {
  flex: 1;
  text-align: center;
}

/* Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  padding: 2rem;
}

.search-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-content {
  background-color: var(--primary-bg);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.search-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.search-result-item {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid var(--primary-accent);
}

.search-result-item:hover {
  background-color: rgba(255, 0, 0, 0.1);
}

/* ===== MAIN CONTENT ===== */

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
  border: 2px solid var(--secondary-accent);
  color: var(--secondary-accent);
  background: transparent;
}

.btn-secondary:hover {
  background-color: var(--secondary-accent);
  color: var(--text-light);
}

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

/* ===== HERO SECTION ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 2rem;
  min-height: 85vh;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(67, 97, 238, 0.05) 100%);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.85;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

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

.stat {
  text-align: left;
}

.stat h3 {
  color: var(--primary-accent);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  width: min(400px, 100%);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(255, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make the hero image responsive and match mobile styling on desktop */
.inter {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  border: 2px solid var(--primary-accent);
}

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

/* ===== SECTIONS STYLING ===== */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Services Section */
.services {
  padding: 3rem 1rem;
  margin: 0;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 0, 0, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  height: 80px;
  display: flex;
  align-items: center;
}

.service-card h3 {
  color: var(--primary-accent);
  font-size: 1.5rem;
}

.service-card p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-link {
  color: var(--secondary-accent);
  font-weight: 600;
  align-self: flex-start;
}

.service-link:hover {
  color: var(--primary-accent);
}

/* Features Section */
.features {
  padding: 6rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  padding: 2rem;
  background: rgba(255, 0, 0, 0.05);
  border-left: 4px solid var(--primary-accent);
  border-radius: 10px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(67, 97, 238, 0.1);
  border-left-color: var(--secondary-accent);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-accent);
  margin-bottom: 1rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-accent);
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Pricing Section */
.pricing {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(67, 97, 238, 0.05) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 0, 0, 0.03) 100%);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary-accent);
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2);
}

.pricing-card:hover {
  border-color: var(--secondary-accent);
  box-shadow: 0 15px 40px rgba(67, 97, 238, 0.2);
}

/* Two column grid helper for contact and similar pages */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive: stack columns on smaller screens and center content */
@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  .contact-section { padding: 3rem 1rem; }
  .contact-form { width: 100%; }
}

.badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-card h3 {
  color: var(--primary-accent);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  color: var(--secondary-accent);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price span {
  font-size: 1rem;
  opacity: 0.7;
}

.plan-description {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.features-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list li:last-child {
  border-bottom: none;
}

/* Portfolio Section */
.portfolio-preview {
  padding: 6rem 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.portfolio-item:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
  transform: translateY(-5px);
}

.portfolio-image {
  height: 250px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image {
  filter: brightness(1.2);
}

.portfolio-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--primary-accent);
}

.portfolio-item p {
  padding: 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.view-link {
  display: inline-block;
  padding: 1rem 1.5rem;
  color: var(--secondary-accent);
  font-weight: 600;
  transition: var(--transition);
}

.view-link:hover {
  color: var(--primary-accent);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(255, 0, 0, 0.05) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 0, 0, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 2rem;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.15);
}

.stars {
  color: var(--primary-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-author strong {
  color: var(--primary-accent);
}

.testimonial-author span {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(67, 97, 238, 0.1) 100%);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  margin: 3rem 2rem;
  text-align: center;
}

.cta-section h2 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq {
  padding: 6rem 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 0, 0, 0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(255, 0, 0, 0.05);
  color: var(--primary-accent);
}

.faq-icon {
  color: var(--primary-accent);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(255, 0, 0, 0.05) 100%);
  border-top: 2px solid var(--border-color);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

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

.footer-column h4 {
  color: var(--primary-accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-light);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

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

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

/* Improve select dropdown appearance (Service Type) */
.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-light) 50%), linear-gradient(135deg, var(--text-light) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 6px), calc(100% - 12px) calc(50% - 6px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

/* Ensure dropdown options match dark theme where possible */
.form-select option {
  background-color: #000000;
  color: var(--text-light);
}

/* Hide native expand arrow on IE/Edge */
.form-select::-ms-expand { display: none; }

/* Hide scrollbars globally (cross-browser) */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
/* Webkit browsers */
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/* Admin / Checkout specific input (improved appearance) */
.admin-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--text-light);
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}
.admin-input:focus { outline:none; border-color: var(--primary-accent); box-shadow: 0 6px 20px rgba(0,0,0,0.6); transform: translateY(-1px); }

/* Blog post styling */
.blog-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.blog-post { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.25rem; transition: var(--transition); }
.blog-post:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.6); border-color: var(--primary-accent); }
.blog-post h3 { color: var(--primary-accent); margin-bottom: 0.5rem; }
.blog-meta { opacity: 0.8; font-size: 0.9rem; margin-bottom: 0.75rem; }
.blog-excerpt { opacity: 0.92; line-height: 1.7; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .header-container {
    padding: 1rem;
    gap: 1rem;
  }

  .desktop-nav {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .inter {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid var(--primary-accent);
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-graphic {
    width: 300px;
    height: 300px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-subtitle.short {
    color: #E63E33 !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .header-logo .brand {
    font-size: 1rem;
  }

  .mobile-menu {
    max-width: none;
    margin: 0 2rem;
    border-radius: 10px;
    top: 70px;
  }

  .hero {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .services {
    padding: 2rem 1rem;
    margin: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-graphic {
    width: 250px;
    height: 250px;
  }

  /* Increase .inter height specifically for mobile views */
  .inter {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
  }

  .services-grid,
  .features-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    margin: 2rem 1rem;
    padding: 3rem 1.5rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }

  .header-container {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
  }

  .logo-img {
    width: 30px;
    height: 30px;
  }

  .header-logo .brand {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .services {
    padding: 1rem 0.8rem;
    margin: 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-graphic {
    width: 200px;
    height: 200px;
  }

  .social-btn .github {
    width: 20px;
    height: 20px;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card,
  .feature-item,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* ===== SECTION FADE-IN ON SCROLL ===== */
section {
  opacity: 1;
  transition: opacity 0ms ease-out;
}

section.visible {
  opacity: 1;
}

/* ===== PAYMENT METHODS SECTION ===== */
.payment-methods-section {
  margin-top: 2rem;
  padding: 2rem 0 0 0;
  border-top: 1px solid var(--border-color);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.payment-methods-grid-compact {
  max-width: 400px;
  gap: 1rem;
}

.payment-method-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  min-height: 120px;
  transition: all 0.3s ease;
}

.payment-method-item-compact {
  min-height: 80px;
  padding: 0.6rem;
}

.payment-method-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-accent);
  transform: translateY(-4px);
}

.payment-method-img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.payment-method-img-compact {
  max-height: 50px;
}

/* ===== RESPONSIVE PAYMENT METHODS ===== */
@media (max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
  }

  .payment-method-item {
    min-height: 100px;
    padding: 0.8rem;
  }

  .payment-method-img {
    max-height: 70px;
  }

  .payment-method-img-compact {
    max-height: 45px;
  }
}

@media (max-width: 480px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .payment-method-item {
    min-height: 100px;
    padding: 1rem;
  }

  .payment-method-img {
    max-height: 70px;
  }

  .payment-method-img-compact {
    max-height: 40px;
  }

  .payment-methods-section h4 {
    font-size: 0.95rem;
  }
}
