/* Ahertaja Website Styles */
:root {
  --primary: #E76D57;
  --primary-dark: #C85A46;
  --primary-light: #F0887A;
  --secondary: #BADDD3;
  --secondary-dark: #7BA99F;
  --secondary-light: #D4EBE6;
  --purple: #796782;
  --purple-dark: #3A3345;
  --background: #F8F3EB;
  --surface: #FFFFFF;
  --text: #201315;
  --text-secondary: #6B6466;
  --text-light: #8F8F8F;
  --border: #E0DCD6;
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #F44336;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.header {
  background-color: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
}

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

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/bg-ahertaja.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

/* App Store Buttons */
.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--text);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  transition: transform 0.2s, background-color 0.2s;
  text-shadow: none;
}

.app-button:hover {
  background-color: var(--purple-dark);
  transform: scale(1.05);
  text-decoration: none;
}

.app-button svg {
  width: 28px;
  height: 28px;
}

.app-button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-button-small {
  font-size: 0.7rem;
  opacity: 0.8;
}

.app-button-large {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Features Section */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--purple-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.feature-card h3 {
  color: var(--purple);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

/* Content Pages */
.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-page h1 {
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.content-page .updated {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.content-page h2 {
  color: var(--purple);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
}

.content-page h3 {
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.content-page p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.content-page ul, .content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.content-page strong {
  color: var(--text);
}

.content-page .highlight-box {
  background-color: var(--secondary-light);
  border-left: 4px solid var(--secondary-dark);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.content-page .warning-box {
  background-color: #FFF3E0;
  border-left: 4px solid var(--warning);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

/* Footer */
.footer {
  background-color: var(--purple-dark);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer a {
  color: var(--secondary-light);
}

.footer p, .footer li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer ul {
  list-style: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Steps Section (Landing Page) */
.steps-section {
  background-color: var(--surface);
  padding: 4rem 2rem;
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.steps-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--purple-dark);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: var(--background);
  border-radius: 12px;
}

.step-item .step-number {
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-item .step-content h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.step-item .step-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 300px;
}

@media (max-width: 600px) {
  .steps-list {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .step-item {
    padding: 1.5rem;
  }

  .step-item .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* Instructions Page */
.instructions-section {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.instructions-section h3 {
  color: var(--primary);
  margin-top: 0;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.25rem;
  color: var(--text);
}

.step-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* DNS Info Box */
.dns-info {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.dns-info h3 {
  color: var(--purple);
  margin-bottom: 1rem;
}

.dns-info code {
  background-color: var(--background);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.dns-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.dns-info th, .dns-info td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.dns-info th {
  background-color: var(--background);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

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

  .content-page {
    padding: 2rem 1rem;
  }

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

/* Print styles */
@media print {
  .header, .footer, .app-buttons {
    display: none;
  }

  .content-page {
    max-width: 100%;
    padding: 0;
  }
}
