/* SnapeMyScreen — Main Stylesheet */
/* Completely original design: light, airy, Apple-style minimalism */

:root {
  --primary: #4A90D9;
  --primary-dark: #3A7BC8;
  --primary-light: #6BA3E0;
  --accent: #2EC4B6;
  --accent-dark: #25A99D;
  --accent-light: #5DD4C8;
  --bg-white: #FFFFFF;
  --bg-alt: #F0F4F8;
  --bg-alt2: #E8EEF4;
  --text-dark: #2D3436;
  --text-muted: #636E72;
  --text-light: #B2BEC3;
  --border-light: #DFE6E9;
  --shadow-sm: 0 2px 8px rgba(45,52,54,0.06);
  --shadow-md: 0 4px 20px rgba(45,52,54,0.08);
  --shadow-lg: 0 8px 40px rgba(45,52,54,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ---- Utility ---- */
.section-padding { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--bg-white); }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent-custom {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-accent-custom:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 30px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 10px 30px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

/* ---- Navbar ---- */
.navbar-sms {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar-sms.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar-sms .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-dark);
  text-decoration: none;
}
.navbar-sms .navbar-brand svg {
  width: 32px;
  height: 32px;
}
.navbar-sms .navbar-brand span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-sms .nav-link {
  color: var(--text-muted);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
}
.navbar-sms .nav-link:hover,
.navbar-sms .nav-link.active {
  color: var(--primary);
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---- Hero ---- */
.hero-section {
  background: linear-gradient(135deg, #E8F4FD 0%, #D4F1EE 50%, #F0F4F8 100%);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,144,217,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46,196,182,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-section h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-section h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-section p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-visual .hero-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  position: relative;
}
.hero-visual .hero-card .mock-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.hero-visual .hero-card .mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-visual .hero-card .mock-dot.red { background: #FF6B6B; }
.hero-visual .hero-card .mock-dot.yellow { background: #FFC048; }
.hero-visual .hero-card .mock-dot.green { background: #51CF66; }
.hero-visual .hero-card .mock-screen {
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-alt2));
  border-radius: var(--radius-sm);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .hero-card .mock-screen .rec-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.hero-visual .hero-card .mock-screen .rec-dot {
  width: 12px;
  height: 12px;
  background: #FF6B6B;
  border-radius: 50%;
  animation: pulse-rec 1.5s infinite;
}
@keyframes pulse-rec {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-visual .shortcut-chips {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.hero-visual .shortcut-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}
.stat-item {
  text-align: center;
  padding: 15px;
}
.stat-item .stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ---- Feature Cards ---- */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.feature-card .feature-icon.blue { background: rgba(74,144,217,0.1); color: var(--primary); }
.feature-card .feature-icon.teal { background: rgba(46,196,182,0.1); color: var(--accent); }
.feature-card .feature-icon.purple { background: rgba(108,92,231,0.1); color: #6C5CE7; }
.feature-card h4 { margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ---- Featured Tutorial ---- */
.tutorial-preview {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.tutorial-preview .tutorial-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tutorial-preview .tutorial-image svg {
  width: 80px;
  height: 80px;
  color: rgba(255,255,255,0.9);
}
.tutorial-preview .tutorial-body {
  padding: 30px;
}
.tutorial-preview .tutorial-body .tutorial-tag {
  display: inline-block;
  background: rgba(74,144,217,0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-family: 'Raleway', sans-serif;
}
.tutorial-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tutorial-steps li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.tutorial-steps li:last-child { border-bottom: none; }
.tutorial-steps .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---- Trust / Why Section ---- */
.trust-grid .trust-item {
  text-align: center;
  padding: 25px 15px;
}
.trust-grid .trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74,144,217,0.1), rgba(46,196,182,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
.trust-grid .trust-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.trust-grid .trust-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.trust-grid .trust-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---- CTA / Signup ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 15px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}
.cta-form {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.cta-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  outline: none;
}
.cta-form input::placeholder { color: var(--text-light); }
.cta-form button {
  background: var(--text-dark);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-form button:hover {
  background: #1a1e1f;
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.footer-section {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-section h5 {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.footer-section .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.footer-section .footer-brand svg {
  width: 28px;
  height: 28px;
}
.footer-section .footer-brand span {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}
.footer-section p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: rgba(255,255,255,0.85);
  padding: 18px 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner a { color: var(--accent-light); text-decoration: underline; }
.cookie-banner .btn-accept-cookie {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Raleway', sans-serif;
}
.cookie-banner .btn-accept-cookie:hover { background: var(--accent-dark); }

/* ---- Page Headers (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, #E8F4FD, #D4F1EE);
  padding: 130px 0 60px;
  text-align: center;
}
.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
}
.breadcrumb-custom a { color: var(--primary); }
.breadcrumb-custom span { color: var(--text-muted); }

/* ---- Content Pages ---- */
.content-section { padding: 60px 0; }
.content-section h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 15px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
}
.content-section p, .content-section li {
  color: var(--text-muted);
  line-height: 1.8;
}
.content-section ul, .content-section ol {
  margin-bottom: 1rem;
  padding-left: 20px;
}
.content-section li { margin-bottom: 8px; }

/* ---- Keyboard Shortcuts ---- */
.kbd-key {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  line-height: 1.6;
}

/* ---- Method Cards (guides) ---- */
.method-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 25px;
  transition: var(--transition);
}
.method-card:hover {
  box-shadow: var(--shadow-sm);
}
.method-card .method-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 15px;
}
.method-card .method-badge.built-in { background: rgba(74,144,217,0.1); color: var(--primary); }
.method-card .method-badge.third-party { background: rgba(46,196,182,0.1); color: var(--accent); }
.method-card .method-badge.advanced { background: rgba(108,92,231,0.1); color: #6C5CE7; }

/* ---- Comparison Table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table thead {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.comparison-table th {
  padding: 15px 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.comparison-table tbody tr:hover { background: var(--bg-alt); }
.comparison-table .check { color: var(--accent); font-weight: 700; }
.comparison-table .cross { color: var(--text-light); }

/* ---- Tip Cards ---- */
.tip-card {
  background: var(--bg-white);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.tip-card.accent { border-left-color: var(--accent); }
.tip-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.tip-card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---- About Page ---- */
.about-story {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.team-card {
  text-align: center;
  padding: 25px 15px;
}
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}
.team-avatar.av-1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.team-avatar.av-2 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.team-avatar.av-3 { background: linear-gradient(135deg, #6C5CE7, #5A4BD1); }

/* ---- Contact Form ---- */
.contact-form .form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,144,217,0.15);
}
.contact-form label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* ---- Sidebar (guides) ---- */
.sidebar-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 20px;
}
.sidebar-card h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.05rem;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-card ul li {
  margin-bottom: 10px;
}
.sidebar-card ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card ul li a:hover { color: var(--primary); }
.sidebar-card ul li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---- Legal Pages ---- */
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 35px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.legal-content h2:first-child { margin-top: 0; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-section { padding: 120px 0 70px; }
  .hero-section h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .section-padding { padding: 60px 0; }
}
@media (max-width: 767px) {
  .hero-section { padding: 110px 0 60px; }
  .hero-section h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-visual { margin-top: 40px; }
  .cta-form { flex-direction: column; }
  .cta-form button { width: 100%; }
  .section-padding { padding: 50px 0; }
  .page-header { padding: 110px 0 50px; }
  .page-header h1 { font-size: 2rem; }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
