/* ============================
   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.7;
  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='%237a5c58' fill-opacity='0.03'%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; }
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.2;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

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); }


/* ── 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--alt {
  background: var(--color-bg-alt);
}

/* ── Section Header ── */
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(201, 124, 124, 0.1);
  color: var(--color-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.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: 640px;
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}
.section__header .section__subtitle {
  margin: 0 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: 1rem 2.4rem;
  border-radius: var(--radius-xl);
  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-dark);
  transform: translateY(-3px);
  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-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  font-size: var(--fs-sm);
  padding: 0.7rem 1.6rem;
}
.btn--lg {
  font-size: var(--fs-md);
  padding: 1.2rem 3rem;
}

/* ── Cards & Elements ── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(122, 92, 88, 0.05);
}
.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

/* ── Glass Effect ── */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
}

/* ── 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: var(--fs-xl); }
  .logo-signature { font-size: 1.8rem; }
}
