/* ==========================================================================
   AutoReminder – Landing Page Stylesheet
   Vizuelni jezik preuzet iz mobilne aplikacije: duboko plavo-tamni
   gradijenti, bijele kartice, zaobljeni uglovi, meke sjene.
   ========================================================================== */

:root {
  /* Boje */
  --ar-navy-900: #101c34;
  --ar-navy-800: #182a4d;
  --ar-blue-700: #24406f;
  --ar-blue-600: #2e5aac;
  --ar-blue-500: #3f7fd4;
  --ar-blue-400: #5ea0e8;
  --ar-bg: #f4f7fb;
  --ar-bg-soft: #eaf1fa;
  --ar-white: #ffffff;
  --ar-text: #16223b;
  --ar-text-muted: #5b6a84;
  --ar-border: #e1e8f2;
  --ar-success: #2f9e6e;
  --ar-danger: #c1443f;

  /* Tipografija */
  --ar-font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Sjene */
  --ar-shadow-sm: 0 4px 14px rgba(16, 28, 52, 0.06);
  --ar-shadow-md: 0 12px 30px rgba(16, 28, 52, 0.10);
  --ar-shadow-lg: 0 24px 50px rgba(16, 28, 52, 0.16);

  /* Radijusi */
  --ar-radius-sm: 12px;
  --ar-radius-md: 18px;
  --ar-radius-lg: 26px;
}

/* ==========================================================================
   Osnove
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ar-font-body);
  color: var(--ar-text);
  background-color: var(--ar-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--ar-navy-900);
  color: #fff;
  border-radius: 0 0 var(--ar-radius-sm) 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ar-navy-900);
}

:focus-visible {
  outline: 3px solid var(--ar-blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Navigacija
   ========================================================================== */

.ar-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--ar-border);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: box-shadow 0.2s ease;
}

.ar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ar-navy-900) !important;
}

.ar-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ar-blue-500), var(--ar-navy-800));
  color: #fff;
  font-size: 1rem;
}

.ar-navbar .nav-link {
  color: var(--ar-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ar-navbar .nav-link:hover,
.ar-navbar .nav-link:focus-visible {
  color: var(--ar-blue-600);
  background-color: var(--ar-bg-soft);
}

.ar-offcanvas {
  max-width: 300px;
}

/* ==========================================================================
   Dugmad
   ========================================================================== */

.ar-btn-primary {
  background: linear-gradient(135deg, var(--ar-blue-500), var(--ar-navy-800));
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: var(--ar-radius-sm);
  padding: 0.65rem 1.4rem;
  box-shadow: var(--ar-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ar-btn-primary:hover,
.ar-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ar-shadow-md);
  color: #fff !important;
}

.ar-btn-outline {
  background: var(--ar-white);
  color: var(--ar-navy-900) !important;
  border: 1.5px solid var(--ar-border);
  font-weight: 700;
  border-radius: var(--ar-radius-sm);
  padding: 0.65rem 1.4rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ar-btn-outline:hover,
.ar-btn-outline:focus-visible {
  border-color: var(--ar-blue-500);
  transform: translateY(-2px);
}

.ar-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--ar-blue-600);
}

.ar-link-cta:hover,
.ar-link-cta:focus-visible {
  color: var(--ar-navy-900);
}

/* App store badgevi (placeholder do zvanicnih grafika) */
.ar-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ar-navy-900);
  color: #fff;
  border-radius: var(--ar-radius-sm);
  padding: 0.6rem 1.1rem;
  box-shadow: var(--ar-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ar-store-badge i {
  font-size: 1.6rem;
}

.ar-store-badge span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.ar-store-badge small {
  font-weight: 400;
  font-size: 0.68rem;
  opacity: 0.75;
}

.ar-store-badge:hover,
.ar-store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ar-shadow-md);
  color: #fff;
}

.ar-store-badge--light {
  background: #fff;
  color: var(--ar-navy-900);
}

.ar-store-badge--light:hover,
.ar-store-badge--light:focus-visible {
  color: var(--ar-navy-900);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.ar-hero {
  position: relative;
  padding: 8.5rem 0 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #eef3fb 0%, var(--ar-bg) 100%);
}

.ar-hero-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 127, 212, 0.28), rgba(63, 127, 212, 0) 70%);
  z-index: 0;
}

.ar-hero .container {
  position: relative;
  z-index: 1;
}

.ar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  color: var(--ar-blue-600);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: var(--ar-shadow-sm);
}

.ar-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  margin: 1.25rem 0 1rem;
}

.ar-hero-subtitle {
  font-size: 1.15rem;
  color: var(--ar-text-muted);
  max-width: 34rem;
}

.ar-trust {
  color: var(--ar-text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.ar-trust i {
  color: var(--ar-success);
  margin-right: 0.15rem;
}

.ar-trust-dot {
  color: var(--ar-border);
  margin: 0 0.15rem;
}

/* --- Phone mockup (CSS-only) --- */

.ar-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.ar-phone-frame {
  position: relative;
  width: 260px;
  border-radius: 38px;
  background: var(--ar-navy-900);
  padding: 14px;
  box-shadow: var(--ar-shadow-lg);
  border: 2px solid #0b1526;
}

.ar-phone-main {
  animation: ar-float 6s ease-in-out infinite;
}

.ar-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  background: var(--ar-navy-900);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.ar-phone-screen {
  display: block;
  width: 100%;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

@keyframes ar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.ar-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ar-white);
  border-radius: var(--ar-radius-sm);
  padding: 0.7rem 1rem;
  box-shadow: var(--ar-shadow-md);
  font-size: 0.8rem;
  max-width: 210px;
}

.ar-floating-card i {
  font-size: 1.3rem;
  color: var(--ar-blue-500);
}

.ar-floating-card strong {
  display: block;
  color: var(--ar-navy-900);
  font-size: 0.85rem;
}

.ar-floating-card span {
  color: var(--ar-text-muted);
}

.ar-floating-sms {
  top: 10%;
  left: -10px;
  animation: ar-float 6s ease-in-out infinite;
  animation-delay: 0.4s;
}

.ar-floating-check {
  bottom: 8%;
  right: -18px;
  animation: ar-float 6.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* ==========================================================================
   Sekcije – zajednički stilovi
   ========================================================================== */

.ar-section {
  padding: 5.5rem 0;
}

.ar-section--tinted {
  background: var(--ar-bg-soft);
}

.ar-section-head {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.ar-eyebrow {
  color: var(--ar-blue-600);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.ar-section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 1rem;
}

.ar-section-text {
  color: var(--ar-text-muted);
  font-size: 1.05rem;
}

.ar-section-text--center {
  margin: 0 auto;
}

/* --- Problem / rjesenje --- */

.ar-problem-card {
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--ar-shadow-sm);
}

.ar-problem-card i {
  font-size: 1.6rem;
  color: var(--ar-danger);
}

.ar-problem-card--positive i {
  color: var(--ar-success);
}

.ar-problem-card h3 {
  font-size: 1.05rem;
  margin: 0.75rem 0 1rem;
}

.ar-problem-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ar-text-muted);
  display: grid;
  gap: 0.55rem;
}

.ar-problem-card ul li::before {
  content: "\2013\0020";
  color: var(--ar-text-muted);
}

/* --- Funkcije --- */

.ar-feature-card {
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  padding: 1.9rem;
  height: 100%;
  box-shadow: var(--ar-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ar-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ar-shadow-md);
}

.ar-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ar-blue-500), var(--ar-navy-800));
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.ar-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.ar-feature-card p {
  color: var(--ar-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* --- Kako radi --- */

.ar-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.ar-step {
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-md);
  padding: 1.9rem 1.5rem;
  text-align: center;
  box-shadow: var(--ar-shadow-sm);
  position: relative;
}

.ar-step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ar-navy-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ar-bg-soft);
  color: var(--ar-blue-600);
  font-size: 1.5rem;
  margin: 0.75rem auto 1rem;
}

.ar-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.ar-step p {
  color: var(--ar-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .ar-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Screenshot showcase --- */

.ar-showcase-row {
  margin-bottom: 4.5rem;
}

.ar-showcase-row:last-child {
  margin-bottom: 0;
}

.ar-showcase-title {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
}

.ar-phone-small {
  width: 220px;
}

/* --- Benefiti --- */

.ar-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.ar-benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-sm);
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  box-shadow: var(--ar-shadow-sm);
}

.ar-benefit-list i {
  color: var(--ar-success);
  font-size: 1.1rem;
}

@media (max-width: 575.98px) {
  .ar-benefit-list {
    grid-template-columns: 1fr;
  }
}

/* --- Paketi --- */

.ar-pricing-card {
  background: var(--ar-white);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: var(--ar-shadow-sm);
  position: relative;
}

.ar-pricing-card--featured {
  background: linear-gradient(160deg, var(--ar-navy-800), var(--ar-navy-900));
  color: #fff;
  box-shadow: var(--ar-shadow-lg);
  border: none;
}

.ar-pricing-card--featured h3,
.ar-pricing-card--featured .ar-price {
  color: #fff;
}

.ar-pricing-card--featured .ar-pricing-tagline {
  color: rgba(255, 255, 255, 0.75);
}

.ar-pricing-card--featured .ar-pricing-list {
  color: rgba(255, 255, 255, 0.92);
}

.ar-pricing-card--featured .ar-pricing-list i {
  color: var(--ar-blue-400);
}

.ar-pricing-badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: var(--ar-blue-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--ar-shadow-sm);
}

.ar-pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.ar-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ar-navy-900);
  margin-bottom: 0.5rem;
}

.ar-pricing-tagline {
  color: var(--ar-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.ar-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--ar-text-muted);
}

.ar-pricing-list i {
  color: var(--ar-success);
  margin-right: 0.5rem;
}

.ar-pricing-note {
  text-align: center;
  color: var(--ar-text-muted);
  font-size: 0.88rem;
  margin: 2.5rem auto 0;
  max-width: 40rem;
}

.ar-pricing-note i {
  margin-right: 0.35rem;
  color: var(--ar-blue-500);
}

/* --- FAQ --- */

.ar-accordion .accordion-item {
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-sm) !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--ar-shadow-sm);
}

.ar-accordion .accordion-button {
  font-weight: 700;
  color: var(--ar-navy-900);
  background: var(--ar-white);
  padding: 1.1rem 1.4rem;
}

.ar-accordion .accordion-button:not(.collapsed) {
  color: var(--ar-blue-600);
  background: var(--ar-bg-soft);
  box-shadow: none;
}

.ar-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(94, 160, 232, 0.35);
}

.ar-accordion .accordion-body {
  color: var(--ar-text-muted);
  padding: 1.4rem 1.3rem;
}

/* --- Zavrsni CTA --- */

.ar-final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ar-navy-900), var(--ar-blue-700));
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}

.ar-hero-glow--cta {
  top: -180px;
  left: -140px;
  right: auto;
}

.ar-final-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.ar-final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ar-footer {
  background: var(--ar-navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

.ar-brand--footer {
  color: #fff !important;
  margin-bottom: 1rem;
}

.ar-footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  max-width: 22rem;
}

.ar-footer-heading {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.ar-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.ar-footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.ar-footer-links a:hover,
.ar-footer-links a:focus-visible {
  color: #fff;
}

.ar-footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2.5rem 0 1.5rem;
}

.ar-footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responzivnost
   ========================================================================== */

@media (max-width: 991.98px) {
  .ar-hero {
    padding: 7rem 0 4rem;
    text-align: center;
  }

  .ar-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .ar-trust {
    justify-content: center;
  }

  .ar-hero .d-flex.flex-wrap.gap-3 {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .ar-section {
    padding: 4rem 0;
  }

  .ar-hero {
    padding: 6.5rem 0 3.5rem;
  }

  .ar-store-badge {
    padding: 0.55rem 0.9rem;
  }
}

/* Respektuje smanjeno kretanje */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ar-phone-main,
  .ar-floating-sms,
  .ar-floating-check {
    animation: none;
  }
}
