/* ==========================================================================
   FreshCoconut.co Return Policy Styling
   ========================================================================== */

:root {
  --primary-dark: #072B1A;
  --primary-green: #0E4E30;
  --primary-emerald: #14804E;
  --accent-gold: #D49B4B;
  --accent-light-gold: #FBEAD2;
  --accent-soft-green: #E8F5EE;
  
  --bg-dark: #051A10;
  --bg-light: #F7FAF8;
  --bg-card: #FFFFFF;
  
  --text-main: #1C2E25;
  --text-muted: #536B5E;
  --text-light: #F4F9F6;
  
  --border-light: #E0ECE5;
  --shadow-sm: 0 4px 12px rgba(14, 78, 48, 0.05);
  --shadow-md: 0 10px 30px rgba(14, 78, 48, 0.1);
  --shadow-lg: 0 20px 40px rgba(7, 43, 26, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title, .brand-logo {
  font-family: 'Outfit', sans-serif;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #072B1A, #14804E);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.announcement-bar strong {
  color: var(--accent-gold);
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-dot {
  color: var(--primary-emerald);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-emerald);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-emerald);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(20, 128, 78, 0.3);
}

.btn-primary:hover {
  background-color: #0F663E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 128, 78, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-emerald);
  color: var(--primary-emerald);
}

.btn-outline:hover {
  background-color: var(--accent-soft-green);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #051A10 0%, #0E4E30 60%, #072B1A 100%);
  color: #FFFFFF;
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(20, 128, 78, 0.25) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(212, 155, 75, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  z-index: 2;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light-gold);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 12px;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.search-box input::placeholder {
  color: #94A39A;
}

/* Quick Stats */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 2.2rem;
}

.stat-text h3 {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.stat-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Section Shared */
.section {
  padding: 72px 24px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: var(--primary-emerald);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Interactive Checker Card */
.checker-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.category-tabs {
  display: flex;
  background-color: var(--accent-soft-green);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: 180px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--primary-emerald);
  border-bottom-color: var(--primary-emerald);
}

.tab-btn:hover:not(.active) {
  color: var(--primary-dark);
  background: rgba(20, 128, 78, 0.05);
}

.tab-content-container {
  padding: 40px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.pane-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.pane-info h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin: 12px 0;
}

.pane-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin-bottom: 28px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-emerald);
  font-weight: 800;
}

.visual-box {
  background: linear-gradient(135deg, #E8F5EE 0%, #FDF8F2 100%);
  border: 2px dashed #BEE3D0;
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

.visual-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.coconut-illustration {
  font-size: 4rem;
  margin-bottom: 12px;
}

.visual-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Badges & Pills */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success { background: #D2F2E1; color: #0E4E30; }
.badge-warning { background: #FDE8CD; color: #8C530A; }
.badge-neutral { background: #E2EAF4; color: #1E3A8A; }
.badge-info { background: #E0F2FE; color: #0369A1; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-green { background: #E8F5EE; color: var(--primary-emerald); }
.pill-blue { background: #EFF6FF; color: #1D4ED8; }
.pill-gray { background: #F3F4F6; color: #4B5563; }

/* Table */
.table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow-x: auto;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.policy-table th {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.policy-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-table tr:hover {
  background-color: rgba(232, 245, 238, 0.4);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary-emerald);
  font-weight: 800;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 26, 16, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon {
  font-size: 2.5rem;
}

.modal-header h2 {
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.form-group input[type="text"],
.form-group select,
.form-group input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(20, 128, 78, 0.15);
}

.form-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 12px 0;
}

.copyright {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

.footer-links h4 {
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .pane-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-content { grid-template-columns: 1fr; }
}
