/* ResizeWizard Website Styles */

/* CSS Variables */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a28;
  --bg-card: #16161f;
  --fg-primary: #f0f0f5;
  --fg-secondary: #a0a0b0;
  --fg-muted: #6c6c7e;
  --border-color: #2a2a3a;
  --accent: #4a90d9;
  --accent-hover: #5a9fe6;
  --accent-light: rgba(74, 144, 217, 0.15);
  --gradient-start: #4a90d9;
  --gradient-end: #7c5ce7;
  --success: #28a745;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: 0.2s ease;
  --container-width: 1200px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--fg-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--fg-muted);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg-primary);
  font-weight: 600;
  font-size: 18px;
}

.nav-logo svg {
  color: var(--accent);
}

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

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

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

.nav-cta {
  padding: 10px 20px !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg-primary);
  transition: all var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--fg-primary);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 0;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse at top, rgba(74, 144, 217, 0.1), transparent 50%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border-radius: 100px;
  font-size: 14px;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}

.badge {
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--fg-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--fg-primary);
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Browser Mockup */
.hero-image {
  display: flex;
  justify-content: center;
}

.browser-mockup {
  width: 100%;
  max-width: 400px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.browser-header {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-content {
  padding: 24px;
}

.extension-preview {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-color);
}

.ext-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 600;
}

.ext-logo {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 6px;
}

.ext-section {
  margin-bottom: 16px;
}

.ext-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  display: block;
  margin-bottom: 8px;
}

.ext-size {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

.ext-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preset {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.preset.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

/* Features Section */
.features {
  padding: 100px 0;
}

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

.section-header p {
  color: var(--fg-secondary);
  font-size: 18px;
  margin-top: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--fg-secondary);
  font-size: 15px;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--fg-secondary);
  font-size: 15px;
}

.step-arrow {
  color: var(--fg-muted);
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-light), transparent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
}

.price-period {
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--fg-secondary);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  color: var(--success);
  flex-shrink: 0;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--fg-muted);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(74, 144, 217, 0.15), transparent 70%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  color: var(--fg-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-logo svg {
  color: var(--accent);
}

.footer-brand p {
  color: var(--fg-secondary);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--fg-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--fg-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--fg-muted);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* Legal Pages */
.legal-page {
  padding: 140px 0 80px;
  min-height: calc(100vh - 200px);
}

.legal-page .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  max-width: 800px;
  color: var(--fg-primary);
}

.legal-updated {
  color: var(--fg-muted);
  font-size: 14px;
  margin-bottom: 48px;
  max-width: 800px;
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--fg-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--fg-secondary);
}

.legal-content p {
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

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

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Support Page */
.support-page .support-intro {
  color: var(--fg-secondary);
  font-size: 18px;
  margin-bottom: 48px;
  max-width: 600px;
}

.support-content {
  max-width: 800px;
}

.support-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

.support-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.support-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--fg-primary);
}

.support-section p {
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.support-section ul {
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.support-section li {
  margin-bottom: 8px;
}

.support-section a {
  color: var(--accent);
  text-decoration: none;
}

.support-section a:hover {
  text-decoration: underline;
}

.contact-form-container {
  margin-top: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 400px;
}

.contact-form-container iframe {
  border-radius: var(--radius-md);
}

/* Error Page (404) */
.error-page {
  padding: 140px 0 80px;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
}

.error-content h1 {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.error-content h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.error-content p {
  color: var(--fg-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .browser-mockup {
    max-width: 350px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

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

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

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

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

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.icon-heart { background-image: url(https://assets.michalferber.me/svg/heart.svg); background-size: contain; background-repeat: no-repeat; display: inline-block; width: 20px; height: 20px; }
