/* =============================================
   Pet Hotel Management — package.css
   Professional SaaS Landing Page
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&family=Sarabun:wght@300;400;500;600;700&display=swap");

/* ── Design Tokens ── */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1A2E45;
  --blue:        #2D4A7A;
  --teal:        #4ECDC4;
  --teal-dark:   #3ABDB4;
  --teal-light:  #E0F7F6;
  --rose:        #E8547A;
  --rose-light:  #FDE8EF;
  --cream:       #FFFBF5;
  --surface:     #F5F7FA;
  --border:      #E2E8F0;
  --text-body:   #334155;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --white:       #FFFFFF;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-xs:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:   0 4px 12px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.09);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.12);
  --shadow-xl:   0 24px 64px rgba(0,0,0,.15);

  --grad-brand:  linear-gradient(135deg, #2D4A7A 0%, #4ECDC4 100%);
  --grad-hero:   linear-gradient(135deg, #0D1B2A 0%, #1A3A5C 60%, #2D6A6A 100%);
  --grad-rose:   linear-gradient(135deg, #E8547A 0%, #C73B5E 100%);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: "Sarabun", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, .plan-name {
  font-family: "Prompt", sans-serif;
  line-height: 1.25;
  color: var(--navy);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar-custom {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
  padding: 0;
  transition: box-shadow .25s ease;
}

.navbar-custom .container {
  height: 68px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-family: "Prompt", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy) !important;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: none;
}

.navbar-brand i {
  color: var(--teal);
  font-size: 1.25rem;
}

.navbar-custom .nav-link {
  font-family: "Sarabun", sans-serif;
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-body) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  letter-spacing: .01em;
}

.navbar-custom .nav-link:hover {
  color: var(--teal-dark) !important;
  background: var(--teal-light);
}

.btn-nav-cta {
  font-family: "Sarabun", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 50px;
  letter-spacing: .02em;
  transition: background .2s, box-shadow .2s, transform .15s;
  border: none;
}

.btn-nav-cta:hover {
  background: var(--blue);
  box-shadow: 0 4px 16px rgba(13,27,42,.25);
  transform: translateY(-1px);
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.navbar-toggler:focus { outline: none; box-shadow: none; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: var(--grad-hero);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -60px;
  padding-bottom: 160px;
}

/* Teal accent orb */
.hero-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

/* Subtle grid texture */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(78, 205, 196, .15);
  border: 1px solid rgba(78, 205, 196, .35);
  color: var(--teal);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-title {
  font-family: "Prompt", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-title .accent {
  color: var(--teal);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  font-weight: 300;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  font-family: "Sarabun", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--teal);
  color: var(--navy) !important;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(78,205,196,.35);
}

.btn-hero-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(78,205,196,.45);
  color: var(--navy) !important;
  text-decoration: none;
}

.btn-hero-secondary {
  font-family: "Sarabun", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  color: var(--white) !important;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--white) !important;
  text-decoration: none;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: "Prompt", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.hero-stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 400;
}

.hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  max-height: 380px;
  width: auto;
}

.hero-img-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(78,205,196,.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* =============================================
   SECTION SHARED STYLES
   ============================================= */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-family: "Prompt", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  padding: 120px 0 80px;
  background: var(--cream);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

/* Teal corner accent */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--teal);
  border-radius: 0 0 4px 0;
  transition: height .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 20px;
  transition: background .25s, color .25s;
}

.feature-card:hover .feature-icon {
  background: var(--teal);
  color: var(--white);
}

.feature-title {
  font-family: "Prompt", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p.text-muted {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--text-muted) !important;
  margin-bottom: 0;
}

/* =============================================
   SCREENSHOTS SECTION
   ============================================= */
.app-screenshots-section {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.app-screenshots-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(78,205,196,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(45,74,122,.4) 0%, transparent 60%);
  pointer-events: none;
}

.app-screenshots-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.app-screenshots-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(78,205,196,.12);
  border: 1px solid rgba(78,205,196,.3);
  border-radius: 50px;
  color: var(--teal) !important;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.app-screenshots-title {
  font-family: "Prompt", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  text-shadow: none;
}

.app-screenshots-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
}

.app-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.app-screenshot-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.06);
}

.app-screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.app-screenshot-image {
  width: 100%;
  height: 195px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screenshot-image i {
  font-size: 3.5rem;
  color: var(--border);
}

.app-screenshot-mockup {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 12px;
}

.app-mockup-header {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.app-mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.app-mockup-dot.red    { background: #FF5F56; }
.app-mockup-dot.yellow { background: #FFBD2E; }
.app-mockup-dot.green  { background: #27C93F; }

.app-mockup-content {
  height: calc(100% - 18px);
  border-radius: 5px;
  background: var(--surface);
  background-size: cover;
  background-position: center;
}

.app-screenshot-info {
  padding: 20px 20px 18px;
}

.app-screenshot-card-title {
  font-family: "Prompt", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-screenshot-card-title i {
  color: var(--teal-dark);
  font-size: 1rem;
}

.app-screenshot-description {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.app-screenshot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.app-screenshot-tag {
  padding: 4px 11px;
  background: var(--teal-light);
  border-radius: 20px;
  font-size: .75rem;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: .02em;
}

.app-feature-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--teal);
}

.app-feature-highlight i {
  color: var(--teal-dark);
  font-size: 1rem;
}

.app-feature-highlight-text {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* floating shapes */
.app-floating-shapes { display: none; }

/* =============================================
   PRICING SECTION
   ============================================= */
.pricing-section {
  padding: 100px 0 80px;
  background: var(--surface);
  position: relative;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

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

.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: -34px;
  background: var(--teal);
  color: var(--navy);
  padding: 7px 44px;
  font-family: "Sarabun", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  transform: rotate(45deg);
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(78,205,196,.35);
  z-index: 10;
}

.pricing-header {
  padding: 32px 28px 24px;
  text-align: left;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

.standard-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.premium-header {
  background: linear-gradient(135deg, #1A1A2E 0%, #8B2E60 100%);
}

.plan-name {
  font-family: "Prompt", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: .02em;
  color: var(--white);
}

.pricing-header p {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
}

/* Billing Toggle */
.billing-toggle {
  padding: 20px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.toggle-container {
  display: inline-flex;
  background: var(--white);
  border-radius: 50px;
  padding: 4px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}

.toggle-option { position: relative; }

.toggle-option input[type="radio"] { display: none; }

.toggle-label {
  display: block;
  padding: 9px 24px;
  border-radius: 50px;
  font-family: "Sarabun", sans-serif;
  font-weight: 600;
  font-size: .88rem;
  transition: all .25s ease;
  color: var(--text-muted);
  cursor: pointer;
  margin: 0;
}

.toggle-option input[type="radio"]:checked + .toggle-label {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(13,27,42,.2);
}

/* Price Display */
.price-display {
  padding: 22px 28px 18px;
  background: var(--white);
  text-align: left;
}

.price-amount {
  font-family: "Prompt", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.price-currency {
  font-size: 1.3rem;
  margin-top: 6px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-period {
  display: block;
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}

.savings-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: .02em;
}

/* Feature List */
.feature-list {
  padding: 8px 28px 20px;
  list-style: none;
  margin: 0;
  background: var(--white);
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-body);
}

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

.feature-list i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list .fa-check {
  background: #DCFCE7;
  color: #16A34A;
}

.feature-list .fa-times {
  background: #FEE2E2;
  color: #DC2626;
}

.feature-list strong {
  font-weight: 600;
  color: var(--teal-dark);
}

/* Subscribe Buttons */
.btn-subscribe {
  width: calc(100% - 56px);
  margin: 0 28px 28px;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-family: "Sarabun", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s ease;
  letter-spacing: .04em;
}

.btn-standard {
  background: var(--navy);
  color: var(--white);
}

.btn-standard:hover {
  background: var(--blue);
  box-shadow: 0 6px 20px rgba(13,27,42,.3);
  transform: translateY(-2px);
}

.btn-premium {
  background: var(--grad-rose);
  color: var(--white);
}

.btn-premium:hover {
  box-shadow: 0 6px 20px rgba(232,84,122,.35);
  transform: translateY(-2px);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 25% 50%, rgba(78,205,196,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 75% 30%, rgba(45,74,122,.5) 0%, transparent 60%);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-title {
  font-family: "Prompt", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
  letter-spacing: -.02em;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 36px;
  color: rgba(255,255,255,.75);
  font-weight: 300;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal) !important;
  color: var(--navy) !important;
  padding: 15px 40px;
  font-family: "Sarabun", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none !important;
  transition: all .25s ease;
  box-shadow: 0 4px 20px rgba(78,205,196,.3);
  text-decoration: none;
  cursor: pointer;
}

.btn-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(78,205,196,.45);
  color: var(--navy) !important;
  text-decoration: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #060E18;
  color: rgba(255,255,255,.55);
  padding: 32px 0;
  text-align: center;
  font-size: .9rem;
}

.footer a {
  color: rgba(255,255,255,.7);
  transition: color .2s;
  text-decoration: none;
}

.footer a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* =============================================
   MODAL
   ============================================= */
.app-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(6, 14, 24, .92);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}

.app-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app-modal-content {
  position: relative;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  animation: zoomIn .25s ease;
}

.app-modal-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 72px rgba(0,0,0,.6);
  display: block;
}

.app-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: rgba(255,255,255,.7);
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
  transition: color .2s;
  line-height: 1;
}

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

.app-modal-info {
  margin-top: 18px;
  color: var(--white);
  text-align: center;
}

.app-modal-title {
  font-family: "Prompt", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.app-modal-description {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
}

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn  {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
  .hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    padding-bottom: 130px;
    margin-bottom: -40px;
  }

  .navbar-custom .container { height: auto; padding: 14px 16px; }

  .navbar-collapse {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 0 16px;
    margin-top: 4px;
  }

  .navbar-custom .nav-link { padding: 10px 16px !important; }
  .btn-nav-cta { margin: 10px 16px 0; display: inline-block; }
}

@media (max-width: 767px) {
  .hero-section {
    clip-path: none;
    padding: 90px 0 70px;
    margin-bottom: 0;
  }

  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-img-wrapper { margin-top: 36px; }

  .features-section { padding: 64px 0 48px; }

  .pricing-wrapper { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.9rem; }
  .price-amount { font-size: 2.3rem; }

  .app-screenshots-grid { grid-template-columns: 1fr; }
  .app-screenshots-title { font-size: 1.9rem; }

  .cta-title { font-size: 1.9rem; }
  .btn-cta { padding: 13px 30px; font-size: 1rem; }

  .btn-hero-primary,
  .btn-hero-secondary { padding: 12px 24px; font-size: .95rem; }

  .app-modal-content { max-width: 100%; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}