:root {
  --bg-dark: #121212;
  --neon-green: #ccff00;
  --white: #ffffff;
  --border-color: #333;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  font-family: "Space Grotesk", sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

/* --- TİPOGRAFİK LOGO --- */
.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.typo-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 0.8;
}
.main-text {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  transform: skewX(-10deg);
}
.sub-text {
  font-size: 1rem;
  color: var(--neon-green);
  font-weight: 700;
  letter-spacing: 6px;
  margin-left: 5px;
  text-transform: uppercase;
}
.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--neon-green);
  box-shadow: 0 0 15px var(--neon-green);
  animation: pulseLogo 2s infinite;
}
@keyframes pulseLogo {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* --- HEADER & MAP --- */
.mission-control {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 90vh;
}
.map-visualization {
  background: #222;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  z-index: 1;
}
.command-panel {
  padding: 3rem;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* INPUT & UI */
.input-group {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  padding: 15px;
  background: #181818;
  transition: 0.3s;
  border-radius: 4px;
}
.input-group:hover,
.input-group:focus-within {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
  transform: translateX(5px);
}
.input-group label {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.input-group input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  font-size: 1.1rem;
  outline: none;
}

.result-display {
  display: flex;
  justify-content: space-between;
  background: #222;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid #333;
}
.info-item .label {
  font-size: 0.8rem;
  color: #888;
}
.info-item .value {
  font-size: 1.5rem;
  color: var(--neon-green);
  font-weight: bold;
}

.cta-button {
  background: var(--white);
  color: #000;
  padding: 1.2rem;
  text-decoration: none;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  transition: 0.3s;
}
.cta-button:hover {
  background: var(--neon-green);
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--neon-green);
}

/* --- SECTIONS --- */
.manifesto-section {
  padding: 5rem 10%;
  background: #000;
  border-top: 1px solid #333;
}
.manifesto-section h2 {
  font-size: 3rem;
  margin: 0;
}
.manifesto-section p {
  font-size: 1.2rem;
  color: #888;
  max-width: 700px;
  margin-top: 1rem;
}

.urban-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 4rem;
  background: #151515;
}
.grid-box {
  background: #222;
  padding: 2rem;
  border: 1px solid #333;
  transition: 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.grid-box h3 i {
  color: var(--neon-green);
  margin-right: 10px;
}
.box-wide {
  grid-column: span 2;
}
.box-tall {
  grid-row: span 2;
  background: #2a2a2a;
}
.highlight-bg {
  background: #333;
}
.neon-hover:hover {
  border-color: var(--neon-green);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(204, 255, 0, 0.15);
}
.clickable {
  cursor: pointer;
}

/* --- DRAWER & COOKIE --- */
.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100vh;
  background: #0d0d0d;
  border-left: 2px solid var(--neon-green);
  z-index: 10000;
  transform: translateX(100%);
  transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 4rem;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
}
.drawer-panel.open {
  transform: translateX(0);
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.rich-form input,
.rich-form select,
.rich-form textarea {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 15px;
  margin-bottom: 15px;
  font-family: inherit;
}
.full-width {
  width: 100%;
  border: none;
  cursor: pointer;
}

.cookie-terminal {
  position: fixed;
  bottom: -200px;
  right: 2rem;
  width: 320px;
  background: #000;
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  z-index: 9999;
  transition: bottom 0.8s ease-out;
  padding: 1.5rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}
.cookie-terminal.active {
  bottom: 2rem;
}
.btn-solid {
  background: var(--neon-green);
  color: #000;
  padding: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

/* --- FOOTER & RESPONSIVE --- */
.mega-footer {
  background: #080808;
  padding: 4rem 2rem 1rem 2rem;
  border-top: 2px solid var(--neon-green);
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--neon-green);
  padding-left: 10px;
}
.footer-col ul li a {
  color: #999;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: 0.3s;
}
.footer-col ul li a:hover {
  color: var(--neon-green);
  padding-left: 5px;
}
.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: var(--neon-green);
}
.footer-bottom {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #222;
  color: #555;
}
.comms-dock {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.dock-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  position: relative;
}
.phone-btn {
  background: #fff;
  color: #000;
}
.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

@media (max-width: 900px) {
  .mission-control {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column-reverse;
  }
  .map-visualization {
    height: 300px;
    width: 100%;
    clip-path: none;
  }
  .urban-grid {
    grid-template-columns: 1fr;
  }
  .box-wide,
  .box-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .drawer-panel {
    width: 100%;
  }
  .main-text {
    font-size: 2.5rem;
  }
}

/* Login Modal Styles */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.login-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-modal {
  background: #141414;
  border: 1px solid #333;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #666;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.3s;
}

.login-modal .modal-close:hover {
  color: #fff;
}

.login-modal .modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-modal .modal-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.8;
  margin-bottom: 1rem;
}

.login-modal .modal-logo .main-text {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  transform: skewX(-10deg);
}

.login-modal .modal-logo .sub-text {
  font-size: 0.6rem;
  color: var(--neon-green);
  font-weight: 700;
  letter-spacing: 3px;
}

.login-modal .modal-header h3 {
  color: #888;
  font-size: 1rem;
  font-weight: 400;
}

.login-modal .modal-body .form-group {
  margin-bottom: 1rem;
}

.login-modal .modal-body .form-group label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.login-modal .modal-input {
  width: 100%;
  padding: 1rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
  box-sizing: border-box;
}

.login-modal .modal-input:focus {
  outline: none;
  border-color: var(--neon-green);
}

.login-modal .modal-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
}

.login-modal .modal-btn.primary {
  background: var(--neon-green);
  color: #000;
}

.login-modal .modal-btn.primary:hover {
  background: #fff;
}

.login-modal .modal-btn.google {
  background: #fff;
  color: #333;
}

.login-modal .modal-btn.google:hover {
  background: #f0f0f0;
}

.login-modal .modal-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #555;
}

.login-modal .modal-divider::before,
.login-modal .modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #333;
}

.login-modal .modal-divider span {
  padding: 0 1rem;
  font-size: 0.85rem;
}

.login-modal .modal-footer-text {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

.login-modal .modal-footer-text a {
  color: var(--neon-green);
  text-decoration: none;
}

.login-modal .modal-footer-text a:hover {
  text-decoration: underline;
}

.login-modal .modal-error {
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  padding: 0.8rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.login-modal .modal-error.active {
  display: block;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 1.5rem;
}

.modal-tab-btn {
    flex: 1;
    padding: 0.8rem;
    background: none;
    border: none;
    color: #666;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-tab-btn.active {
    color: var(--neon-green);
}

.modal-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-green);
}

.modal-tab-btn:hover:not(.active) {
    color: #fff;
}

.modal-panel {
    display: none;
}

.modal-panel.active {
    display: block;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-input-wrapper .country-code {
    padding: 1rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 10px;
    color: #888;
    font-weight: 600;
}

.phone-input-wrapper .modal-input {
    flex: 1;
}

/* OTP Inputs */
.otp-info {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.otp-info span {
    color: var(--neon-green);
    font-weight: 600;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    transition: 0.3s;
}

.otp-input:focus {
    outline: none;
    border-color: var(--neon-green);
    background: #222;
}

.modal-btn.secondary {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    margin-top: 0.8rem;
}

.modal-btn.secondary:hover {
    border-color: #fff;
    color: #fff;
}

/* reCAPTCHA Container */
#recaptcha-container-modal {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    min-height: 78px;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 2rem 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.badge-section {
    text-align: center;
}

.badge-title {
    display: block;
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.payment-icons,
.security-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.payment-icons img,
.security-icons img {
    height: 28px;
    filter: grayscale(100%) brightness(0.8);
    transition: 0.3s;
    opacity: 0.7;
}

.payment-icons img:hover,
.security-icons img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Responsive Footer Badges */
@media (max-width: 600px) {
    .footer-badges {
        gap: 30px;
    }
    
    .payment-icons img,
    .security-icons img {
        height: 22px;
    }
}
