@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #011e46;
  --primary-light: #023062;
  --accent: #e6b85c;
  --text: #1a1a1a;
  --text-light: #555;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f8faff 0%, #edf2fc 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

section {
  padding: 4rem 0;
}

section + section {
  margin-top: 0;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition:
    border-color var(--transition),
    transform var(--transition);
}

.btn-text:hover {
  border-bottom-color: var(--primary);
  transform: translateX(4px);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: color var(--transition);
}

.btn-back:hover {
  color: var(--accent);
}

.header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(1, 30, 70, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo img {
  border-radius: 10px;
  background: white;
  padding: 4px;
}

.logo span,
.footer__logo span {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  display: block;
}

.logo-line1 {
  display: block;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav__list a {
  color: var(--white);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__list a:hover::after {
  width: 100%;
}

.header__notice {
  font-size: 0.85rem;
  opacity: 0.85;
  padding: 0.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    padding: 6rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 200;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 2rem;
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 210;
  }

  .header__notice {
    display: none;
  }
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #032b5d 100%);
  color: var(--white);
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.hero__text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-store::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-store:hover::before {
  transform: translateX(100%);
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-store i {
  font-size: 1.5rem;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform 0.5s ease;
}

.hero__image-wrapper:hover {
  transform: perspective(1000px) rotateY(1deg) scale(1.02);
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero__floating-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background: var(--accent);
  color: #011e46;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transform: rotate(3deg);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-8px);
  }
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8faff' d='M0,40 C360,60 720,10 1080,30 C1260,40 1380,50 1440,50 L1440,60 L0,60 Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat center bottom;
  background-size: cover;
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text h1 {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    margin: 0 auto 2rem;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__image-wrapper {
    transform: none;
  }
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(230, 184, 92, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card__icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
  background: var(--primary);
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(1, 30, 70, 0.25);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.how-it-works {
  background: var(--primary);
  color: var(--white);
}

.how-it-works h2::after {
  background: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  position: relative;
  transition: background var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.12);
}

.step__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.step p {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-lg);
}

.blog-card--large {
  grid-column: span 2;
  grid-row: span 1;
}

@media (min-width: 769px) {
  .blog-card--large .blog-card__image {
    height: 280px;
  }
}

.blog-card__image {
  height: 200px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.06);
}

.blog-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__category {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card .btn-text {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--large {
    grid-column: span 1;
  }
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.testimonial:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.8);
}

.testimonial__stars {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #222;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__author img {
  border-radius: 50%;
  object-fit: cover;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial__author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-item__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--primary);
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: #f0f4ff;
}

.faq-item__question i {
  transition: transform 0.3s ease;
}

.faq-item__question[aria-expanded='true'] i {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 1.5rem;
  background: #fafbff;
  color: #333;
}

.faq-item__question[aria-expanded='true'] + .faq-item__answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.contact-info__card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.5deg);
}

.contact-info__detail {
  font-family: monospace;
  background: #f0f2f5;
  display: inline-block;
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
  margin: 0.2rem 0;
}

.footer {
  margin-top: auto;
  background: var(--primary);
  color: #ddd;
  padding: 3rem 0 0;
  font-size: 0.95rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}

.footer__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer__logo img {
  background: white;
  border-radius: 8px;
  padding: 3px;
}

.footer__legal a {
  display: block;
  color: #ccc;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
  transition: color var(--transition);
}

.footer__legal a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.footer__legal a:hover {
  color: var(--accent);
}

.footer__contact p {
  margin-bottom: 0.3rem;
}

.footer__disclaimer {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.5;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__logo a {
    justify-content: center;
  }
}

.blog-post {
  padding: 3rem 0;
}

.blog-post__hero {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-post__meta {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.blog-post__content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #222;
}

.legal-page {
  padding: 3rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
}

.legal-content h2 {
  font-size: 1.8rem;
  text-align: left;
}

.legal-content h3 {
  font-size: 1.4rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}
