:root {
  --deep-blue: #132a4c;
  --bright-orange: #f28a63;
  --dark-orange: #d06b47;
  --highlight: #ffd166;
  --bg-light: #fff8f4;
  --text-dark: #2c2c2e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE 10+ */
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  
}

.beta-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 80px;
  height: auto;
  z-index: 999;
  pointer-events: auto;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 550px;
  width: 90%;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  color: var(--text-dark);
  animation: fadeInScale 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 1.8rem;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.2s ease;
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  color: #ff6600; /* Adjust to match your accent */
}

.modal-content h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
  color: var(--deep-blue);
}

.modal-content p {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.feedback-btn {
  background-color: var(--bright-orange);
  color: var(--white);
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.feedback-btn:hover {
  background-color: var(--dark-orange);
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Feedback Section Enhancements */
#feedbackForm {
  animation: fadeIn 0.3s ease;
}

#feedbackForm h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--bright-orange);
}

#feedbackForm textarea {
  width: 100%;
  height: 120px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--bright-orange);
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  resize: vertical;
  margin-bottom: 24px;
  background-color: #fffaf6;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: border 0.3s ease, background 0.3s ease;
}

#feedbackForm textarea:focus {
  border-color: var(--dark-orange);
  outline: none;
  background-color: #fff5ef;
}

.submit-btn {
  background-color: var(--bright-orange);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--dark-orange);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status {
  height: 40px;
  margin: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.overlay-status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.spinner, .checkmark {
  width: 48px;
  height: 48px;
  display: none;
  margin: auto;
}

.spinner {
  border: 4px solid #fff;
  border-top: 4px solid var(--bright-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.checkmark {
  font-size: 3rem;
  color: var(--bright-orange);
  font-weight: bold;
}

@keyframes spin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* Hero */
.hero {
  background: linear-gradient(to right, var(--deep-blue), #1c3d6b);
  color: var(--white);
  padding: 100px 20px 80px;
  position: relative;
  text-align: center;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  overflow: hidden;
  z-index: 10;
}

.hero-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero .logo {
  width: 90px;
  margin: 0 auto 20px;
}

.hero-main {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero .glow {
  color: var(--white);
  text-shadow: 0 0 6px rgba(255,255,255,0.4), 0 0 18px var(--bright-orange);
}

.hero .tagline {
  font-size: 1.25rem;
  color: #dbe1ea;
  margin-bottom: 60px;
}

.cta {
  background-color: var(--bright-orange);
  color: var(--white);
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: background 0.3s ease;
}

.cta:hover {
  background-color: var(--dark-orange);
}

/* Hamburger Icon */
.hamburger-container {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 24px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hamburger-bar {
  height: 4px;
  width: 100%;
  background-color: #fff2e3;
  border-radius: 2px;
}

/* Slide-Out Nav */
.side-nav {
  position: fixed; /* was absolute */
  top: 24px;
  right: -260px;
  width: 220px;
  max-height: 90vh; /* allow scrolling if too tall */
  height: auto;     /* let content define height */
  background: linear-gradient(145deg, #fef7f3, #fff2e3);
  box-shadow: -6px 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px 20px;
  transition: right 0.3s ease;
  z-index: 2000;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  overflow-y: auto; /* enable vertical scroll if needed */
  overflow-x: hidden;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* or space-between */
  height: 100%;
}

.side-nav li {
  width: 100%;
  text-align: left;
}

.side-nav a {
  display: block;
  width: 100%;
  padding: 8px 0;
  font-weight: bold;
  color: var(--dark-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.side-nav a:hover {
  color: var(--bright-orange);
}

/* Active Toggle Class */
.nav-open .side-nav {
  right: 0;
}

.nav-open .hamburger-container {
  transform: translateX(-220px); /* must match .side-nav width */
}


/* Screenshot */
.screenshot {
  text-align: center;
  padding: 60px 20px;
}

.screenshot img {
  max-width: 90%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-showcase-floating {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
  animation: floaty 4s ease-in-out infinite;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.browser-frame {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  max-width: 1100px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.browser-frame:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.hero-slideshow {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  width: 100%;
  height: auto;
}

/* Individual slide styles */
.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or contain, depending on your screenshots */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 2;
  pointer-events: none;
}

.hero-slideshow .slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Floating animation */
@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Glow background behind the slideshow frame */
.hero-showcase-floating.orange-glow::before,
.hero-showcase-floating.blue-glow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: blur(60px);
  opacity: 0.3;
  border-radius: 50%;
}

.hero-showcase-floating.orange-glow::before {
  background: radial-gradient(circle, #ff7f2a, #ffae00);
}

.hero-showcase-floating.blue-glow::before {
  background: radial-gradient(circle, #00aaff, #0055ff);
}

.glow-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(30px);
  opacity: 0;
  border-radius: 50%;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.glow-layer.orange {
  background: radial-gradient(circle, #ff7f2a, #ffae00);
  opacity: 0.3; /* 👈 Start visible */
}

.glow-layer.blue {
  background: radial-gradient(circle, #00aaff, #0055ff);
}

.glow-wrapper {
  position: relative;
  overflow-x: clip;     /* 👈 prevents right overflow */
  overflow-y: visible;   /* 👈 allow vertical glow, but cut horizontal */ 
  padding-bottom: 0; /* Optional: remove to let glow naturally expand */
  z-index: 2;
}


/* Features Section */
.features {
  padding: 120px 20px 80px;
  background-color: var(--bg-light);
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: -60px; /* Pull under hero glow */
}

.features h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
}

/* Responsive Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

@media (max-width: 1250px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ======================== */
/* Card Flip / Modal System */
/* ======================== */

.card {
  perspective: 1200px;
  cursor: pointer;
  height: 320px;
  position: relative;
  min-width: 260px;
}

/* Flip Mechanism */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  border-radius: var(--radius);
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* Card Faces */
.card-front,
.card-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow: hidden;
  box-sizing: border-box;
  backface-visibility: hidden;
  border-radius: var(--radius);
  background-color: #fdf6ed;
  transition: box-shadow 0.3s ease, opacity 0.4s ease;
}

/* Depth on hover */
.card:hover .card-front {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Front Content */
.card-front img {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
}

.card-front h3,
.card-back h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-align: center;
}

.card-front p,
.card-back p {
  font-size: 0.95rem;
  text-align: center;
  max-width: 90%;
}

/* Back Face Flip */
.card-back {
  transform: rotateY(180deg);
  opacity: 0;
}

.card.flipped .card-back {
  opacity: 1;
}

/* Typography Back Face (default card) */
.card-back h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #2c2c2c;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

.card-back img {
  width: 60px;
  margin-top: 16px;
  opacity: 0.85;
}

/* ======================== */
/* Zoomed (Modal) Version   */
/* ======================== */
.card.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90vw;
  max-width: 700px;
  height: auto;
  transform: translate(-50%, -50%) scale(0.95) rotateY(180deg);
  transform-style: preserve-3d;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.card.zoomed.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05) rotateY(180deg);
}

.card.zoomed::-webkit-scrollbar {
  display: none;
}

.card.zoomed .card-back {
  opacity: 1;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card.zoomed .card-back img {
  width: 100%;
  max-width: 800px;
  margin-bottom: 32px;
  border-radius: 16px;

  /* Enhanced Shadow */
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.18),
    0 2px 4px rgba(0, 0, 0, 0.06);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  image-rendering: auto;
}


.card.zoomed .card-back h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: 0.4px;
}

.card.zoomed .card-back p {
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
  color: #444;
}

.zoom-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #444;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease;
}

.zoom-close-btn:hover {
  color: var(--dark-orange);
}


/* Download Section */
.download {
  background-color: #fff4df;
  padding: 80px 20px;
  text-align: center;
}

.download h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.download p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.orange-btn,
.download-btn {
  background-color: var(--bright-orange);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.orange-btn:hover,
.download-btn:hover {
  background-color: var(--dark-orange);
  transform: translateY(-2px);
}


.modal-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
}

.icon-link img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.3s ease;
  cursor: pointer;
}

.icon-link img[src*="download-windows"] {
  border: 1px solid #000;
  border-radius: 8px;
  padding: 6px;
}


.icon-link img:hover {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.mac-container {
  position: relative;
  display: inline-block;
}

.arch-popup {
  display: none;
  position: absolute;
  bottom: 100%;           /* sit above the icon */
  top: auto;              
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;     /* space between icon and popup */
  width: 180px;            /* fixed width for consistency */
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;      
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 100;
  white-space: normal;    
  text-align: center;
  font-size: 16px;         /* larger font */
  line-height: 1.4;
}

.arch-popup .arch-option {
  display: block;
  padding: 10px 0;         /* more vertical padding */
  text-decoration: none;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #eee;
}

.arch-popup .arch-option:last-child {
  border-bottom: none;     /* remove extra line under last item */
}

.arch-popup .arch-option:hover {
  background: #f9f9f9;
}


/* About Modal Styling */
#aboutModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease forwards;
}

#aboutModal .modal-content {
  background: linear-gradient(to bottom right, #ffffff, #f7f4f0);
  box-shadow: 0 18px 64px rgba(0, 0, 0, 0.15), 0 0 80px rgba(255, 153, 51, 0.05);
  border-radius: 14px;
  padding: 50px 40px;
  width: 90%;
  max-width: 700px;
  transform: scale(0.95);
  animation: scaleIn 0.4s ease forwards;
  text-align: center;
  position: relative;
}

#aboutModal h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

#aboutModal p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 14px;
}

/* Close button styling */
#aboutModal .modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 1.8rem;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

#aboutModal .modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  color: #ff6600;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── Footer “Stay Updated” Section ── */
.email-signup-section {
  padding: 70px 20px 50px;
  background-color: var(--deep-blue);
  text-align: center;
}

.email-signup-section h3 {
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Form container */
.email-signup {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* Input field */
.email-signup input[type="email"] {
  width: 320px;
  max-width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background-color: #ffffff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-signup input[type="email"]::placeholder {
  color: var(--text-light);
  font-style: italic;
}

.email-signup input[type="email"]:focus {
  outline: none;
  border-color: var(--bright-orange);
  box-shadow: 0 0 0 3px rgba(255, 123, 67, 0.2);
}

/* Submit button */
.email-signup button {
  padding: 14px 24px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--bright-orange);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
  transition: filter 0.2s ease, transform 0.1s ease;
}

.email-signup button:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

.email-signup button:active {
  filter: brightness(0.85);
  transform: translateY(0);
}


/* Footer */
footer {
  background-color: var(--deep-blue);
  color: var(--white);
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}
