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

:root {
  --color-bg-dark: #121f19;
  --color-bg: #275b4a;
  --color-primary: #218d6b;
  --color-secondary: #f9af39;
  --color-text-main: #ffffff;
  --color-text-muted: #d0ded8;
  --color-glass-bg: rgba(255, 255, 255, 0.05);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --shadow-main: 0 8px 32px 0 rgba(18, 31, 25, 0.4);
  --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, #e89512 100%);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

/* Glassmorphism utility */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-main);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(18, 31, 25, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 5%;
  border-bottom: 1px solid var(--color-glass-border);
}

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

.logo span {
  color: var(--color-secondary);
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.8;
}

nav a:hover, nav a.active {
  opacity: 1;
  color: var(--color-secondary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(33, 141, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 141, 107, 0.6);
}

.btn-accent {
  background: var(--gradient-accent);
  color: #121f19;
  box-shadow: 0 4px 15px rgba(249, 175, 57, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 175, 57, 0.6);
}

/* Page Layout */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 60px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 80% 20%, rgba(33, 141, 107, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(249, 175, 57, 0.15) 0%, transparent 40%);
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #a2ccbc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--color-bg-dark);
  border-radius: 40px;
  border: 8px solid #2a3a32;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background: #f7f8fd; /* backgroundColorPage */
  border-radius: 32px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mockup-header {
  height: 40px;
  background: var(--color-primary);
  border-radius: 10px;
  width: 100%;
}
.mockup-body {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 15px;
}
.mockup-line {
  height: 10px;
  background: #eee;
  border-radius: 5px;
  margin-bottom: 15px;
}
.mockup-line.short { width: 60%; }
.mockup-line.accent { background: var(--color-secondary); width: 40%;}


/* Features Section */
.features {
  padding: 100px 5%;
  background: var(--color-bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 40px 30px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(33, 141, 107, 0.2);
  color: var(--color-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

/* Generic Pages (Terms, Privacy, Contact) */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  margin-bottom: 50px;
}

.page-title h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

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

.document-card {
  padding: 50px;
  color: #fff;
}

.document-card h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--color-secondary);
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card p {
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

.document-card ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.document-card li {
  margin-bottom: 10px;
}

/* Contact Form */
.contact-wrapper {
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
  padding: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(249, 175, 57, 0.2);
  color: var(--color-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.info-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.info-text p {
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--color-glass-border);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

/* Footer */
footer {
  background: rgba(0,0,0,0.3);
  padding: 60px 5% 30px;
  border-top: 1px solid var(--color-glass-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p {
  color: var(--color-text-muted);
  max-width: 300px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  nav ul {
    display: none; /* simple mobile menu hidden for now */
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
}
