/* ==========================================================================
   Wide Wings Media — Landing Page
   Mobile-first, minimal, premium
   ========================================================================== */

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

:root {
  --bg-1: #f8fafc;
  --bg-2: #eef2ff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Layout */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 96px; /* space for floating bar */
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 40px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%),
    radial-gradient(600px 300px at 50% 100%, rgba(14, 165, 233, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

/* Brand / logo */
.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.brand__logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.brand__fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.brand__fallback span {
  font-size: 11px;
  letter-spacing: 6px;
  font-weight: 500;
  font-family: var(--font-sans);
  margin-top: 4px;
  color: var(--ink-soft);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Hero text */
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}

.br-mobile { display: inline; }

.hero__subtext {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.6;
}

.hero__services {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 36px;
  font-weight: 500;
}

/* CTA buttons */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 0 auto;
  max-width: 380px;
}

.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Footer */
.footer {
  padding: 28px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.footer__brand {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer__meta {
  margin: 0;
  color: var(--ink-mute);
  font-size: 12px;
}

/* Floating bar */
.floating-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 24px);
  max-width: 560px;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease;
}

.floating-bar.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.floating-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 18px;
}

.floating-bar__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.floating-bar__text span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-bar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #a5b4fc;
}

.floating-bar__btn {
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.floating-bar__btn:hover {
  background: #f1f5f9;
}

.floating-bar__btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 600px) {
  .br-mobile { display: none; }

  .cta-group {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .btn {
    width: auto;
    min-width: 240px;
  }

  .floating-bar__text {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .brand__logo {
    max-height: 96px;
  }

  .footer {
    padding: 32px 0 28px;
  }

  .floating-bar {
    bottom: 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .floating-bar {
    transform: translateX(-50%) translateY(0);
  }
}
