:root {
  /* Brand Colors - Aligned with Mobile App */
  --primary: #1e88e5;       /* blue600 */
  --primary-dark: #0d47a1;  /* blue900 */
  --primary-light: #e3f2fd; /* blue50 */
  --secondary: #90caf9;     /* blue200 */
  --accent: #ffa000;        /* amber700 */
  
  /* UI Colors */
  --background: #ffffff;
  --surface: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-main: "Poppins", sans-serif;
  --font-heading: "Poppins", sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  --radius-lg: 32px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Header */
solaa-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Hero Section */
.hero {
  padding: 14rem 0 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 0% 0%, rgba(30, 136, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(144, 202, 249, 0.12) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 70% 30%, rgba(30, 136, 229, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(144, 202, 249, 0.03) 0%, transparent 40%);
    animation: rotateMesh 20s linear infinite;
}

@keyframes rotateMesh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero .badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(30, 136, 229, 0.1);
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -2.5px;
}

.hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.hero .description {
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto 4rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 25px -5px rgba(30, 136, 229, 0.4);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(30, 136, 229, 0.5);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* Play Store Button Refined */
.play-store-badge {
    display: inline-flex;
    background: #0f172a;
    color: #fff;
    padding: 1.2rem 2.5rem; /* Aligned with .btn */
    border-radius: var(--radius-md); /* Aligned with .btn */
    text-decoration: none;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    height: auto;
    min-height: calc(1.2rem * 2 + 1.05rem + 4px); /* Approximation to match .btn height */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.play-store-badge .text .large {
    font-size: 1.05rem; /* Aligned with .btn */
    font-weight: 700;
}

.play-store-badge .coming-soon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-store-badge:hover .coming-soon {
    transform: translateY(0);
}

/* Feature Grid */
.features {
  padding: 6rem 0;
  background: var(--surface);
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Feature Card Enhanced */
feature-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 136, 229, 0.1);
}

/* Lifecycle Section */
.lifecycle {
    padding: 10rem 0;
    background: #fff;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 5rem;
}

.step-card {
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
}

.hero-image-container {
  max-width: 1000px;
  margin: 6rem auto 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-image:hover {
    transform: scale(1.02);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Privacy Section Polishing */
.privacy-section {
    padding: 8rem 0;
    background: #fff;
}

.privacy-card {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(30, 136, 229, 0.1);
}

.privacy-icon {
    color: var(--primary);
    flex-shrink: 0;
    background: #fff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.privacy-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.privacy-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-outline-alt {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-block;
}

.btn-outline-alt:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .privacy-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
}

/* Final Mobile Optimization */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero { padding: 8rem 0 4rem; }
    .hero h2 { font-size: 2rem; padding: 0 1rem; }
    .hero .description { font-size: 1.1rem; padding: 0 1rem; margin-bottom: 2.5rem; }
    .cta-group { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 300px; margin: 0 auto 3rem !important; }
    .btn-outline { margin-left: 0; }
    .hero-image-container { border-radius: var(--radius-md); margin: 0 1rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 2.5rem; }
    .features { padding: 4rem 0; }
    .privacy-section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.5rem; }
}
