/* ============================================
   Area Kit Pro - Landing Page Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1B2A4A;
  --teal: #00B4D8;
  --gold: #E8A838;
  --white: #FFFFFF;
  --light-gray: #F0F6FA;
  --dark-gray: #4A5568;
  --medium-gray: #718096;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(27, 42, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(27, 42, 74, 0.1);
  --shadow-lg: 0 8px 30px rgba(27, 42, 74, 0.12);
  --shadow-xl: 0 16px 48px rgba(27, 42, 74, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--light-gray);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--medium-gray);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #d4952e;
  border-color: #d4952e;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* App Store Button */
.app-store-btn {
  gap: 10px;
  padding: 10px 28px;
  border-radius: var(--radius-md);
}

.app-store-icon {
  display: flex;
  align-items: center;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-store-small {
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-store-large {
  font-size: 1.125rem;
  font-weight: 700;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.125rem;
}

.logo-text {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--medium-gray);
}

/* Phone Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--navy);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0f1b33;
  border-radius: 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.phone-status-bar {
  height: 44px;
  background: var(--light-gray);
}

.phone-content {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-header-bar {
  height: 24px;
  width: 60%;
  background: var(--navy);
  border-radius: 6px;
  opacity: 0.15;
}

.phone-card {
  height: 120px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.phone-card.short {
  height: 80px;
}

.phone-button {
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  opacity: 0.9;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-image.portrait {
  height: 340px;
  background: var(--light-gray);
}

.gallery-image.landscape {
  height: 260px;
  background: #2d3436;
}

.gallery-placeholder {
  width: 200px;
  height: 280px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.gallery-placeholder.chalk {
  width: 340px;
  height: 200px;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.placeholder-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.placeholder-title-block {
  height: 20px;
  width: 70%;
  background: var(--navy);
  border-radius: 4px;
  opacity: 0.15;
}

.chalk-title {
  background: #7ed957;
  opacity: 0.6;
}

.placeholder-row {
  display: flex;
  gap: 8px;
}

.placeholder-card-small {
  flex: 1;
  height: 50px;
  background: var(--light-gray);
  border-radius: 4px;
}

.chalk-card {
  background: rgba(255, 255, 255, 0.08);
}

.placeholder-map {
  flex: 1;
  background: var(--light-gray);
  border-radius: 4px;
  min-height: 60px;
}

.placeholder-footer {
  height: 16px;
  width: 80%;
  background: var(--teal);
  border-radius: 4px;
  opacity: 0.3;
  margin-top: auto;
}

.chalk-footer {
  background: #cb6ce6;
  opacity: 0.5;
}

.gallery-info {
  padding: 24px;
}

.gallery-badge {
  display: inline-block;
  background: var(--light-gray);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-chalk {
  background: #1a1a2e;
  color: #7ed957;
}

.gallery-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.gallery-info p {
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.pricing-amount {
  margin-bottom: 4px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-per {
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-bottom: 8px;
}

.pricing-save {
  display: inline-block;
  background: #e6f9ed;
  color: #22863a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}

.pricing-features {
  margin-bottom: 24px;
  text-align: left;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--dark-gray);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.2;
}

.pricing-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--teal);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--medium-gray);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ---------- Blog Teaser ---------- */
.blog-teaser {
  text-align: center;
  padding: 48px 40px;
  background: var(--light-gray);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.blog-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.blog-teaser h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-teaser p {
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--light-gray);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--medium-gray);
  margin-top: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--medium-gray);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--medium-gray);
  text-align: center;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 8px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mockup {
    order: -1;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-frame::before {
    width: 60px;
    height: 20px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-image.portrait,
  .gallery-image.landscape {
    height: 220px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* CTA */
  .cta-banner h2 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  /* Blog */
  .blog-teaser {
    padding: 32px 24px;
  }

  .blog-teaser h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    max-width: 100%;
  }

  .gallery-placeholder {
    width: 160px;
    height: 220px;
  }

  .gallery-placeholder.chalk {
    width: 280px;
    height: 160px;
  }
}
