/* ShrinkPix Website Styles */

:root {
  --primary-color: #007AFF;
  --primary-dark: #0051D5;
  --secondary-color: #34C759;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --background: #ffffff;
  --background-alt: #f5f5f7;
  --border-color: #d2d2d7;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 28px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--background-alt);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Feature Grid */
.features {
  padding: 80px 0;
  background: var(--background-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 20px;
  color: var(--text-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--background);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* Pricing Section */
.pricing {
  padding: 80px 0;
}

.pricing-card {
  background: var(--background);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

.price {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 24px 0;
}

.price-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.features-list {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}

.features-list li {
  padding: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 20px;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: var(--background-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--background);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
footer {
  background: var(--text-primary);
  color: #ffffff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Support Page */
.support-page {
  padding: 80px 0;
}

.support-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--background);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

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

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

/* Privacy Page */
.privacy-page {
  padding: 80px 0;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-page h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
}

.privacy-page h2 {
  font-size: 32px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.privacy-page h3 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.privacy-page p,
.privacy-page li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-page ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

.last-updated {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 40px;
}

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

  .hero .subtitle {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .nav-links {
    gap: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
}
