/* Pin Up AZ - Modern Design with Red & Turquoise Theme */

:root {
  --primary-red: #e91e63;
  --dark-red: #c2185b;
  --primary-turquoise: #00bcd4;
  --dark-turquoise: #0097a7;
  --bg-dark: #1a1a2e;
  --bg-light: #16213e;
  --text-light: #ffffff;
  --text-gray: #b8b8b8;
  --accent-gradient: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--dark-red) 100%
  );
  --turquoise-gradient: linear-gradient(
    135deg,
    var(--primary-turquoise) 0%,
    var(--dark-turquoise) 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header Styles */
.site-header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary-turquoise);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.site-logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 188, 212, 0.3));
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--turquoise-gradient);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-turquoise);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-turquoise);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Banner Styles */
.banner-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 188, 212, 0.2);
  margin: 2rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(233, 30, 99, 0.3);
}

/* Section Styles */
section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(0, 188, 212, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

section:hover {
  transform: translateY(-3px);
  border-color: var(--primary-turquoise);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-turquoise) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--primary-turquoise);
  position: relative;
  padding-left: 1.5rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: var(--accent-gradient);
  border-radius: 3px;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-gray);
  font-size: 1.05rem;
}

p a,
section a:not(.footer-section a) {
  color: var(--primary-turquoise);
  text-decoration: underline;
  transition: color 0.3s ease;
}

p a:hover,
section a:not(.footer-section a):hover {
  color: var(--primary-red);
}

ul li,
ol li {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background: var(--turquoise-gradient);
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-gray);
}

tbody tr:hover {
  background: rgba(0, 188, 212, 0.1);
}

/* FAQ Styles */
dl {
  margin: 1.5rem 0;
}

dt {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-turquoise);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

dt::before {
  content: "❓";
  position: absolute;
  left: 0;
  font-size: 1rem;
}

dd {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-gray);
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--primary-red);
  border-radius: 5px;
}

/* Footer Styles */
.site-footer {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  margin-top: 4rem;
  border-top: 2px solid var(--primary-red);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section {
  padding: 1rem;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-turquoise);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p,
.footer-section ul li {
  color: var(--text-gray);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  margin-left: 0;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary-turquoise);
  padding-left: 5px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-gray);
  margin: 0;
  font-size: 0.95rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.3));
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.active {
    max-height: 400px;
    border-bottom: 2px solid var(--primary-turquoise);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a {
    display: block;
    padding: 1rem;
  }

  .main-content {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.75rem 0.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .site-logo {
    height: 40px;
  }

  section {
    padding: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease;
}

/* Bonus Calculator Styles */
.bonus-calculator {
  background: linear-gradient(
    135deg,
    rgba(233, 30, 99, 0.1) 0%,
    rgba(0, 188, 212, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 2px solid rgba(0, 188, 212, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.bonus-calculator:hover {
  border-color: var(--primary-turquoise);
  box-shadow: 0 15px 50px rgba(0, 188, 212, 0.4);
}

.calculator-header {
  text-align: center;
  margin-bottom: 2rem;
}

.calculator-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.calculator-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--primary-turquoise) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.calculator-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.calculator-body {
  max-width: 600px;
  margin: 0 auto;
}

.input-group {
  margin-bottom: 2rem;
}

.input-group label {
  display: block;
  color: var(--primary-turquoise);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.amount-display {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

.currency {
  font-size: 1.5rem;
  color: var(--primary-turquoise);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    var(--primary-red) 0%,
    var(--primary-turquoise) 100%
  );
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  margin-bottom: 0.5rem;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
  border: 3px solid var(--primary-turquoise);
  transition: all 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.8);
  border-color: var(--primary-red);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
  border: 3px solid var(--primary-turquoise);
  transition: all 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.8);
  border-color: var(--primary-red);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.bonus-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(0, 188, 212, 0.2);
  transition: all 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-turquoise);
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}

.detail-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.detail-content {
  flex: 1;
}

.detail-label {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0.3rem;
}

.detail-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.bonus-amount {
  color: var(--primary-turquoise);
}

.total-amount {
  color: var(--primary-red);
}

.bonus-percent {
  color: #ffd700;
}

.bonus-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-red) 0%,
    var(--primary-turquoise) 100%
  );
  border-radius: 10px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.progress-text {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.calculator-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--turquoise-gradient);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.4);
  margin-bottom: 1rem;
}

.calculator-cta:hover {
  background: var(--accent-gradient);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.5);
}

.calculator-cta svg {
  transition: transform 0.3s ease;
}

.calculator-cta:hover svg {
  transform: translateX(5px);
}

.calculator-note {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.85rem;
  font-style: italic;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border-left: 3px solid var(--primary-turquoise);
}

/* Responsive Bonus Calculator */
@media (max-width: 768px) {
  .bonus-calculator {
    padding: 1.5rem;
  }

  .calculator-icon {
    font-size: 2.5rem;
  }

  .calculator-title {
    font-size: 1.5rem;
  }

  .calculator-subtitle {
    font-size: 1rem;
  }

  .amount-display {
    font-size: 2.5rem;
  }

  .bonus-details {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .detail-card {
    padding: 1rem;
  }

  .detail-value {
    font-size: 1.1rem;
  }

  .calculator-cta {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .calculator-title {
    font-size: 1.3rem;
  }

  .amount-display {
    font-size: 2rem;
  }

  .currency {
    font-size: 1.2rem;
  }

  .detail-icon {
    font-size: 1.5rem;
  }

  .calculator-cta {
    font-size: 1rem;
  }
}

/* Author Photo Styles */
.author-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-turquoise);
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
  flex-shrink: 0;
}

.author-header h1 {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .author-header {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    width: 120px;
    height: 120px;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--turquoise-gradient);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  color: white;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
  background: var(--accent-gradient);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-turquoise);
  outline-offset: 2px;
}

/* Bottom Banner Styles */
.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--dark-red) 50%,
    var(--primary-turquoise) 100%
  );
  padding: 0.8rem 2rem;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.bottom-banner.show {
  transform: translateY(0);
}

.bottom-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.bottom-banner-text {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  flex: 1;
}

.bottom-banner-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  background: white;
  color: var(--primary-red);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.bottom-banner-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  background: #fff;
}

/* Responsive Bottom Banner */
@media (max-width: 768px) {
  .bottom-banner {
    padding: 0.7rem 1rem;
  }

  .bottom-banner-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .bottom-banner-text {
    font-size: 1rem;
  }

  .bottom-banner-button {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .bottom-banner-text {
    font-size: 0.9rem;
  }

  .bottom-banner-button {
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .banner-image,
  .bottom-banner {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  section {
    background: white;
    border: 1px solid #ddd;
  }
}
