@layer reset, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html { font-size: 16px; scroll-behavior: smooth; }
  body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-family: 'Outfit', sans-serif;
    background-color: #fcfcfd;
    color: #1a1a1e;
    overflow-x: hidden;
  }
}

@layer base {
  :root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-light: #dbeafe;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text-muted: #64748b;
    --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  }
}

@layer layout {
  .app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
  }
  
  .card-premium {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@layer components {
  .btn-luxury {
    background: var(--primary);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  .btn-luxury:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.2);
  }

  .input-luxury {
    width: 100%;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--border);
    background: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    appearance: none; /* For select */
  }
  .input-luxury:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-light);
  }

  select.input-luxury {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
    cursor: pointer;
  }
}

/* Mesh Background */
.mesh-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 10% 10%, #f1f5f9 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, #e2e8f0 0%, transparent 40%);
}

.animate-fade {
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
