/* ScreenCapMac - Main Stylesheet */
:root {
  --dark-navy: #1a1a2e;
  --dark-navy-light: #252542;
  --orange-accent: #e8613c;
  --orange-hover: #d4522f;
  --light-gray: #f5f5f7;
  --white: #ffffff;
  --text-dark: #2d2d3a;
  --text-muted: #6b6b80;
  --text-light: #a0a0b4;
  --border-color: #e0e0e6;
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.08);
  --shadow-md: 0 4px 16px rgba(26,26,46,0.12);
  --shadow-lg: 0 8px 32px rgba(26,26,46,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a {
  color: var(--orange-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--orange-hover); }

img { max-width: 100%; height: auto; }

/* === NAVBAR === */
.navbar-main {
  background: var(--dark-navy);
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar-main.scrolled {
  background: rgba(26,26,46,0.97);
  box-shadow: var(--shadow-md);
}
.navbar-main .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}
.navbar-main .navbar-brand:hover { color: var(--orange-accent); }
.navbar-main .navbar-brand svg { flex-shrink: 0; }
.navbar-main .nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--orange-accent);
}
.navbar-main .navbar-toggler {
  border-color: rgba(255,255,255,0.2);
  padding: 0.4rem 0.65rem;
}
.navbar-main .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-main .btn-cta-nav {
  background: var(--orange-accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.navbar-main .btn-cta-nav:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* === HERO === */
.hero-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #16213e 50%, var(--dark-navy-light) 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(232,97,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-section .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-section .btn-hero-primary {
  background: var(--orange-accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.2s, transform 0.2s;
}
.hero-section .btn-hero-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}
.hero-section .btn-hero-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.hero-section .btn-hero-secondary:hover {
  border-color: var(--orange-accent);
  color: var(--orange-accent);
  transform: translateY(-2px);
}

/* Hero - inner page variant */
.hero-inner {
  padding: 5rem 0 3rem;
}
.hero-inner h1 { font-size: 2.5rem; }
.hero-inner .hero-subtitle { font-size: 1.1rem; }

/* === STATS BAR === */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.stats-bar .stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}
.stats-bar .stat-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--orange-accent);
}
.stats-bar .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* === SECTIONS === */
.section-padding { padding: 5rem 0; }
.section-light { background: var(--light-gray); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--dark-navy);
  color: rgba(255,255,255,0.85);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* === CARDS === */
.card-feature {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-feature .card-icon {
  width: 56px; height: 56px;
  background: rgba(232,97,60,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--orange-accent);
}
.card-feature .card-icon svg { width: 28px; height: 28px; }
.card-feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}
.card-feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.card-feature .card-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-feature .card-link:hover { gap: 0.6rem; }

/* === GUIDE PREVIEW === */
.guide-preview {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.guide-preview .step-number {
  width: 36px; height: 36px;
  background: var(--orange-accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.guide-preview .step-text {
  font-size: 1rem;
  color: var(--text-dark);
}

/* === BENEFITS === */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.benefit-icon {
  width: 44px; height: 44px;
  background: rgba(232,97,60,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-accent);
  flex-shrink: 0;
}
.benefit-icon svg { width: 22px; height: 22px; }

/* === CTA / NEWSLETTER === */
.cta-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #16213e 100%);
  padding: 4rem 0;
  color: var(--white);
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.7); }
.cta-section .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
}
.cta-section .form-control::placeholder { color: rgba(255,255,255,0.5); }
.cta-section .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--orange-accent);
  box-shadow: 0 0 0 0.2rem rgba(232,97,60,0.25);
  color: var(--white);
}
.cta-section .btn-cta {
  background: var(--orange-accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: background 0.2s;
}
.cta-section .btn-cta:hover { background: var(--orange-hover); }

/* === FOOTER === */
.footer-main {
  background: var(--dark-navy);
  padding: 4rem 0 0;
  color: rgba(255,255,255,0.65);
}
.footer-main h5 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.footer-main a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-main a:hover { color: var(--orange-accent); }
.footer-main .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-main .footer-desc {
  font-size: 0.9rem;
  max-width: 320px;
  line-height: 1.65;
}
.footer-main .footer-links { list-style: none; padding: 0; }
.footer-main .footer-links li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-navy);
  color: rgba(255,255,255,0.85);
  padding: 1rem 0;
  z-index: 9999;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}
.cookie-banner a { color: var(--orange-accent); }
.cookie-banner .btn-cookie {
  background: var(--orange-accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.cookie-banner .btn-cookie:hover { background: var(--orange-hover); }

/* === GUIDE / ARTICLE PAGES === */
.guide-content {
  max-width: 820px;
}
.guide-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
}
.guide-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.guide-content p {
  margin-bottom: 1.15rem;
  line-height: 1.8;
}
.guide-content ul, .guide-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.guide-content li { margin-bottom: 0.5rem; }
.guide-content .kbd-key {
  display: inline-block;
  background: var(--light-gray);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.15rem 0.55rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  color: var(--text-dark);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  white-space: nowrap;
}
.guide-content .tip-box {
  background: rgba(232,97,60,0.06);
  border-left: 4px solid var(--orange-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.guide-content .tip-box strong { color: var(--orange-accent); }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.comparison-table th {
  background: var(--dark-navy);
  color: var(--white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.comparison-table tr:nth-child(even) td { background: var(--light-gray); }
.comparison-table .badge-free {
  background: #28a745;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.comparison-table .badge-paid {
  background: var(--orange-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Tool card for comparison page */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.25s;
}
.tool-card:hover { box-shadow: var(--shadow-md); }
.tool-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.tool-card .tool-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.tool-card .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.tool-card .pros-cons h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.tool-card .pros-cons ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}
.tool-card .pros-cons .pros li::before { content: '+  '; color: #28a745; font-weight: 700; }
.tool-card .pros-cons .cons li::before { content: '-  '; color: #dc3545; font-weight: 700; }
.tool-card .pros-cons li { margin-bottom: 0.35rem; }

/* === CONTACT FORM === */
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--orange-accent);
  box-shadow: 0 0 0 0.2rem rgba(232,97,60,0.15);
}
.contact-form .btn-submit {
  background: var(--orange-accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.contact-form .btn-submit:hover { background: var(--orange-hover); }

/* === ABOUT PAGE === */
.about-values .value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.about-values .value-icon {
  width: 60px; height: 60px;
  background: rgba(232,97,60,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--orange-accent);
}

/* === LEGAL PAGES === */
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === BREADCRUMBS === */
.breadcrumb-nav {
  padding: 0.75rem 0;
  background: transparent;
}
.breadcrumb-nav .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}
.breadcrumb-nav .breadcrumb-item a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.breadcrumb-nav .breadcrumb-item.active {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
}
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* === SIDEBAR === */
.sidebar-card {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
}
.sidebar-card li {
  margin-bottom: 0.5rem;
}
.sidebar-card a {
  color: var(--text-dark);
  font-size: 0.9rem;
}
.sidebar-card a:hover { color: var(--orange-accent); }

/* === SCROLL ANIMATIONS (visible by default!) === */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 991.98px) {
  .hero-section { padding: 5rem 0 3.5rem; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-inner h1 { font-size: 2rem; }
  .section-padding { padding: 3.5rem 0; }
  .section-title { font-size: 1.8rem; }
  .tool-card .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 1.85rem; }
  .hero-inner h1 { font-size: 1.65rem; }
  .section-title { font-size: 1.5rem; }
  .stats-bar .stat-item { padding: 0.75rem 0.5rem; }
  .guide-preview { padding: 1.5rem; }
}
