/* 
   PetPaw Premium CSS Stylesheet
   Designed for maximum aesthetic appeal, modern typography, glassmorphism, 
   smooth transitions, and fully responsive layouts.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Fredoka:wght@600;700&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Fredoka', sans-serif;

  /* Colors based on original brand palette */
  --primary: #D26939;         /* Matte Soft Orange */
  --primary-light: #E28D68;   /* Light Orange Accent */
  --primary-glow: rgba(210, 105, 57, 0.15);
  --secondary: #E4B382;       /* Soft Sand Yellow */
  --text-main: #2C2420;       /* Deep Dark Brown */
  --text-muted: #6E625A;      /* Medium Muted Brown */
  --bg-cream: #FFF9F3;        /* Warm Cream Base */
  --bg-white: #FFFFFF;
  --bg-gradient: linear-gradient(135deg, #FFF9F3 0%, #FFEFE2 100%);
  --border-glass: rgba(210, 105, 57, 0.08);
  --shadow-premium: 0 20px 40px -15px rgba(44, 36, 32, 0.08);
  --shadow-hover: 0 30px 60px -20px rgba(210, 105, 57, 0.15);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-gradient);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Beautiful custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Header / Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-family: var(--font-logo);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(210, 105, 57, 0.2);
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--bg-white) !important;
  box-shadow: 0 4px 12px rgba(210, 105, 57, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(210, 105, 57, 0.35);
}

/* Main layouts */
main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

/* Premium Download Buttons */
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--text-main);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-premium);
}

.btn-store svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-store-text {
  text-align: left;
}

.btn-store-text span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.btn-store-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-top: -2px;
}

.btn-store:hover {
  transform: translateY(-4px);
  background: #000000;
  box-shadow: var(--shadow-hover);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Policy Content Layout */
.policy-container {
  background: var(--bg-white);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-premium);
}

.policy-header {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.policy-header h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
}

.policy-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-content h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

.policy-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.policy-content ul {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 8px;
}

.policy-content ul li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.policy-content ul li::before {
  content: "🐾";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.policy-content th {
  background: var(--bg-cream);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--primary-light);
}

.policy-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.policy-content tr:hover td {
  background: rgba(210, 105, 57, 0.02);
}

.contact-box {
  background: var(--bg-cream);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 36px;
}

.contact-box strong {
  color: var(--text-main);
}

.contact-box a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Account Deletion Steps Highlight Box */
.deletion-box {
  background: rgba(220, 53, 69, 0.03);
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.deletion-box h3 {
  font-family: var(--font-heading);
  color: #DC3545;
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deletion-box ol {
  padding-left: 20px;
  color: var(--text-muted);
}

.deletion-box ol li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Footer styling */
footer {
  background: var(--text-main);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 24px 40px 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

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

.footer-list h4 {
  font-family: var(--font-heading);
  color: var(--bg-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(210, 105, 57, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(210, 105, 57, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(210, 105, 57, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
  
  .hero p {
    font-size: 16px;
  }

  .nav-container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .policy-container {
    padding: 24px;
  }

  .policy-header h1 {
    font-size: 28px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-links-group {
    gap: 32px;
    width: 100%;
    justify-content: space-between;
  }
}

.logo-img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }

