/* ============================
   GLOBAL STYLES - PSICODAY PREMIUM
   ============================ */
@import 'variables.css';
@import 'animations.css';

/* ── Reset ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  /* Subtle Texture Overlay */
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236d28d9' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl);  }

p { margin-bottom: var(--space-md); }

/* ── Utility Classes ── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-dark { background: var(--color-primary-dark); color: var(--color-white); }
.bg-light { background: var(--color-bg-alt); }
.text-center { text-align: center; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Section ── */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}
.section--beige { background: #faf5ff; } /* Very soft purple white */
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-primary-dark); color: var(--color-white); }

/* ── Section Header ── */
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-accent-soft);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(109, 40, 217, 0.1);
}

.section__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-lg);
}
.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.6;
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.section__header .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--white:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
}

.btn--block { width: 100%; }
.btn--sm { font-size: var(--fs-sm); padding: 0.5rem 1.25rem; }
.btn--lg { font-size: var(--fs-md); padding: 1.1rem 2.5rem; }

/* ── Cards & Elements ── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(109, 40, 217, 0.05);
}
.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
}

@media (max-width: 768px) {
  .section { padding: var(--space-3xl) 0; }
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: 1.875rem; }
  .section__title { font-size: 1.875rem; }
}
