/* Corevia Labs - Mobile First Styles */

:root {
  --primary-blue: #007bff;
  --dark-blue: #0056b3;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e9ecef;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --radius: 8px;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 80vh;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-blue);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--dark-blue);
}

.hero-image {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  margin-top: 40px;
}

.app-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

.app-card:hover {
  transform: translateY(-5px);
}

.app-content {
  padding: 20px;
}

.app-content h3 {
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.app-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.play-badge {
  font-size: 0.9rem;
  color: #01875f; /* Google Play Green */
  font-weight: 600;
}

/* About & Privacy */
.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.content-page h2 {
  color: var(--dark-blue);
  margin-bottom: 20px;
  margin-top: 40px;
}

.content-page p {
  margin-bottom: 15px;
}

.content-page ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-page li {
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  margin-left: 20px;
}

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

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 20px; /* Force safe padding on mobile */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

  .content-page {
    word-wrap: break-word; /* Prevent long text overflow */
  }
}
