/* ==========================================================================
   Presnt Website - Core Design System & Stylesheet
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700;800&display=swap');

/* CSS Custom Variables & Tokens */
:root {
  /* Brand Colors */
  --primary: #314DF3;
  --primary-hover: #1e36c2;
  --primary-light: rgba(49, 77, 243, 0.08);
  --secondary: #10B981;
  --accent: #F59E0B;
  
  /* Neutral Palette */
  --bg-main: #FBF9F6;
  --bg-card: #FFFFFF;
  --bg-footer: #0F172A;
  --border-light: #F2EAE0;
  
  /* Text Palette */
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --text-on-dark: #F9FAFB;
  
  /* Shadow Tokens */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -3px rgba(49, 77, 243, 0.1), 0 4px 15px -4px rgba(49, 77, 243, 0.05);
  --shadow-hover: 0 20px 35px -5px rgba(0, 0, 0, 0.08), 0 10px 20px -6px rgba(0, 0, 0, 0.04);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

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

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

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(251, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(49, 77, 243, 0.25);
  transform: scale(1.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

/* Button & Badge Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(49, 77, 243, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}

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

/* Google Play Badge Layout */
.play-badge {
  display: inline-block;
  height: 48px;
  transition: var(--transition-smooth);
}

.play-badge img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.play-badge:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Mockup Display */
.phone-mockup {
  position: relative;
  width: 280px;
  height: 570px;
  background-color: #000;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 12px solid #1f2937;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background-color: var(--bg-main);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
}

.mock-status {
  height: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}

.mock-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.mock-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
}

.mock-card {
  background-color: white;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
}

.mock-subject {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.mock-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.mock-btn {
  background-color: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 6px;
  text-align: center;
  font-weight: 600;
  font-size: 0.7rem;
}

.mock-notification {
  position: absolute;
  top: 10%;
  left: -20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.92);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  animation: float 4s ease-in-out infinite;
}

.mock-notification-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

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

.feature-card {
  background-color: var(--bg-main);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  background-color: white;
  box-shadow: var(--shadow-hover);
  border-color: rgba(49, 77, 243, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(49, 77, 243, 0.2);
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* User Roles Section */
.roles-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.role-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.role-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.role-num {
  width: 32px;
  height: 32px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.role-body h4 {
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.role-body p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
  padding: 6rem 0;
  background-color: white;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #314DF3 0%, #1e36c2 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-box h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.cta-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* Legal/Document Pages Layout (Privacy & Terms) */
.legal-page {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.legal-header {
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--bg-main);
  padding-bottom: 1.5rem;
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-dark);
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

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

/* Support Page Layout */
.support-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
}

.support-info-card {
  background-color: white;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.support-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0;
}

.support-item-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-item-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.support-item-text p {
  margin: 0;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.support-form-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--bg-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(49, 77, 243, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer Section */
footer {
  background-color: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  color: white;
  margin-bottom: 1.25rem;
}

.footer-logo .logo-icon {
  background-color: white;
  color: var(--primary);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.footer-nav {
  list-style: none;
}

.footer-nav-title {
  font-family: 'Outfit', sans-serif;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: #64748b;
}

.footer-socials a:hover {
  color: white;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  .hero-grid { gap: 2rem; }
  .roles-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  /* Menu Toggle Display */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Layout Grid Adjustments */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .mock-notification {
    left: 10px;
    right: 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .support-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .legal-container {
    padding: 2.5rem 1.5rem;
  }
  
  .legal-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .badge-tag { font-size: 0.75rem; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .cta-badge-container { flex-direction: column; }
}
