/*
Theme Name: Aura AI Tools
Theme URI: https://auraaitools.com
Author: Aura AI Tools
Author URI: https://auraaitools.com
Description: Custom homepage theme for Aura AI Tools — hero, tools grid, and footer, built with Odoo's signature purple/gray/accent palette.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aura-ai-tools
*/

/* =========================================================
   DESIGN TOKENS — matched to Odoo's marketing-site palette
========================================================= */
:root {
  --ink:          #1D1D2C;
  --purple:       #714B67; /* Odoo's signature purple */
  --purple-dark:  #5B3D54;
  --purple-tint:  #F1EAEF;
  --gray-bg:      #F4F4F6;
  --gray-btn:     #E7E5EA;
  --gray-text:    #4A4A55;
  --gray-muted:   #8A8894;
  --yellow:       #F5C518;
  --blue:         #3B82F6;
  --teal:         #00A09D;
  --orange:       #E97D3C;
  --pink:         #C15382;
  --violet:       #8C6FD1;
  --white:        #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

/* =========================================================
   SITE HEADER
========================================================= */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.site-branding .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-text);
}
.primary-nav a:hover { color: var(--purple); }

.header-cta {
  background: var(--purple);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}

/* =========================================================
   HERO
========================================================= */
.aura-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px 70px;
  text-align: center;
  position: relative;
}

.aura-h1 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
  margin: 0 0 6px;
}

.aura-h1 .hl {
  position: relative;
  white-space: nowrap;
}
.aura-h1 .hl::before {
  content: "";
  position: absolute;
  left: -8px; right: -8px; top: 8%;
  bottom: 4%;
  background: var(--yellow);
  transform: rotate(-1.5deg);
  border-radius: 6px 10px 8px 10px;
  z-index: -1;
}

.aura-h2 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 42px);
  margin: 0 0 34px;
  position: relative;
  display: inline-block;
}
.aura-h2 .ul { position: relative; }
.aura-h2 .ul::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 5px;
  background: var(--blue);
  border-radius: 3px;
  transform: rotate(-0.5deg);
}

.aura-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.aura-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: transform .15s ease;
}
.aura-btn:hover { transform: translateY(-2px); }

.aura-btn-primary { background: var(--purple); color: #fff; }
.aura-btn-secondary { background: var(--gray-btn); color: var(--gray-text); }

.aura-price {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 22px;
  color: var(--purple-dark);
  line-height: 1.15;
  position: absolute;
  right: -40px;
  top: -46px;
  text-align: left;
  display: none;
}
@media (min-width: 760px) { .aura-price { display: block; } }
.aura-price svg { position: absolute; left: -58px; top: 6px; }

/* =========================================================
   TOOLS GRID
========================================================= */
.aura-grid-section {
  background: var(--gray-bg);
  clip-path: ellipse(75% 100% at 50% 0%);
  padding: 100px 24px 70px;
  margin-top: -40px;
}

.aura-grid-inner { max-width: 1120px; margin: 0 auto; }

.aura-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px 28px;
}
@media (max-width: 900px) { .aura-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .aura-grid { grid-template-columns: repeat(2, 1fr); } }

.aura-card { text-align: left; transition: transform .15s ease; }
.aura-card:hover { transform: translateY(-3px); }

.aura-icon {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.aura-icon svg { width: 62%; height: 62%; }

.aura-card-label { font-size: 15px; font-weight: 600; color: var(--ink); }

.aura-footer-row {
  max-width: 1120px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 4px;
}

.aura-toggle-group { display: flex; align-items: center; gap: 10px; }
.aura-sparkle { width: 22px; height: 22px; }

.aura-switch {
  width: 42px; height: 22px;
  background: var(--purple-dark);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
}
.aura-switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
}

.aura-toggle-label { font-size: 14.5px; color: var(--gray-text); font-weight: 500; }

.aura-view-all {
  color: var(--purple-dark);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aura-view-all:hover { text-decoration: underline; }

/* =========================================================
   SITE FOOTER
========================================================= */
.site-footer {
  background: var(--ink);
  color: #C9C7D6;
  padding: 50px 24px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { text-decoration: none; color: #C9C7D6; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #35354A;
  font-size: 13px;
  color: #8886A0;
  text-align: center;
}

/* =========================================================
   BASIC PAGE / SINGLE CONTENT (for page.php / index.php)
========================================================= */
.aura-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
  line-height: 1.7;
}
.aura-content h1 { font-family: 'Caveat', cursive; font-size: 42px; }
