:root {
  --bg: rgba(7, 16, 45, 0.85);
  --surface: rgba(255, 255, 255, 0.14);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --accent: #7aa4ff;
  --accent-soft: rgba(122, 164, 255, 0.18);
  --text: #eff3ff;
  --text-muted: rgba(238, 243, 255, 0.78);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -1;
  display: none;
  filter: brightness(0.75);
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('background-image.png.jpg') center/cover fixed no-repeat;
  color: var(--text);
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
}

body.video-active .container,
body.video-active .site-header,
body.video-active .site-footer,
body.video-active .modal {
  filter: blur(10px);
  pointer-events: none;
}

body.video-active #submitVideoPopup,
body.video-active #submitVideoPopup .modal-content {
  filter: none;
  pointer-events: auto;
}

a {
  color: inherit;
  text-decoration: none;
}


button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: transform 0.3s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.brand span {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--transition);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.hero {
  padding: 100px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

.lead {
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.unlock-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}

.btn.disabled,
.btn[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(238, 243, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
  pointer-events: none;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.subscription-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.price-btn {
  flex: 1 1 100px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.price-btn:hover {
  background: rgba(122, 164, 255, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

#submitImagePopup .modal-content,
#submitVideoPopup .modal-content {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

#submitImagePopup .subscription-buttons,
#submitVideoPopup .subscription-buttons {
  width: 100%;
  justify-content: center;
}

#submitImagePopup .price-btn {
  min-width: 120px;
}

#submitVideoPopup video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border-radius: 0;
}

#submitVideoPopup .modal-content {
  padding: 0;
  max-width: 100vw;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

.hero-panel {
  display: grid;
  gap: 20px;
  padding: 32px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-panel p,
.hero-panel ul {
  color: var(--text-muted);
}

.hero-panel ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 12px;
}

.section {
  padding: 80px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.section-heading::before {
  content: '';
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.section-heading h2 {
  font-size: 1.85rem;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.team-card {
  background: rgba(0, 0, 0, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.card {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.project-card {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px;
}

.project-card h4 {
  margin-bottom: 14px;
}

.project-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
}

.contact-card,
.contact-info {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 32px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.contact-card button {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
}

.site-footer {
  padding: 36px 0 60px;
  color: var(--text-muted);
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.footer-section {
  text-align: center;
}

.footer-section h4 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-section a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}

.hidden-section {
  display: none;
}

.subscription-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}


/* Modal Styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

#loginModal .modal-content {
  background-color: rgba(9, 18, 39, 0.65);
  backdrop-filter: blur(10px);
}

.modal-content {
  background-color: rgba(9, 18, 39, 0.95);
  border: none;
  border-radius: 28px;
  padding: 20px;
  width: min(95%, 900px);
  max-width: 900px;
}

#subscriptionPopupImage {
  width: 90%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.popup-message {
  margin-top: 20px;
  color: var(--text);
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.toast-popup {
  display: none;
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 1100;
  opacity: 0;
  transition: opacity var(--transition);
}

.toast-popup.show {
  display: block;
  opacity: 1;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-content h2 {
  margin-bottom: 28px;
  font-size: 1.8rem;
  color: var(--text);
}

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

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1rem;
  transition: all var(--transition);
}

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

.form-group input[readonly] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-group input[readonly]:focus {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
  resize: vertical;
}

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

.btn-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition);
  font-size: 1rem;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* Instagram Logo */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.instagram-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  transition: all var(--transition);
}

.instagram-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px);
}

.instagram-link svg {
  width: 24px;
  height: 24px;
}

/* Email Info Display */
.email-info {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.email-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.email-info strong {
  color: var(--text);
  font-weight: 600;
}

/* Policy Group */
.policy-group {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-muted);
}

.policy-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.policy-group input[type="checkbox"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.policy-group span {
  user-select: none;
}

/* Google Sign-In Divider */
.form-divider {
  text-align: center;
  margin: 24px 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.form-divider::before {
  left: 0;
}

.form-divider::after {
  right: 0;
}

/* Google Sign-In Button Styling */
.g_id_signin {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

#g_id_onload {
  width: 100%;
}

/* Override Google's default button styling */
div[role="button"] {
  width: 100% !important;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.35);
    flex-direction: column;
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
