/* ========================================
   Swaply Landing Page — getswaply.de
   ======================================== */

:root {
  --brand-orange: #FF6D00;
  --brand-orange-dark: #E55A00;
  --brand-orange-light: rgba(255, 109, 0, 0.08);
  --dark: #121212;
  --text: #333;
  --text-secondary: #666;
  --light-bg: #F9F9F9;
  --border: #E8E8E8;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-orange);
  color: var(--white);
  border-color: var(--brand-orange);
}
.btn--primary:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 109, 0, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}
.btn--outline:hover {
  background: var(--brand-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 18px;
  border-radius: 10px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-img {
  height: 120px;
  width: 120px;
  object-fit: contain;
}

.header__logo-text {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-orange);
  letter-spacing: -0.5px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--brand-orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--brand-orange);
}
.nav-link:hover::after {
  width: 28px;
}

.header__cta {
  padding: 10px 24px;
  font-size: 15px;
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding-top: 130px;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 6px 6px 6px 16px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero__search:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 4px 24px rgba(255, 109, 0, 0.12);
}

.hero__search-icon {
  width: 22px;
  height: 22px;
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-right: 12px;
}

.hero__search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--dark);
  background: transparent;
}
.hero__search-input::placeholder {
  color: #aaa;
}

.hero__search-btn {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero__image img {
  max-height: 480px;
  width: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

/* ========================================
   About
   ======================================== */
.about {
  background: var(--light-bg);
  padding: 100px 0;
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-title--center {
  text-align: center;
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: -8px auto 48px;
  line-height: 1.6;
}

.about__content {
  flex: 1;
}

.about__text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about__image img {
  max-height: 460px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

/* ========================================
   Features
   ======================================== */
.features {
  padding: 100px 0;
}

.features__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-orange);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-orange-light);
  border-radius: 14px;
  color: var(--brand-orange);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Download
   ======================================== */
.download {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  padding: 100px 0;
  text-align: center;
}

.download__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.download__text {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.download__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.download__badge:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
.download__badge small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  text-align: left;
}
.download__badge strong {
  display: block;
  font-size: 18px;
  text-align: left;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #1A1A1A;
  color: #999;
  padding: 60px 0 0;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: #999;
  transition: color var(--transition);
}
.footer__links a:hover {
  color: var(--brand-orange);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid #333;
  font-size: 14px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: #999;
  transition: color var(--transition);
}
.footer__social a:hover {
  color: var(--brand-orange);
}
.footer__social svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 992px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 130px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav-open .header__nav {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
    width: 100%;
  }

  .header__cta {
    display: none;
  }

  .header__mobile-toggle {
    display: flex;
  }

  .nav-open .header__mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-open .header__mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .header__mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__inner {
    flex-direction: column;
    gap: 48px;
    padding: 60px 24px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .about__inner {
    flex-direction: column;
    gap: 48px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 600px) {
  .header__logo-img {
    height: 80px;
    width: 80px;
  }
  .header__logo-text {
    font-size: 30px;
  }

  .hero__inner {
    padding: 40px 16px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__search {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .hero__search-icon {
    display: none;
  }

  .hero__search-input {
    width: 100%;
    padding: 8px 0;
  }

  .hero__search-btn {
    width: 100%;
    padding: 14px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .btn--lg {
    width: 100%;
    text-align: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
