/* ==========================================================================
   CSS Variables - Clean Modern Design
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors - Modern Clean Palette */
  --color-primary: #FE5144;
  --color-primary-dark: #E03830;
  --color-primary-light: #FFF1F0;
  --color-secondary: #4B8BE0;
  --color-accent: #F97316;
  --color-background: #ffffff;
  --color-surface: #F9FAFB;
  --color-surface-alt: #F3F4F6;
  --color-text: #111827;
  --color-text-secondary: #374151;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  --spacing-3xl: 8rem;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Container */
  --container-max-width: 1200px;
  --container-narrow: 720px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-family);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.8;
  color: var(--color-text);
}

.site-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--spacing-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }
}

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

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

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface-alt);
}

.lang-toggle.active {
  border-color: var(--color-text-muted);
}

.lang-toggle.active .lang-arrow {
  transform: rotate(180deg);
}

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-code {
  font-weight: 600;
}

.lang-arrow {
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 100;
  overflow: hidden;
}

.lang-menu.hidden {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.lang-option:hover {
  background-color: var(--color-surface);
  color: var(--color-text);
}

.lang-option-active {
  background-color: var(--color-surface);
  font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
}

@media (min-width: 640px) {
  .hero {
    padding: var(--spacing-2xl) var(--spacing-md);
  }
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

.hero-title .highlight {
  color: var(--color-primary);
}

/* Rotating words animation */
.rotating-words {
  display: inline-block;
  position: relative;
  color: var(--color-primary);
}

.rotating-words .word {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.rotating-words .word.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.rotating-words .word.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

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

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

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

.btn-secondary:hover {
  background: var(--color-surface-alt);
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn-store {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-store:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-store img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .btn-store img {
    height: 56px;
  }
}

.app-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   App Preview Section
   ========================================================================== */
.app-preview {
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-2xl);
  overflow: hidden;
}

.app-preview-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
}

.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  flex-shrink: 0;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Placeholder screen content */
.screen-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--spacing-md);
  padding-top: 40px;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.screen-avatar {
  width: 32px;
  height: 32px;
  background: var(--color-primary-light);
  border-radius: 50%;
}

.screen-title-bar {
  flex: 1;
  height: 12px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-full);
}

.screen-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.screen-card-image {
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #E0F2FE 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-xs);
}

.screen-card-title {
  height: 10px;
  width: 70%;
  background: var(--color-surface-alt);
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.screen-card-text {
  height: 8px;
  width: 50%;
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.screen-nav {
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-sm);
  background: white;
  border-top: 1px solid var(--color-border);
}

.screen-nav-item {
  width: 24px;
  height: 24px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
}

.screen-nav-item.active {
  background: var(--color-primary);
}

/* Secondary phones (smaller) */
.phone-mockup-secondary {
  width: 220px;
  height: 440px;
  opacity: 0.6;
  transform: scale(0.9);
}

@media (max-width: 900px) {
  .phone-mockup-secondary {
    display: none;
  }
}

@media (max-width: 640px) {
  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-mockup::before {
    width: 60px;
    height: 20px;
    top: 12px;
  }

  .phone-screen {
    border-radius: 24px;
  }
}

@media (max-width: 400px) {
  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .app-preview {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-lg);
  }
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
  padding: var(--spacing-lg) var(--spacing-sm);
  background: var(--color-surface);
}

@media (min-width: 640px) {
  .features {
    padding: var(--spacing-2xl) var(--spacing-md);
  }
}

.features-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.features-header h2 {
  margin-bottom: var(--spacing-sm);
}

.features-header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: var(--spacing-xs);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter {
  padding: var(--spacing-lg) var(--spacing-sm);
}

@media (min-width: 640px) {
  .newsletter {
    padding: var(--spacing-2xl) var(--spacing-md);
  }
}

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

.newsletter-container h2 {
  margin-bottom: var(--spacing-sm);
}

.newsletter-container > p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.newsletter-form {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

@media (min-width: 500px) {
  .form-group {
    flex-direction: row;
  }
}

.form-consent {
  margin-top: var(--spacing-sm);
  text-align: left;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.consent-checkbox {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.consent-text {
  flex: 1;
  user-select: none;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-background);
  transition: all 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.newsletter-input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-submit {
  padding: 0.875rem 1.75rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.newsletter-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.newsletter-submit:active {
  transform: translateY(0);
}

.newsletter-submit:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  text-align: center;
}

.form-success {
  background: #D1FAE5;
  border: 1px solid #10B981;
  color: #065F46;
}

.form-error {
  background: #FEE2E2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

.hidden {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-md) var(--spacing-sm);
  margin-top: auto;
}

@media (min-width: 640px) {
  .site-footer {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-copyright p {
  color: inherit;
  margin: 0;
}

/* Footer Extended Layout */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 480px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
}

.footer-brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand-logo span {
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--color-primary);
  color: white;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   Legal Pages (Privacy, Terms, Contact)
   ========================================================================== */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.legal-page h1 {
  margin-bottom: var(--spacing-sm);
}

.legal-page .last-updated {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xl);
}

.legal-page h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.legal-page p,
.legal-page ul {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}

.legal-page ul {
  margin-left: var(--spacing-md);
}

.legal-page li {
  margin-bottom: 0.25rem;
}

.legal-page hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--spacing-lg) 0;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
  font-size: 0.9375rem;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-text);
}

.legal-page td {
  color: var(--color-text-secondary);
}

.legal-page tbody tr:hover {
  background: var(--color-surface);
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-consent-backdrop.show {
  opacity: 1;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cookie-consent-content {
    padding: 1.5rem;
    gap: var(--spacing-sm);
  }
}

@media (min-width: 768px) {
  .cookie-consent-content {
    padding: var(--spacing-md);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
  }
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cookie-consent-text h3 {
    font-size: 1.125rem;
  }
}

.cookie-consent-text p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .cookie-consent-text p {
    font-size: 0.875rem;
  }
}

.cookie-consent-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 640px) {
  .cookie-consent-actions {
    flex-direction: row;
    gap: var(--spacing-sm);
    width: auto;
  }
}

@media (min-width: 768px) {
  .cookie-consent-actions {
    flex-shrink: 0;
  }
}

.cookie-consent-btn {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}

@media (min-width: 640px) {
  .cookie-consent-btn {
    padding: 0.75rem 1.5rem;
  }
}

.cookie-consent-btn-accept {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.cookie-consent-btn-accept:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.cookie-consent-btn-reject {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.cookie-consent-btn-reject:hover {
  background: var(--color-surface);
  border-color: var(--color-text-muted);
}

/* ==========================================================================
   Old classes (kept for backward compatibility during transition)
   ========================================================================== */
.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .app-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
}

/* Legacy newsletter-inline styles - redirect to new newsletter */
.newsletter-inline {
  max-width: 100%;
  margin-top: var(--spacing-lg);
}

.newsletter-inline h2 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.newsletter-inline p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}
