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

:root {
  --primary: #55c351;
  --primary-hover: #46a143;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-light: #ffffff;
  --text-main: #111827;
  --text-dim: #4b5563;
  --glass: rgba(85, 195, 81, 0.05);
  --glass-border: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  overflow: hidden;
  height: 100dvh;
  width: 100%;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Background elements */
.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(85, 195, 81, 0) 70%);
  filter: blur(100px);
  z-index: -1;
  opacity: 0.08;
  animation: float 10s infinite alternate ease-in-out;
}
.blob-1 { top: -100px; right: -100px; }
.blob-2 { bottom: -100px; left: -100px; }

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(30px, 30px); }
}

header {
  height: 80px;
  display: flex;
  justify-content: center; /* Default centered for mobile */
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 45px;
  width: auto;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 1.5rem;
}

/* Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

h1 span {
  display: block;
  opacity: 0.6;
  font-size: 0.75em;
}

.description {
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.button-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: none;
  flex: 1;
  max-width: 180px;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px rgba(85, 195, 81, 0.2);
}

.btn-glass {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-glass svg { fill: var(--text-main); }

.btn-icon { width: 20px; height: 20px; }

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.btn-label { font-size: 0.65rem; opacity: 0.8; font-weight: 400; margin-bottom: 2px; }
.btn-main { font-size: 0.9rem; }

/* Visual */
.hero-visual {
  max-height: clamp(30vh, 45vh, 450px);
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 1s 0.3s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-wrapper {
  max-width: clamp(180px, 50vw, 240px);
  position: relative;
}

.phone-wrapper img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Desktop Overrides */
@media (min-width: 992px) {
  header { justify-content: flex-start; }
  .logo img { height: 50px; }
  
  .hero {
    flex-direction: row;
    grid-template-columns: 1.2fr 1fr;
    display: grid;
    text-align: left;
    gap: 4rem;
  }
  
  .hero-content { align-items: flex-start; }
  .description { max-width: 500px; margin-left: 0; margin-right: 0; font-size: 1.15rem;}
  .button-group { justify-content: flex-start; }
  .btn { flex: none; min-width: 170px; padding: 14px 28px; }
  .hero-visual { max-height: 700px; }
  .phone-wrapper { max-width: 450px; }
  h1 { font-size: 4.5rem; }
  .badge { font-size: 0.95rem; }
}

@media (max-width: 420px) {
  .button-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .hero-visual { max-height: 30vh; }
  .phone-wrapper { max-width: 150px; }
}

@media (max-height: 650px) {
  .hero-visual { display: none; }
  .hero { gap: 1rem; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #111827;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  font-weight: 600;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
