/* Platinum Pine - Natural Kick Landing Page */
/* Colors: deep purple, gold, green (logo palette) */

:root {
  --purple: #4a2c6a;
  --purple-dark: #2d1b42;
  --gold: #c9a227;
  --gold-light: #e6c04a;
  --green: #2d5a3d;
  --green-bright: #3d7a52;
  --bg-dark: #1a151f;
  --bg-card: #241b2e;
  --text: #f5f0f8;
  --text-muted: #a89bb8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: 80px; /* space for sticky CTA */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* Hero */
.hero {
  padding: 40px 0 60px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

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

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

.hero-logo {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.price-mrp {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-badge {
  background: var(--green);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--purple-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.4);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.15rem;
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
  min-height: 52px;
  padding: 16px 24px;
}

@media (min-width: 768px) {
  .btn-block {
    min-height: 48px;
    padding: 14px 24px;
  }
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product Carousel */
.product-carousel {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  background: #fff;
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
}

.carousel-slide.active {
  display: block;
  animation: carouselFade 0.4s ease;
}

@keyframes carouselFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.9);
  color: var(--purple-dark);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: var(--gold-light);
}

.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--gold);
}

.product-placeholder {
  background: #fff;
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  max-width: 280px;
}

.product-img {
  width: 170px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.carousel-slide .product-img {
  width: 170px;
}

@media (min-width: 768px) {
  .carousel-slide {
    padding: 32px;
  }
  .carousel-slide .product-img {
    width: 220px;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }
  .carousel-prev { left: -12px; }
  .carousel-next { right: -12px; }
}

/* Benefits */
.benefits {
  padding: 60px 0;
  background: var(--bg-card);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--bg-dark);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

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

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

/* CTA Section */
.cta-section {
  padding: 60px 0;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: var(--purple-dark);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
}

/* Footer */
.footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Checkout Page */
.checkout-page {
  min-height: 100vh;
  padding: 24px 0 100px;
}

@media (min-width: 768px) {
  .checkout-page {
    padding: 40px 0 60px;
  }
}

.checkout-header {
  text-align: center;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .checkout-header {
    margin-bottom: 40px;
  }
}

.checkout-header .logo-img {
  height: 44px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .checkout-header .logo-img {
    height: 50px;
    margin-bottom: 16px;
  }
}

.checkout-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .checkout-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
}

.checkout-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Checkout Layout - Desktop 2-col, Mobile stacked */
.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .checkout-layout {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }
}

.order-form {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

@media (min-width: 768px) {
  .order-form {
    padding: 32px;
  }
}

@media (min-width: 900px) {
  .order-form {
    max-width: 520px;
  }
}

/* Sidebar - Desktop only, sticky; hidden on mobile */
.checkout-sidebar {
  flex-shrink: 0;
  display: none;
}

@media (min-width: 900px) {
  .checkout-sidebar {
    display: block;
    width: 320px;
    position: sticky;
    top: 24px;
  }
}

.sidebar-product {
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.sidebar-product-img {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sidebar-product h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.sidebar-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.sidebar-price .mrp {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.order-summary-sidebar {
  margin-bottom: 0;
}

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

@media (min-width: 768px) {
  .form-group {
    margin-bottom: 20px;
  }
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .form-group label {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 10px;
  background: var(--bg-dark);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  min-height: 48px;
  transition: border-color 0.2s;
}

@media (min-width: 768px) {
  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
    min-height: 44px;
  }
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 88px;
  resize: vertical;
}

@media (min-width: 768px) {
  .form-group textarea {
    min-height: 80px;
  }
}

.phone-input-group {
  display: flex;
  gap: 10px;
}

.phone-country {
  width: 100px;
  padding: 14px 10px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 10px;
  background: var(--bg-dark);
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  flex-shrink: 0;
  min-height: 48px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .phone-country {
    padding: 12px 10px;
    min-height: 44px;
  }
}

.phone-input-group input {
  flex: 1;
  min-width: 0;
}

/* Address section */
.address-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.address-section-title {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.form-group-pincode {
  position: relative;
}

.form-group-pincode .btn-fetch-location {
  margin-top: 10px;
  padding: 12px 18px;
  font-size: 0.95rem;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  min-height: 44px;
}

.form-group-pincode .btn-fetch-location:hover:not(:disabled) {
  opacity: 0.9;
}

.form-group-pincode .btn-fetch-location:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pincode-status {
  display: block;
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 20px;
}

.pincode-status.success {
  color: var(--green);
}

.pincode-status.error {
  color: #e74c3c;
}

/* Quantity selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 140px;
}

.qty-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: var(--bg-dark);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:last-of-type {
  border-radius: 0 10px 10px 0;
}

.qty-btn:hover {
  background: rgba(201, 162, 39, 0.15);
}

.quantity-selector input {
  width: 52px;
  text-align: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: 14px 8px;
  min-height: 48px;
}

@media (min-width: 768px) {
  .qty-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .quantity-selector input {
    width: 48px;
    min-height: 44px;
  }
}

.payment-method {
  margin-bottom: 24px;
}

.payment-method label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-dark);
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 56px;
}

@media (min-width: 768px) {
  .payment-option {
    padding: 14px 16px;
    min-height: auto;
  }
}

.payment-option:hover {
  border-color: var(--gold);
}

.payment-option.selected {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.payment-option input {
  display: none;
}

.payment-option .payment-label {
  flex: 1;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .payment-option .payment-label {
    font-size: 0.9rem;
  }
}

.order-summary {
  background: var(--bg-dark);
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

/* Hide form order summary on desktop when sidebar visible */
@media (min-width: 900px) {
  .order-form .order-summary:not(.order-summary-sidebar) {
    display: none;
  }
}

.order-summary p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.order-summary .total {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.success-card {
  max-width: 480px;
  text-align: center;
  background: var(--bg-card);
  padding: 48px 32px;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 24px;
  color: var(--green);
  line-height: 1;
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.success-message {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.success-card .btn {
  margin-top: 16px;
}

/* Order ID block */
.order-id-block {
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.order-id-block.hidden {
  display: none;
}

.order-id-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.order-id-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.order-id-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Policy Pages */
.policy-page {
  min-height: 100vh;
  padding: 40px 0 60px;
}

.policy-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

@media (max-width: 600px) {
  .policy-content {
    padding: 28px 20px;
  }
}

.policy-content h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.policy-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.policy-content section {
  margin-bottom: 28px;
}

.policy-content h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.policy-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 8px;
}

/* Footer with links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}
