/* ============================================================
   Paintora - Main Stylesheet
   Developer: Mohd Rijvan Khan Mogia
   Year: 2026
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS Variables - Design System
   ============================================================ */
:root {
  --primary-color: #a855f7;
  --secondary-color: #1e1b4b;
  --accent-color: #ec4899;
  --text-color: #1e293b;
  --muted-color: #64748b;
  --background-color: #ffffff;
  --light-background: #fdf4ff;
  --border-color: #e2e8f0;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 12px;
  --border-radius-full: 9999px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --transition-base: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--accent-color);
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-color);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.section-padding {
  padding: 90px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.section-subtitle {
  color: var(--muted-color);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
  color: #fff;
}

.btn-secondary-custom {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 34px;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-custom:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar-paintora {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  box-shadow: none;
}

.navbar-paintora.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow);
  padding: 10px 0;
}

.navbar-brand-paintora {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color) !important;
  text-decoration: none;
}

.navbar-brand-paintora .brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(168, 85, 247, 0.08);
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #6d28d9 60%, #a855f7 80%, #ec4899 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.15) 0%, transparent 60%);
  animation: pulse-bg 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--background-color), transparent);
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Floating shapes in hero */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #ec4899, transparent);
  top: 10%; right: 5%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #a855f7, transparent);
  bottom: 20%; left: 5%;
  animation-delay: 2s;
}

.hero-shape-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, #f59e0b, transparent);
  top: 50%; left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title .highlight {
  color: #fbbf24;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--secondary-color);
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-playstore:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  color: var(--secondary-color);
}

.btn-playstore .store-icon {
  font-size: 1.8rem;
  color: #01875f;
}

.btn-playstore .store-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted-color);
}

.btn-playstore .store-text span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
}

/* CSS Art - Palette Visual */
.hero-art {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.palette-visual {
  position: relative;
  width: 360px;
  height: 360px;
}

.palette-bg {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50% 50% 50% 30% / 50% 50% 30% 50%;
  position: absolute;
  top: 30px;
  left: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.palette-hole {
  width: 60px;
  height: 60px;
  background: rgba(30, 27, 75, 0.8);
  border-radius: 50%;
  position: absolute;
  bottom: 80px;
  right: 100px;
}

.color-blob {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.blob-1 { width: 55px; height: 55px; background: #ef4444; top: 60px; left: 80px; animation: float 5s ease-in-out infinite; }
.blob-2 { width: 50px; height: 50px; background: #f59e0b; top: 70px; left: 155px; animation: float 5s ease-in-out infinite 0.5s; }
.blob-3 { width: 60px; height: 60px; background: #10b981; top: 140px; left: 60px; animation: float 5s ease-in-out infinite 1s; }
.blob-4 { width: 50px; height: 50px; background: #3b82f6; top: 150px; left: 220px; animation: float 5s ease-in-out infinite 1.5s; }
.blob-5 { width: 55px; height: 55px; background: #a855f7; top: 220px; left: 95px; animation: float 5s ease-in-out infinite 2s; }
.blob-6 { width: 45px; height: 45px; background: #ec4899; top: 215px; left: 175px; animation: float 5s ease-in-out infinite 2.5s; }

.brush-visual {
  position: absolute;
  top: -20px;
  right: 0;
  width: 40px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(30deg);
}

.brush-handle {
  width: 12px;
  height: 120px;
  background: linear-gradient(to bottom, #8b5cf6, #a855f7);
  border-radius: 6px 6px 0 0;
}

.brush-ferrule {
  width: 14px;
  height: 15px;
  background: #c4b5fd;
  border-radius: 2px;
}

.brush-bristles {
  width: 20px;
  height: 50px;
  background: linear-gradient(to bottom, #ec4899, #f9a8d4);
  border-radius: 0 0 50% 50%;
}

/* ============================================================
   Features Section
   ============================================================ */
.features-section {
  background: var(--light-background);
}

.feature-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  transform: scale(1.1);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--muted-color);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* Card animation class */
.animate-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Tools Showcase Section
   ============================================================ */
.tools-section {
  background: #fff;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tool-item {
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 24px 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
}

.tool-item:hover {
  border-color: var(--primary-color);
  background: rgba(168, 85, 247, 0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tool-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  display: block;
  transition: all var(--transition-base);
}

.tool-item:hover .tool-icon {
  color: var(--accent-color);
  transform: scale(1.2);
}

.tool-item span.tool-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  display: block;
}

/* ============================================================
   Color Palette Section
   ============================================================ */
.palette-section {
  background: var(--light-background);
}

.palette-container {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.palette-group {
  margin-bottom: 2rem;
}

.palette-group:last-child {
  margin-bottom: 0;
}

.palette-group-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.swatches-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.swatch {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
}

.swatch:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.swatch.active {
  border-color: var(--secondary-color);
  transform: scale(1.15);
}

.swatch.active::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ============================================================
   Gallery Preview Section
   ============================================================ */
.gallery-section {
  background: #fff;
}

.gallery-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.gallery-canvas {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.gallery-canvas-1 {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 30%, #48dbfb 60%, #ff9ff3 100%);
}

.gallery-canvas-2 {
  background: linear-gradient(135deg, #5f27cd 0%, #341f97 30%, #00d2d3 60%, #01aaa4 100%);
}

.gallery-canvas-3 {
  background: linear-gradient(135deg, #1dd1a1 0%, #10ac84 30%, #f9ca24 60%, #f0932b 100%);
}

.gallery-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.05) 10px,
    rgba(255,255,255,0.05) 20px
  );
}

.gallery-canvas-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.gallery-body {
  padding: 20px;
  background: #fff;
}

.gallery-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 4px;
}

.gallery-body p {
  font-size: 0.85rem;
  color: var(--muted-color);
  margin: 0;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #312e81, #4c1d95);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.4rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer-paintora {
  background: var(--secondary-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 24px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-badges {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================================
   Scroll to Top Button
   ============================================================ */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

/* ============================================================
   Page Hero (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #312e81 50%, #4c1d95 100%);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent);
  border-radius: 50%;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}

.page-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb-paintora {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.breadcrumb-paintora a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb-paintora a:hover {
  color: #fff;
}

.breadcrumb-paintora span {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.breadcrumb-paintora .current {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
}

/* ============================================================
   Legal Content (Privacy Policy / Terms)
   ============================================================ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h2 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.legal-section p {
  color: var(--muted-color);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--muted-color);
  line-height: 1.9;
}

.legal-section ul li {
  margin-bottom: 0.4rem;
}

.legal-meta {
  background: var(--light-background);
  border-left: 4px solid var(--primary-color);
  padding: 16px 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-bottom: 2.5rem;
}

.legal-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-color);
}

.legal-meta strong {
  color: var(--secondary-color);
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-info-card {
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.4rem;
}

.contact-info-card p {
  color: var(--muted-color);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.form-paintora .form-control,
.form-paintora .form-select {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all var(--transition-base);
  background: var(--background-color);
}

.form-paintora .form-control:focus,
.form-paintora .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
  outline: none;
}

.form-paintora label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}

.form-feedback {
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

.form-feedback.error {
  color: #ef4444;
  display: block;
}

.form-feedback.success-msg {
  color: #10b981;
  display: block;
}

/* ============================================================
   About Page - App Overview
   ============================================================ */
.app-overview-card {
  background: linear-gradient(135deg, var(--secondary-color), #312e81);
  border-radius: 24px;
  padding: 50px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.app-overview-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,0.3), transparent);
  border-radius: 50%;
}

.app-stat {
  text-align: center;
  padding: 20px;
}

.app-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.mission-card {
  background: var(--light-background);
  border-radius: var(--border-radius);
  padding: 32px;
  border: 1px solid var(--border-color);
}

.mission-card h4 {
  color: var(--secondary-color);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.mission-card p {
  color: var(--muted-color);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   Smooth Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.7s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.7s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================================
   Alert / Toast
   ============================================================ */
.alert-paintora {
  border-radius: var(--border-radius);
  border: none;
  padding: 16px 20px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success-custom {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border-left: 4px solid #10b981;
}

.alert-error-custom {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
