/* ==========================================================================
   EASYTRỌ LANDING PAGE - CONCISE & LARGE TEXT SYSTEM
   ========================================================================== */

:root {
  /* Brand Colors */
  --easy-orange: #EA580C;
  --tro-green: #047857;
  --primary: #1E3A8A; /* Navy blue */
  --primary-light: #2563EB; /* Vibrant blue */
  --accent-blue: #3B82F6;
  
  /* Text and Backgrounds */
  --text-main: #0F172A; /* Slate 900 */
  --text-muted: #334155; /* Slate 700 - slightly darker for higher contrast */
  --text-light: #475569; /* Slate 600 */
  --card-bg: rgba(255, 255, 255, 0.9);
  
  /* Fonts */
  --font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  /* Premium top-left gradient background inspired by app icon */
  background: linear-gradient(135deg, #9CBADF 0%, #D4E3F5 35%, #F0F5FA 70%, #FFFFFF 100%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography Extensions - SCALED UP FOR SENSORY LEGIBILITY */
h1, h2, h3, h4, h5, h6 {
  color: #0F172A;
  font-weight: 900;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  font-weight: 600; /* Bolder text for high contrast readability */
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Main Container Limit */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.6); /* Thicker border for clear visibility */
  box-shadow: 0 12px 36px -12px rgba(15, 23, 42, 0.1),
              0 1px 3px 0 rgba(0, 0, 0, 0.02);
  border-radius: 28px;
}

/* Button UI Components - SCALED UP */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 19px; /* Huge text */
  font-weight: 800;
  border-radius: 999px; /* Stadium border */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  gap: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);
  color: white;
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.55);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0) scale(1);
}

.btn-appstore, .btn-playstore {
  background: #000000;
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  line-height: 1.25;
}

.btn-appstore:hover, .btn-playstore:hover {
  background: #1e1e1e;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-appstore svg, .btn-playstore svg {
  width: 26px;
  height: 26px;
}

.btn-appstore .btn-text, .btn-playstore .btn-text {
  display: flex;
  flex-direction: column;
}

.btn-appstore .btn-text span:first-child, .btn-playstore .btn-text span:first-child {
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-appstore .btn-text span:last-child, .btn-playstore .btn-text span:last-child {
  font-size: 17px;
  font-weight: 900;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(212, 227, 245, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding: 18px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
}

.brand-name-easy {
  color: var(--easy-orange);
}

.brand-name-tro {
  color: var(--tro-green);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.2s ease;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.4);
}

.menu-toggle:active {
  background: rgba(255, 255, 255, 0.6);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 800;
  padding: 6px 4px;
}

.nav-link:hover {
  color: var(--primary-light);
}

/* Hero Section */
.hero {
  padding: 60px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 120, 87, 0.12);
  border: 1.5px solid rgba(4, 120, 87, 0.2);
  color: var(--tro-green);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-badge svg {
  fill: currentColor;
}

.hero-title {
  font-size: 58px; /* Extremely huge */
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #0F172A;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 23px; /* Extra large for seniors */
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* REAL SCREENSHOT SHOWCASE CONTAINER */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.screenshot-showcase {
  position: relative;
  width: 380px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Angled overlapping phone mockups */
.phone-frame {
  width: 230px;
  height: 480px;
  border-radius: 36px;
  border: 8px solid #0F172A; /* Slate bezels */
  background: #000000;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  position: absolute;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Front Main Phone */
.phone-frame-1 {
  z-index: 10;
  left: 20px;
  top: 10px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) rotateZ(-2deg);
}

/* Back Second Phone */
.phone-frame-2 {
  z-index: 5;
  right: 20px;
  top: 40px;
  transform: perspective(1200px) rotateY(12deg) rotateX(4deg) rotateZ(3deg) scale(0.95);
  opacity: 0.9;
}

/* Interactive Hover tilt effect */
.screenshot-showcase:hover .phone-frame-1 {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) rotateZ(-1deg) translate(-10px, -5px);
  box-shadow: 0 35px 60px -10px rgba(15, 23, 42, 0.35);
}

.screenshot-showcase:hover .phone-frame-2 {
  transform: perspective(1200px) rotateY(4deg) rotateX(1deg) rotateZ(1deg) scale(0.98) translate(15px, 5px);
  opacity: 1;
  box-shadow: 0 35px 60px -10px rgba(15, 23, 42, 0.3);
}

/* Glowing Decorative Circles */
.glow-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.7;
}

.glow-circle-1 {
  background: rgba(234, 88, 12, 0.22); /* Orange glow */
  top: -40px;
  left: -80px;
}

.glow-circle-2 {
  background: rgba(4, 120, 87, 0.22); /* Emerald glow */
  bottom: 40px;
  right: -80px;
}

/* Features Grid Section - SIMPLIFIED COPY, BIGGER TEXT */
.features {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

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

.features-pretitle {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--tro-green);
  margin-bottom: 8px;
}

.features-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

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

.feature-card {
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.15);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

/* Feature specific backgrounds */
.f-rooms { background: #ECFDF5; color: var(--tro-green); }
.f-voice { background: #EFF6FF; color: var(--accent-blue); }
.f-calc { background: #FEF3C7; color: var(--status-yellow); }
.f-share { background: #FEE2E2; color: var(--status-red); }
.f-elder { background: #F5F3FF; color: #7C3AED; }
.f-cloud { background: #ECFEFF; color: #0891B2; }

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.feature-card-title {
  font-size: 24px; /* Scaled up */
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 17px; /* Scaled up */
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Testimonial Section - CONCISE */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(to bottom, transparent, rgba(212, 227, 245, 0.3));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 32px;
}

.testimonial-card {
  padding: 36px;
  border-radius: 24px;
}

.testimonial-text {
  font-size: 19px; /* Scaled up */
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.testimonial-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
}

.testimonial-role {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 700;
}

/* Call to Action Form - CONCISE & EASY INPUTS */
.cta-section {
  padding: 70px 0 100px;
}

.cta-box {
  padding: 50px 60px;
  background: linear-gradient(135deg, #1E3A8A 0%, #047857 100%);
  color: white;
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 30px 60px -15px rgba(30, 58, 138, 0.35);
}

.cta-box-text h2 {
  color: white;
  font-size: 40px; /* Scaled up */
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-box-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px; /* Scaled up */
  font-weight: 600;
  line-height: 1.45;
}

.cta-box-form {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: 36px;
  border-radius: 24px;
  width: 100%;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-input {
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 18px; /* Huge text inside inputs */
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.cta-input:focus {
  border-color: white;
  background: rgba(255, 255, 255, 0.3);
}

.cta-form-btn {
  background: #FFFFFF;
  color: #1E3A8A;
  padding: 18px;
  font-weight: 900;
  font-size: 20px; /* Huge text */
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #F8FAFC;
}

/* Footer Section */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 2px solid #1E293B;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E293B;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .brand-name {
  font-size: 28px;
}

.footer-brand p {
  color: #94A3B8;
  max-width: 320px;
  font-weight: 600;
}

.footer-title {
  color: #F8FAFC;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94A3B8;
  font-weight: 600;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-text {
  font-weight: 600;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-description {
    margin: 0 auto 36px;
  }
  .hero-actions {
    align-items: center;
  }
  .store-buttons {
    justify-content: center;
  }
  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .navbar-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
  }
  .menu-toggle {
    display: flex; /* show hamburger button */
  }
  .nav-links {
    display: none; /* collapse links by default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(212, 227, 245, 0.95);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 24px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    gap: 20px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    text-align: center;
    z-index: 1001;
  }
  .nav-links.active {
    display: flex; /* expand menu on toggle */
  }
  .hero-title {
    font-size: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 26px;
  }
  .hero {
    padding: 30px 0 50px;
  }
  .hero-badge {
    font-size: 14px;
    padding: 6px 14px;
  }
  .hero-title {
    font-size: 34px;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.4;
  }
  .btn {
    padding: 14px 28px;
    font-size: 17px;
  }
  .btn-appstore, .btn-playstore {
    padding: 10px 20px;
    font-size: 13px;
    width: 100%; /* Full width buttons stack beautifully on mobile */
    justify-content: center;
  }
  .btn-appstore .btn-text span:last-child, .btn-playstore .btn-text span:last-child {
    font-size: 15px;
  }
  .screenshot-showcase {
    width: 100%;
    height: 380px;
  }
  .phone-frame {
    width: 160px;
    height: 330px;
    border-radius: 24px;
    border-width: 6px;
  }
  .phone-frame-1 {
    left: calc(50% - 130px);
    top: 10px;
  }
  .phone-frame-2 {
    right: calc(50% - 130px);
    top: 35px;
  }
  .features {
    padding: 50px 0;
  }
  .features-title {
    font-size: 30px;
  }
  .feature-card {
    padding: 24px;
  }
  .feature-card-title {
    font-size: 20px;
  }
  .feature-card-desc {
    font-size: 15px;
  }
  .testimonials {
    padding: 50px 0;
  }
  .testimonial-card {
    padding: 24px;
  }
  .testimonial-text {
    font-size: 17px;
  }
  .cta-section {
    padding: 40px 0 60px;
  }
  .cta-box {
    padding: 30px 20px;
    border-radius: 24px;
    gap: 24px;
  }
  .cta-box-text h2 {
    font-size: 28px;
  }
  .cta-box-text p {
    font-size: 17px;
  }
  .cta-box-form {
    padding: 20px;
    border-radius: 18px;
  }
  .cta-input {
    padding: 12px 18px;
    font-size: 16px;
  }
  .cta-form-btn {
    padding: 14px;
    font-size: 17px;
  }
  footer {
    padding: 40px 0 20px;
  }
}
