/* ========================================
   Capy Byte - Custom Styles (Bootstrap 5)
   Cute/Kawaii Theme
   ======================================== */

/* CSS Variables */
:root {
  --primary: #FF6B9D;
  --secondary: #C084FC;
  --accent: #FFA726;
  --background: #0a0a0f;
  --surface: #16161d;
  --border: #2a2a35;
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --pink: #FF6B9D;
  --purple: #C084FC;
  --orange: #FFA726;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 500;
}

/* Particle Canvas */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Container Custom */
.container-custom {
  position: relative;
  z-index: 1;
  max-width: 1140px;
}

/* Navigation */
.nav-minimal {
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1030;
  padding: 0.5rem 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05) rotate(-3deg);
}

.brand-text {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary) !important;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  letter-spacing: 0.03em;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.btn-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50rem;
  transition: all 0.2s ease;
  font-family: 'Quicksand', sans-serif;
}

.btn-lang:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 157, 0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

/* Section Padding */
.section-padding {
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 7rem 0;
  }
}

.pt-10 {
  padding-top: 9rem !important;
}

/* Background Colors */
.bg-surface {
  background-color: rgba(22, 22, 29, 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Typography */
.text-hero {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 50%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
  filter: drop-shadow(0 4px 20px rgba(255, 107, 157, 0.3));
}

@media (min-width: 768px) {
  .text-hero {
    font-size: 5rem;
  }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.text-large {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .text-large {
    font-size: 1.4rem;
  }
}

.text-section-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .text-section-title {
    font-size: 2.75rem;
  }
}

.text-small {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Minimal - Cute Style */
.card-minimal {
  background: linear-gradient(145deg, rgba(22, 22, 29, 0.9) 0%, rgba(22, 22, 29, 0.7) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-minimal:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.25), 0 0 0 1px rgba(255, 107, 157, 0.2);
  transform: translateY(-8px) scale(1.01);
}

.card-title-minimal {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  letter-spacing: 0.01em;
}

.card-text-minimal {
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Colors */
.text-pink {
  color: var(--pink) !important;
}

.text-purple {
  color: var(--purple) !important;
}

.text-orange {
  color: var(--orange) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

/* Buttons - Cute Style */
.btn-primary-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  letter-spacing: 0.02em;
  color: white;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border: none;
  border-radius: 50rem;
  box-shadow: 0 6px 25px rgba(255, 107, 157, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.btn-primary-minimal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-minimal:hover {
  box-shadow: 0 8px 35px rgba(255, 107, 157, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-3px) scale(1.02);
  color: white;
}

.btn-primary-minimal:hover::before {
  left: 100%;
}

.btn-primary-minimal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-social {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.1rem;
}

.btn-social.btn-dark {
  background: linear-gradient(135deg, #2a2a3a 0%, #1a1a25 100%);
  border: 1px solid var(--border);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-social.btn-dark:hover {
  background: linear-gradient(135deg, #3a3a4a 0%, #2a2a35 100%);
  border-color: var(--primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

.btn-social.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-social.btn-outline-light:hover {
  background: rgba(255, 107, 157, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.2);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.btn-icon:hover {
  background: rgba(255, 107, 157, 0.15);
  color: var(--primary);
  transform: scale(1.1);
}

/* Form Controls - Cute Style */
.form-label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
}

.input-minimal {
  background: rgba(22, 22, 29, 0.8);
  border: 2px solid var(--border);
  border-radius: 1rem;
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-family: 'Quicksand', sans-serif;
}

.input-minimal:focus {
  background: rgba(22, 22, 29, 0.9);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15);
  color: var(--text-primary);
  outline: none;
}

.input-minimal::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
  font-weight: 500;
}

.input-minimal:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

textarea.input-minimal {
  resize: none;
}

/* Icons */
.icon-sm {
  width: 1.1rem;
  height: 1.1rem;
}

.icon-lg {
  width: 1.75rem;
  height: 1.75rem;
}

/* Spacing */
.space-y-4 > * + * {
  margin-top: 1.5rem;
}

.max-w-3 {
  max-width: 48rem;
}

/* Modal Custom - Cute Style */
.modal-content-custom {
  background: linear-gradient(145deg, rgba(22, 22, 29, 0.98) 0%, rgba(22, 22, 29, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text-primary);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
  padding: 1.75rem 1.75rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.modal-body {
  padding: 1.25rem 1.75rem 1.75rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-body h3 {
  margin-top: 1.5rem;
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-weight: 600;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body ul {
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.modal-title {
  font-family: 'Fredoka', 'Quicksand', sans-serif;
  font-weight: 600;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
  transition: transform 0.2s ease;
}

.btn-close-white:hover {
  transform: rotate(90deg);
}

/* Status Messages - Cute Style */
.status-success {
  padding: 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.status-error {
  padding: 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
.border-secondary {
  border-color: var(--border) !important;
}

.btn-link.text-muted {
  color: var(--text-secondary) !important;
  text-decoration: underline;
  text-decoration-color: var(--border);
  padding: 0;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-link.text-muted:hover {
  color: var(--primary) !important;
  text-decoration-color: var(--primary);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.7s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bounce Animation for Cute Effect */
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scrollbar Styling - Cute */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: 10px;
  border: 2px solid var(--background);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--purple) 0%, var(--pink) 100%);
}

/* Selection - Cute */
::selection {
  background: rgba(255, 107, 157, 0.4);
  color: var(--text-primary);
}

/* Floating Animation for Cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Glow Effect for Hero Title */
.text-hero {
  filter: drop-shadow(0 4px 20px rgba(255, 107, 157, 0.3));
}

/* Cute decorative elements */
.cute-decoration::before {
  content: '✦';
  color: var(--pink);
  margin-right: 0.5rem;
}

.cute-decoration::after {
  content: '✦';
  color: var(--pink);
  margin-left: 0.5rem;
}
