/* Reset & Variables */
:root {
  --primary: #df2648;
  --primary-hover: #c11b38;
  --primary-light: rgba(223, 38, 72, 0.1);
  --bg-dark: #0f1115;
  --bg-card: #181c24;
  --text-primary: #ffffff;
  --text-secondary: #9aa0a6;
  --border-color: #2b303b;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1100px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(223, 38, 72, 0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, #ff4d6a 0%, #df2648 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(223, 38, 72, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 38, 72, 0.4);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-android {
  background-color: #3ddc84;
  color: #0f1115;
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(61, 220, 132, 0.25);
}

.btn-android:hover {
  background-color: #32be70;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 220, 132, 0.35);
}

/* Features Section */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

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

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

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 38, 72, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* App Mockup Section */
.app-mockup {
  padding: 5rem 0;
  text-align: center;
}

.mockup-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 30px;
  border: 4px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

.mockup-header {
  height: 30px;
  background-color: var(--bg-dark);
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
}

.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-content {
  background-color: var(--bg-dark);
  padding: 3rem 1.5rem;
  border-radius: 0 0 20px 20px;
}

/* Legal Page Layout */
.legal-content {
  padding: 5rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.last-updated {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  display: block;
}

.legal-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-body ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 5rem;
  background-color: #0c0d10;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

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

/* Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  nav a {
    margin: 0 0.75rem;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links a {
    margin: 0 0.75rem;
  }
}
