/* ================================================
   GUARANTEED MOTORS WISCONSIN — Coming Soon
   Dark luxury automotive theme
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --bg-glass: rgba(14, 14, 14, 0.7);

  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-dark: #a88a4e;
  --gold-glow: rgba(201, 169, 110, 0.15);
  --gold-glow-strong: rgba(201, 169, 110, 0.25);

  --text-primary: #f5f0e8;
  --text-secondary: #b5a898;
  --text-muted: #6a6058;

  --border: rgba(201, 169, 110, 0.12);
  --border-accent: rgba(201, 169, 110, 0.3);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* ---------- Page Wrapper ---------- */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---------- Background ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.7);
}

.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, 
      rgba(10, 10, 10, 0.7) 0%, 
      rgba(10, 10, 10, 0.4) 30%,
      rgba(10, 10, 10, 0.5) 70%,
      rgba(10, 10, 10, 0.95) 100%
    );
}

/* Animated grain overlay */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ---------- Content ---------- */
.content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ---------- Logo / Brand ---------- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeIn 1s var(--ease) 0.2s both;
}

.brand-emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-accent);
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.1);
}

.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 48px;
  animation: fadeIn 1s var(--ease) 0.4s both;
}

/* ---------- Coming Soon Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 24px;
  border: 1px solid var(--border-accent);
  background: var(--gold-glow);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease) 0.5s both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Main Heading ---------- */
.headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s var(--ease) 0.65s both;
}

.headline em {
  font-style: italic;
  color: var(--gold);
}

/* ---------- Description ---------- */
.description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 44px;
  animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease) 0.95s both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 18px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  width: 100%;
  max-width: 460px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease) 1.1s both;
}

.newsletter p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 16px 28px;
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ---------- Contact Info ---------- */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s var(--ease) 1.25s both;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.3s;
}

.contact-item:hover {
  color: var(--gold);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* ---------- Social Links ---------- */
.socials {
  display: flex;
  gap: 14px;
  animation: fadeInUp 0.8s var(--ease) 1.4s both;
}

.socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.4s var(--ease);
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.15);
}

.socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Footer ---------- */
.page-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 24px 30px;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--border);
  animation: fadeIn 1s var(--ease) 1.6s both;
}

.page-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.page-footer a {
  color: var(--gold);
  transition: color 0.3s;
}

.page-footer a:hover {
  color: var(--gold-light);
}

/* ---------- Decorative Elements ---------- */
.corner-decor {
  position: fixed;
  z-index: 5;
  pointer-events: none;
}

.corner-decor.top-left {
  top: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-top: 1px solid var(--border-accent);
  border-left: 1px solid var(--border-accent);
  animation: fadeIn 1.5s var(--ease) 1.8s both;
}

.corner-decor.top-right {
  top: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-top: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
  animation: fadeIn 1.5s var(--ease) 1.8s both;
}

.corner-decor.bottom-left {
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-bottom: 1px solid var(--border-accent);
  border-left: 1px solid var(--border-accent);
  animation: fadeIn 1.5s var(--ease) 1.8s both;
}

.corner-decor.bottom-right {
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-bottom: 1px solid var(--border-accent);
  border-right: 1px solid var(--border-accent);
  animation: fadeIn 1.5s var(--ease) 1.8s both;
}

/* ---------- Floating particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 3s; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(5) { left: 70%; animation-duration: 24s; animation-delay: 5s; }
.particle:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: 1s; }
.particle:nth-child(7) { left: 15%; animation-duration: 21s; animation-delay: 4s; }
.particle:nth-child(8) { left: 60%; animation-duration: 17s; animation-delay: 7s; }

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .content {
    padding: 30px 20px;
  }

  .brand-emblem {
    width: 70px;
    height: 70px;
  }

  .countdown {
    gap: 12px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 14px 10px;
  }

  .countdown-number {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0;
  }

  .newsletter-form input {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .newsletter-form input:focus {
    border-color: var(--gold);
  }

  .contact-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .corner-decor {
    display: none;
  }
}
