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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1f2937;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem;
  background: transparent;
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
}

.main-content {
  background: transparent;
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  border: none;
  position: relative;
  transform: none;
  transition: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.sidebar {
  display: none;
}

/* Logo Section */
.logo-section {
  margin-bottom: 1.5rem;
  text-align: left;
}

.main-logo {
  height: 2.2rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.main-logo:hover {
  opacity: 1;
}

.logo {
  margin-bottom: 1.5rem;
  text-align: left;
}

.logo-img {
  height: 2.6rem;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.logo-img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  text-align: left;
  margin-bottom: 0;
  position: relative;
  max-width: 500px;
  padding: 0;
}

.hero::before {
  content: "NEWS";
  position: absolute;
  top: -1rem;
  left: -2rem;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(31, 41, 55, 0.03);
  z-index: 0;
  transform: rotate(-5deg);
}

/* Removed old brutalist styling - keeping clean for horizontal layout */

.title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  color: #1f2937;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  word-spacing: 0.1em;
  word-break: keep-all;
  hyphens: none;
  overflow-wrap: break-word;
  white-space: normal;
}

.title em {
  font-style: normal;
  font-weight: 900;
  color: #3b82f6;
  display: inline;
}

.subtitle {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.5;
  font-weight: 400;
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
  box-shadow: none;
  transform: none;
  position: relative;
  z-index: 2;
  max-width: 450px;
}

.form-header {
  display: none;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border-radius: 50px;
  padding: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  position: relative;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: transparent;
  color: #1f2937;
  transition: all 0.2s ease;
  font-weight: 500;
  margin-right: 0.5rem;
}

.email-input:focus {
  outline: none;
  background: #f9fafb;
}

.email-input::placeholder {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.submit-btn {
  padding: 1rem 2rem;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

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

.note {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.3;
  margin-top: 1.5rem;
  font-weight: 400;
}

.consent-section {
  margin-top: 0;
  padding: 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #64748b;
}

.consent-checkbox {
  display: none;
}

.checkmark {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 0.125rem;
}

.checkmark:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 0.375rem;
  height: 0.75rem;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.consent-checkbox:checked + .checkmark {
  background: #3b82f6;
  border-color: #3b82f6;
}

.consent-checkbox:checked + .checkmark:after {
  transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.consent-checkbox:focus + .checkmark {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.consent-text {
  flex: 1;
}

.privacy-link {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.privacy-link:hover {
  color: #2563eb;
}

.sidebar-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.newsletter-preview-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(59, 130, 246, 0.1);
  border: 1px solid #e5e7eb;
  width: 100%;
  height: fit-content;
  position: relative;
  overflow: hidden;
}

.preview-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.preview-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.issue-date {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.news-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-category {
  position: relative;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.category-icon {
  font-size: 1.25rem;
}

.category-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.news-item {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
  padding-left: 2rem;
  text-align: left;
}

.preview-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  text-align: center !important;
}

.preview-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  transition: all 0.2s ease;
}

.preview-link:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.read-time {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0;
}

.privacy-page {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  min-height: calc(100vh - 120px);
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.back-link {
  text-decoration: none;
}

.privacy-logo {
  height: 2.5rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.privacy-logo:hover {
  opacity: 1;
}

.back-button {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: #f8fafc;
  border-color: #3b82f6;
}

.privacy-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 3rem;
}

.privacy-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.privacy-section {
  margin-bottom: 2.5rem;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
}

.privacy-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.privacy-content a {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.privacy-content a:hover {
  color: #2563eb;
}

@media (max-width: 768px) {
  .privacy-container {
    padding: 2rem 1rem;
  }

  .privacy-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .privacy-content {
    padding: 2rem 1.5rem;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }

  .privacy-content h2 {
    font-size: 1.1rem;
  }
}

.contact-page {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  flex-direction: column;
  justify-content: center;
}

.contact-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.contact-logo {
  height: 2.5rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.contact-logo:hover {
  opacity: 1;
}

.contact-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin: auto 0;
  margin-bottom: 2rem;
}

.contact-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-section {
  margin-bottom: 2.5rem;
}

.contact-section:last-child {
  margin-bottom: 0;
}

.contact-info {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: #f1f5f9;
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: #3b82f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-details h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.contact-details a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Social Media Icon Hover Effects */
.contact-icon {
  transition: transform 0.2s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 2rem 1rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .contact-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-content {
    padding: 2rem 1.5rem;
    margin: 0;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-content h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
    width: 100vw;
  }
  .container,
  .main-content,
  .newsletter-container,
  .newsletter-preview-card,
  .footer {
    max-width: 100vw;
    box-sizing: border-box;
  }
  .main::before,
  .main::after,
  .stock-elements {
    width: 100vw;
  }

  .contact-container {
    padding: 1rem 0.5rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .contact-content {
    padding: 1.5rem 1rem;
    margin: 0;
  }

  .contact-content h1 {
    font-size: 1.75rem;
  }

  .contact-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .contact-details h3 {
    font-size: 0.875rem;
  }

  .contact-details p {
    font-size: 0.8rem;
  }
}

.preview-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.preview-header p {
  font-size: 0.875rem;
  color: #64748b;
}

.preview-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.news-item:hover {
  background: #f8fafc;
}

.news-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 0;
  margin-top: 0.25rem;
  flex-shrink: 0;
  box-shadow: 2px 2px 0px #1a1a1a;
  border: 2px solid #1a1a1a;
  transform: rotate(45deg);
}

.news-dot.polska {
  background: #e53e3e;
}

.news-dot.world {
  background: #38a169;
}

.news-dot.business {
  background: #805ad5;
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #64748b;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  background: #dbeafe;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  margin-top: auto;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-link:hover {
  color: #1f2937;
}

.copyright {
  font-size: 0.9rem;
  color: #9ca3af;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    min-height: auto;
    align-items: start;
  }

  .main-content {
    text-align: center;
    padding: 2rem 1rem;
    height: auto;
  }

  .sidebar-preview {
    order: 2;
    height: auto;
  }

  .main-content {
    order: 1;
  }

  .newsletter-preview-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero {
    text-align: center;
    max-width: 100%;
  }

  .title {
    font-size: 2.2rem;
  }

  .subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .form {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .main-content {
    padding: 0;
    order: 1;
    text-align: center;
  }

  .sidebar-preview {
    order: 2;
    margin-top: 2rem;
    height: auto;
  }

  .footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .main-logo {
    height: 2rem;
  }

  .logo {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .logo-img {
    height: 2.2rem;
  }

  .title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    -webkit-hyphens: none;
    hyphens: none;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .form-fields {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .input-group {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .email-input {
    border-radius: 50px;
  }

  .submit-btn {
    border-radius: 50px;
  }

  .newsletter-preview-card {
    padding: 1.5rem;
  }

  .news-categories {
    gap: 1.5rem;
  }

  .category-header h4 {
    font-size: 0.9rem;
  }

  .news-item {
    font-size: 0.85rem;
    padding-left: 1.5rem;
    text-align: left;
  }
}

.form {
  max-width: 100%;
  margin: 1.5rem 0;
}

.form {
  width: 100%;
  max-width: none;
}

.consent-section {
  padding: 0;
  text-align: left;
}

.consent-label {
  font-size: 0.85rem;
  line-height: 1.4;
  gap: 0.75rem;
}

.consent-text {
  word-wrap: break-word;
  hyphens: auto;
}

.newsletter-preview-card {
  padding: 1.25rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }

  .main-content {
    padding: 0 0.25rem;
  }

  .title {
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  .logo-img {
    height: 2rem;
  }

  .form {
    margin: 1rem 0;
  }

  .form-fields {
    gap: 0.75rem;
  }

  .input-group {
    padding: 0.5rem;
    flex-direction: row;
    align-items: stretch;
  }

  .email-input {
    padding: 0.75rem 1rem;
  }

  .submit-btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    border-radius: 50px;
  }

  .email-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
  }

  .submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px;
  }

  .consent-label {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .newsletter-preview-card {
    padding: 0.75rem;
    margin: 0 0.25rem;
    max-width: calc(100vw - 1rem);
    box-sizing: border-box;
  }

  .preview-header h3 {
    font-size: 1rem;
  }

  .news-categories {
    gap: 0.75rem;
  }

  .category-header h4 {
    font-size: 0.8rem;
  }

  .news-item {
    font-size: 0.75rem;
    padding-left: 1rem;
    text-align: left;
  }

  .footer {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 1rem 0.75rem;
    gap: 0.75rem;
  }

  .main-content {
    padding: 0.75rem 0.5rem;
  }

  .newsletter-preview-card {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .newsletter-preview-card .preview-header h3,
  .newsletter-preview-card .news-item,
  .newsletter-preview-card .preview-title {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .preview-header h3 {
    font-size: 0.9rem;
  }

  .news-categories {
    gap: 0.5rem;
  }

  .category-header h4 {
    font-size: 0.75rem;
  }

  .news-item {
    font-size: 0.7rem;
    padding-left: 0.75rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0.875rem 0.75rem;
  }
  .main-content {
    padding: 0 0.5rem;
  }

  .title {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.85rem;
  }

  .logo-img {
    height: 1.8rem;
  }

  .input-group {
    padding: 0.4rem;
    flex-direction: row;
  }

  .email-input {
    padding: 0.6rem 0.75rem;
    font-size: 14px;
  }

  .submit-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: 50px;
  }

  .email-input {
    padding: 0.6rem;
    font-size: 16px;
  }

  .submit-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 50px;
  }

  .consent-label {
    font-size: 0.75rem;
  }

  .newsletter-preview-card {
    padding: 0.75rem;
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.checkmark {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
}

.success-message {
  background: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 4px solid #059669;
}

.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 4px solid #dc2626;
  border: 1px solid #fecaca;
}

.email-input:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.consent-checkbox:invalid + .checkmark {
  border-color: #dc2626;
}

.submit-btn:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.trust-badge {
  background: #ffffff;
  border: 4px solid #1a1a1a;
  border-radius: 0;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 6px 6px 0px #1a1a1a;
  transform: rotate(-2deg);
}

.trust-text {
  font-size: 0.875rem;
  color: #065f46;
  font-weight: 500;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-count {
  font-weight: 600;
  color: #059669;
}

.main::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  z-index: -3;
  pointer-events: none;
}

.main {
  position: relative;
}

.main::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(96, 165, 250, 0.12) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(96, 165, 250, 0.1) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(59, 130, 246, 0.06) 0%,
      transparent 20%
    );
  z-index: -2;
  pointer-events: none;
  animation: floatingDots 25s ease-in-out infinite;
}

@keyframes floatingDots {
  0%,
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  25% {
    opacity: 0.8;
    transform: translate(2%, -1%) scale(1.02);
  }
  50% {
    opacity: 0.9;
    transform: translate(-1%, 2%) scale(0.98);
  }
  75% {
    opacity: 0.7;
    transform: translate(1%, -2%) scale(1.01);
  }
}

.email-input:focus {
  outline: none;
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading .submit-btn::before {
  content: "⏳";
  animation: spin 1s linear infinite;
}

/* Additional Brutalist Effects */
/* Old preview card styles removed */

/* Old brutalist styles removed */

/* Glitch Effect for Title */
@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.title:hover {
  animation: glitch 0.3s ease-in-out;
}

.stock-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.stock-dot {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
  opacity: 0.6;
  animation: floatUp 20s linear infinite;
}

.stock-dot:nth-child(1) {
  width: 6px;
  height: 6px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.stock-dot:nth-child(2) {
  width: 4px;
  height: 4px;
  left: 30%;
  animation-delay: -3s;
  animation-duration: 22s;
}

.stock-dot:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 50%;
  animation-delay: -6s;
  animation-duration: 16s;
}

.stock-dot:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 70%;
  animation-delay: -9s;
  animation-duration: 24s;
}

.stock-dot:nth-child(5) {
  width: 3px;
  height: 3px;
  left: 85%;
  animation-delay: -12s;
  animation-duration: 20s;
}

.stock-dot:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 95%;
  animation-delay: -15s;
  animation-duration: 26s;
}

@keyframes floatUp {
  0% {
    bottom: -100px;
    opacity: 0;
    transform: translateX(0px) scale(0.3);
  }
  10% {
    opacity: 0.6;
    transform: translateX(20px) scale(1);
  }
  50% {
    transform: translateX(-30px) scale(0.8);
    opacity: 0.4;
  }
  90% {
    transform: translateX(40px) scale(0.6);
    opacity: 0.2;
  }
  100% {
    bottom: calc(100vh + 100px);
    opacity: 0;
    transform: translateX(0px) scale(0.3);
  }
}

/* Enhanced chart line effect */
.newsletter-preview-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  animation: chartPulse 3s ease-in-out infinite;
}

@keyframes chartPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1.1);
  }
}

.newsletter-preview-main {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  min-height: 100vh;
}

.newsletter-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 120px);
}

.newsletter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.logo-link {
  text-decoration: none;
}

.newsletter-logo {
  height: 2.5rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.newsletter-logo:hover {
  opacity: 1;
}

.newsletter-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  margin-bottom: 3rem;
}

.newsletter-title-section {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 1rem;
}

.newsletter-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.newsletter-date {
  font-weight: 500;
}

.newsletter-separator {
  color: #cbd5e1;
}

.newsletter-read-time {
  font-weight: 500;
}

.newsletter-intro {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid #3b82f6;
}

.newsletter-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  text-align: center;
}

.newsletter-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
}

.newsletter-category {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.category-title {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-icon {
  font-size: 1.5rem;
}

.category-title h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.category-articles {
  padding: 0;
}

.newsletter-article {
  padding: 2rem;
  border-bottom: 1px solid #f1f5f9;
}

.newsletter-article:last-child {
  border-bottom: none;
}

.article-header {
  margin-bottom: 1rem;
}

.article-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

.article-source {
  font-weight: 500;
  color: #3b82f6;
}

.article-time {
  font-weight: 400;
}

.article-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.newsletter-footer-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.newsletter-cta {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.newsletter-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.newsletter-cta p {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: #3b82f6;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.newsletter-unsubscribe {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.newsletter-unsubscribe p {
  margin: 0;
  color: #9ca3af;
}

.newsletter-unsubscribe a {
  color: #64748b;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.newsletter-unsubscribe a:hover {
  color: #3b82f6;
}

@media (max-width: 768px) {
  .newsletter-container {
    padding: 1rem;
  }

  .newsletter-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .newsletter-content {
    padding: 2rem 1.5rem;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .newsletter-meta {
    flex-direction: column;
    gap: 0.25rem;
  }

  .newsletter-separator {
    display: none;
  }

  .newsletter-intro {
    padding: 1rem;
  }

  .category-title {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .newsletter-article {
    padding: 1.5rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .newsletter-cta {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .newsletter-container {
    padding: 0.75rem;
  }

  .newsletter-content {
    padding: 1.5rem 1.125rem;
  }

  .newsletter-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .newsletter-categories {
    gap: 2rem;
  }

  .category-title h2 {
    font-size: 1.1rem;
  }

  .newsletter-article {
    padding: 1rem 0.75rem;
  }

  .article-title {
    font-size: 1rem;
    line-height: 1.35;
  }

  .article-content {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .newsletter-cta {
    padding: 1rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .contact-icon {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .contact-icon {
    width: 18px;
    height: 18px;
  }
}
