/* ==========================================================================
 * BOZARTEC - CLEAN SYMMETRICAL PRODUCTION STYLESHEET
 * 100% Uniform design system with solid black branding and pixel-perfect symmetry.
 * ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Color Tokens */
  --bg-primary: #0a0c14;
  --bg-secondary: #121524;
  --bg-card: rgba(22, 27, 46, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.3);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-orange: #f59e0b;
  --accent-purple: #a855f7;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
  --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0,0,0,0) 70%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   2. BASE SETUP & REUSABLE COMPONENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  filter: blur(8px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) !important;
}

/* Background Glow Effects */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.5s ease-out;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.18);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: rgba(168, 85, 247, 0.12);
  top: 40%;
  left: -200px;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: rgba(6, 182, 212, 0.12);
  bottom: 10%;
  right: -100px;
}

/* Containers & Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Panel with Reactive Spotlight */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.18),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.glass-panel:hover::before {
  opacity: 1;
}

/* Magnetic Buttons with Strict Height & Alignment Uniformity */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  height: 48px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  border: none;
  will-change: transform;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-img {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-btn {
  padding: 8px 20px;
  height: 40px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  color: var(--text-primary);
}

.nav-btn:hover {
  background: var(--primary);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. HERO SECTION & LEVITATING 3D PHONE
   -------------------------------------------------------------------------- */
.hero {
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: var(--border-color);
}

/* 3D Levitating Phone Mockup Frame */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  animation: float-levitate 5s ease-in-out infinite;
  cursor: pointer;
}

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

.phone-frame {
  width: 280px;
  height: 560px;
  background: #0f172a;
  border: 10px solid #1e293b;
  border-radius: 44px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 45px rgba(99, 102, 241, 0.35);
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, box-shadow 0.3s ease;
}

.phone-frame:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 65px rgba(99, 102, 241, 0.6);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #13172b 0%, #0c0e1a 100%);
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.phone-notch {
  width: 80px;
  height: 14px;
  background: #1e293b;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.phone-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero-preview {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  width: 100%;
}

.app-hero-preview:hover {
  transform: scale(1.03);
}

.app-icon-placeholder {
  width: 85px;
  height: 85px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.preview-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 6px;
}

.app-hero-preview h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.app-hero-preview p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. APPS SHOWCASE & UNIFORM CARDS
   -------------------------------------------------------------------------- */
.section-subtitle {
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.filter-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Symmetrical Grid Layout */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Uniform App Card */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.18),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.app-card:hover::before {
  opacity: 1;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.2);
}

.app-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 14px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.badge-orange {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  z-index: 2;
}

/* Solid Black Provisional Placeholder Icon Container */
.app-card-icon-placeholder {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-primary);
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.app-card:hover .app-card-icon-placeholder {
  transform: scale(1.06);
  border-color: var(--primary);
}

.app-card-title-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
  z-index: 2;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  z-index: 2;
}

.app-features-list span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-features-list i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.app-card-footer {
  margin-top: auto;
  z-index: 2;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. SECTIONS: ABOUT, LEGAL & CONTACT
   -------------------------------------------------------------------------- */
.about-card {
  padding: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feat-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feat-box:hover {
  transform: translateX(6px);
  border-color: var(--accent-cyan);
}

.feat-box i {
  font-size: 1.6rem;
  color: var(--accent-cyan);
}

.feat-box h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.feat-box p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.tech-stack-box {
  background: rgba(15, 23, 42, 0.6);
  padding: 35px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.tech-stack-box h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.tag:hover {
  transform: scale(1.05);
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}

/* Legal Section */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.legal-card {
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.legal-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
}

.legal-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.legal-card:hover .legal-icon {
  transform: scale(1.15) rotate(-5deg);
}

.legal-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 25px;
}

/* Contact Section */
.contact-box {
  padding: 60px 40px;
  max-width: 750px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.35);
}

.form-status {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 10px;
}

.form-status.success {
  color: var(--accent-emerald);
}

/* Footer */
.footer {
  background: #06080e;
  border-top: 1px solid var(--border-color);
  padding-top: 60px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 15px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   7. MODAL DIALOGS & SPRING MORPHING POPUPS
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  z-index: 2001;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(99, 102, 241, 0.3);
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-lg {
  max-width: 800px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.1);
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description, .section-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 40px;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 30px 20px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
