:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-primary: #0066cc;
  --color-primary-dark: #004b99;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);

  --container-width: 1120px;
  --spacing: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.logo-image {
  width: 150px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}



.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Make both columns equal width */
.hero-copy,
.hero-media {
  flex: 1;
}


.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 34rem;
}

.hero-bullets {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--color-text);
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/*.hero-media {
  display: block;
  align-items: center;
  max-width: 100%;
  justify-content: center;
}*/

/* Make the image behave nicely */
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* optional */
  border: 2px solid var(--color-primary);
}



.device-mockup {
  width: 260px;
  max-width: 100%;
  margin-left: auto;
  border-radius: 32px;
  padding: 0.75rem;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: var(--shadow-md);
}

.device-screen {
  border-radius: 24px;
  background-color: #fff;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}


.section-alt {
  background-color: var(--color-bg-alt);
}

.section-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Make both columns equal width */
.section-text,
.section-media {
  flex: 1;
}

/* Make the image behave nicely */
.section-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px; /* optional */
  border: 2px solid var(--color-primary);
}

.section-cta {
  background: radial-gradient(circle at top left, #e0f2fe, #eff6ff);
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.section p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards */

.card {
  display: flex;
  flex-direction: column;
  align-items:center;     
  justify-content: center;
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card img {
  vertical-align: middle;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-full {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;          /* full width */
  /* full viewport height */
  /*height: 100vh;        */
  /*background-color: #f9fafb;*/
  border: none;
  box-shadow: none;
  padding: 0;
}

.card-full img {
  max-width: 100%;
  height: auto;
  /*max-height: 100%;*/
  /* keeps bezel proportions */
  /*object-fit: contain;  */
  display: block;
}



/* Steps */

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: step-counter;
}

.steps > li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}

.steps > li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background-color: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
    transform 0.05s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-primary);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #f9fafb;
}

/* CTA section */

.section-cta .cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.store-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  
}

.store-badge {
  height: 60px;
  width: auto;
  /*display: block;*/
  
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  background-color: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-primary);
}

.site-footer nav + nav {
  margin-left: 1rem;
}



.flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  margin-right: 6px;
  object-fit: cover;
  vertical-align: middle;
}

/* Responsive */

@media (max-width: 1200px) {
 .logo-image {
    padding-left: 20px;
  }
  
  .main-nav {
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
  padding: 0.5rem 0 0.5rem;
}
  
  .hero-inner {
    flex-direction: column;
    /*text-align: center; */
  }
  
  .hero-inner h1 {
    text-align: center; 
  }

  .hero-copy,
  .hero-media {
    width: 100%;
  }

  .section-inner {
    flex-direction: column;
    /*text-align: center; */
  }

   .section-text,
  .section-media {
    width: 100%;
  }
  
  .card-full img {
  max-width: 70%;
  height: auto;
  
}
   
  
  .store-badge {
  height: 45px;
    
}
  .main-nav ul {
    position: absolute;
    right: 1.25rem;
    top: 3.25rem;
    flex-direction: column;
    background-color: #fff;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    display: none;
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
 
}
