/* KomFirst Website Styles */
:root {
  --primary: #6D1F39;
  --primary-light: #8B3A54;
  --primary-dark: #4D1528;
  --primary-50: #FDF2F4;
  --primary-100: #F9E3E8;
  --secondary: #F8F9FA;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  --border: #E5E7EB;
}

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

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

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

a:hover {
  text-decoration: underline;
}

/* Navigation */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

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

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--primary-light);
  text-decoration: none !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
  padding: 140px 2rem 80px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(109, 31, 57, 0.2);
}

.hero h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-50);
  text-decoration: none;
}

.store-icon {
  width: 24px;
  height: 24px;
}

/* Features Section */
.features {
  padding: 80px 2rem;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--secondary);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

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

.feature-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* About Section */
.about {
  padding: 80px 2rem;
  background: var(--primary-50);
}

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

.about h2 {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Download Section */
.download {
  padding: 80px 2rem;
  background: var(--primary);
  text-align: center;
}

.download h2 {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.download p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.download .btn-outline {
  background: var(--white);
  border-color: var(--white);
}

.download .btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 60px 2rem 30px;
}

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

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* Legal Pages Styles */
.legal-page {
  padding-top: 100px;
}

.legal-header {
  background: var(--primary-50);
  padding: 60px 2rem;
  text-align: center;
}

.legal-header h1 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: var(--text-gray);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 2rem;
}

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

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

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

.legal-content ul, .legal-content ol {
  color: var(--text-gray);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

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

/* Contact Info */
.contact-info {
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.contact-info h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .legal-header h1 {
    font-size: 1.75rem;
  }
}
