/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Logo */
.logo {
    width: 200px;
    align-items: center;
    justify-content: center;
    
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><style>.light{fill:rgba(255,255,255,0.22);} .outline{fill:none;stroke:rgba(255,255,255,0.45);stroke-width:2;} .text{fill:rgba(255,255,255,0.85);font-family:Inter,Arial,sans-serif;font-weight:700;}</style></defs><g><g class="book"><rect x="120" y="140" width="90" height="64" rx="8" class="light"/><rect x="120" y="140" width="90" height="64" rx="8" class="outline"/><line x1="165" y1="140" x2="165" y2="204" class="outline"/></g><g class="chat"><rect x="320" y="240" width="130" height="78" rx="14" class="light"/><polygon points="360,318 378,338 370,314" class="light"/><rect x="320" y="240" width="130" height="78" rx="14" class="outline"/><circle cx="350" cy="278" r="6" class="outline"/><circle cx="375" cy="278" r="6" class="outline"/><circle cx="400" cy="278" r="6" class="outline"/></g><g class="letters"><circle cx="820" cy="160" r="30" class="light"/><circle cx="820" cy="160" r="30" class="outline"/><text x="820" y="170" text-anchor="middle" font-size="22" class="text">Aa</text></g><g class="pencil"><rect x="940" y="320" width="140" height="16" rx="8" class="light"/><rect x="940" y="320" width="140" height="16" rx="8" class="outline"/><polygon points="1080,328 1102,328 1091,336" class="light"/><polygon points="1080,328 1102,328 1091,336" class="outline"/></g><g class="dictionary"><rect x="580" y="120" width="100" height="120" rx="10" class="light"/><rect x="580" y="120" width="100" height="120" rx="10" class="outline"/><line x1="590" y1="120" x2="590" y2="240" class="outline"/><text x="635" y="190" text-anchor="middle" font-size="20" class="text">A-Z</text></g><g class="globe"><circle cx="360" cy="100" r="36" class="light"/><circle cx="360" cy="100" r="36" class="outline"/><line x1="324" y1="100" x2="396" y1="100" class="outline"/><line x1="360" y1="64" x2="360" y2="136" class="outline"/><ellipse cx="360" cy="100" rx="30" ry="16" class="outline"/></g><g class="mic"><rect x="1040" y="120" width="18" height="36" rx="9" class="light"/><rect x="1040" y="120" width="18" height="36" rx="9" class="outline"/><line x1="1049" y1="156" x2="1049" y2="168" class="outline"/><line x1="1034" y1="168" x2="1064" y2="168" class="outline"/></g></g></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

/* Subtle English-speaking themed pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cstyle%3E .s%7Bstroke:%23ffffff;stroke-opacity:0.45;stroke-width:2;fill:none%7D .f%7Bfill:%23ffffff;fill-opacity:0.22%7D %3C/style%3E%3C/defs%3E%3Cg%3E%3C!-- speech bubble --%3E%3Crect x='12' y='10' rx='10' ry='10' width='44' height='28' class='s'/%3E%3Cpolygon points='26,38 34,46 32,36' class='f'/%3E%3C!-- mic --%3E%3Crect x='76' y='12' width='10' height='22' rx='5' class='s'/%3E%3Cline x1='81' y1='34' x2='81' y2='42' class='s'/%3E%3Cline x1='70' y1='42' x2='92' y2='42' class='s'/%3E%3C!-- book --%3E%3Crect x='16' y='64' width='28' height='22' rx='4' class='f'/%3E%3Crect x='16' y='64' width='28' height='22' rx='4' class='s'/%3E%3Cline x1='30' y1='64' x2='30' y2='86' class='s'/%3E%3C!-- letters circle --%3E%3Ccircle cx='88' cy='84' r='16' class='f'/%3E%3Ccircle cx='88' cy='84' r='16' class='s'/%3E%3Cpath d='M82 88 l4 -12 h4 l4 12' class='s'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 140px 140px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #000;
    margin: 20px 0 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 800;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-footer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Store Badges */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px 12px 18px;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.store-badge:hover {
    background: #111;
    transform: translateY(-2px);
}
.store-badge__logo {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
}
.store-badge__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.store-badge__text .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #fff;
    opacity: 0.9;
}
.store-badge__text .brand {
    font-size: 18px;
    font-weight: 600;
    margin-top: 2px;
}
.store-badge--google {
    background: #000;
}

/* App Showcase */
.app-showcase {
    padding: 20px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* subtle animated clouds */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='360' viewBox='0 0 1400 360'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.6'%3E%3Cellipse cx='180' cy='140' rx='80' ry='32'/%3E%3Cellipse cx='230' cy='146' rx='60' ry='24'/%3E%3Cellipse cx='270' cy='138' rx='70' ry='28'/%3E%3Cellipse cx='760' cy='110' rx='90' ry='36'/%3E%3Cellipse cx='820' cy='116' rx='65' ry='26'/%3E%3Cellipse cx='880' cy='108' rx='80' ry='30'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1200px 320px;
    background-position: 0 0px;
    opacity: 0.60;
    animation: clouds-move-slow 140s linear infinite;
    z-index: 1; /* below wave (::after=3) and phones (z-index:2) */
}

.app-showcase::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    z-index: 3; /* above phones (z-index:2) */
    pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 180" preserveAspectRatio="none"><path d="M0 70 C 300 150 900 0 1200 70 L1200 180 L0 180 Z" fill="%23ffffff"/></svg>') no-repeat bottom center;
    background-size: 100% 180px;
    background-position: bottom center;
    transform: translateZ(0);
}

 

.phone-mockups {
    position: relative;
    z-index: 2;
    height: 660px;
    max-width: 1100px;
    margin: 0 auto;
}

.phone {
    width: 280px;
    height: 560px;
    position: absolute;
    bottom: 0;
    left: 50%;
    object-fit: contain;
    display: block;
    transform-origin: center bottom;
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

/* Left-most */
.phone-1 {
    transform: translateX(calc(-50% - 480px)) translateY(0px) rotate(0deg) scale(0.94);
    z-index: 1;
    opacity: 0.85;
}

/* Left-middle */
.phone-2 {
    transform: translateX(calc(-50% - 240px)) translateY(0px) rotate(0deg) scale(1.08);
    z-index: 3;
    opacity: 0.95;
}

/* Center */
.phone-3 {
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.22);
    z-index: 5;
    opacity: 1;
}

/* Right-middle */
.phone-4 {
    transform: translateX(calc(-50% + 240px)) translateY(0px) rotate(0deg) scale(1.08);
    z-index: 3;
    opacity: 0.95;
}

/* Right-most */
.phone-5 {
    transform: translateX(calc(-50% + 480px)) translateY(0px) rotate(0deg) scale(0.94);
    z-index: 1;
    opacity: 0.85;
}

/* Footer */
.footer {
    background: #fff;
    padding: 0px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left .logo {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-left p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-right h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #666;
    text-decoration: none;
}

.footer-links a:hover {
    color: #333;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
}

/* Simple low-opacity animated clouds for Hero background */
.hero::before {
  /* front cloud layer */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='300' viewBox='0 0 1200 300'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.75'%3E%3Cellipse cx='120' cy='120' rx='70' ry='30'/%3E%3Cellipse cx='170' cy='125' rx='50' ry='22'/%3E%3Cellipse cx='210' cy='118' rx='60' ry='26'/%3E%3Cellipse cx='520' cy='80' rx='80' ry='34'/%3E%3Cellipse cx='580' cy='86' rx='60' ry='26'/%3E%3Cellipse cx='620' cy='78' rx='70' ry='28'/%3E%3Cellipse cx='940' cy='140' rx='70' ry='30'/%3E%3Cellipse cx='990' cy='146' rx='50' ry='22'/%3E%3Cellipse cx='1030' cy='138' rx='60' ry='26'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 900px 220px;
  background-position: 0 30px;
  opacity: 0.75;
  animation: clouds-move 80s linear infinite;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
}

.hero::after {
  /* distant cloud layer */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='360' viewBox='0 0 1400 360'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.6'%3E%3Cellipse cx='200' cy='160' rx='90' ry='36'/%3E%3Cellipse cx='260' cy='166' rx='70' ry='28'/%3E%3Cellipse cx='320' cy='158' rx='80' ry='30'/%3E%3Cellipse cx='800' cy='120' rx='100' ry='40'/%3E%3Cellipse cx='870' cy='126' rx='70' ry='28'/%3E%3Cellipse cx='930' cy='118' rx='90' ry='34'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 1100px 300px;
  background-position: 0 10px;
  opacity: 0.70;
  animation: clouds-move-slow 140s linear infinite;
  z-index: 1;
  mix-blend-mode: normal;
}

@keyframes clouds-move {
  from { background-position-x: 0; }
  to   { background-position-x: -1200px; }
}

@keyframes clouds-move-slow {
  from { background-position-x: 0; }
  to   { background-position-x: -1400px; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .download-buttons { flex-direction: column; align-items: center; }
    .phone-mockups {
        height: 560px;
    }
    .phone {
        width: 240px;
        height: 480px;
    }
    .phone-1 {
        transform: translateX(calc(-50% - 320px)) translateY(0px) rotate(0deg) scale(0.94);
        opacity: 0.75;
    }
    .phone-2 {
        transform: translateX(calc(-50% - 160px)) translateY(0px) rotate(0deg) scale(1.04);
        opacity: 0.9;
    }
    .phone-3 {
        transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.14);
        opacity: 1;
    }
    .phone-4 {
        transform: translateX(calc(-50% + 160px)) translateY(0px) rotate(0deg) scale(1.04);
        opacity: 0.9;
    }
    .phone-5 {
        transform: translateX(calc(-50% + 320px)) translateY(0px) rotate(0deg) scale(0.94);
        opacity: 0.75;
    }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-left { text-align: center; }
    .footer-right { text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .container { padding: 0 15px; }
    .phone { width: 200px; height: 400px; }
    .phone-mockups { height: 460px; }
    .phone-1 { transform: translateX(calc(-50% - 200px)) translateY(0px) rotate(0deg) scale(0.95); }
    .phone-2 { transform: translateX(calc(-50% - 100px)) translateY(0px) rotate(0deg) scale(1.03); }
    .phone-3 { transform: translateX(-50%) rotate(0deg) scale(1.10); }
    .phone-4 { transform: translateX(calc(-50% + 100px)) translateY(0px) rotate(0deg) scale(1.03); }
    .phone-5 { transform: translateX(calc(-50% + 200px)) translateY(0px) rotate(0deg) scale(0.95); }
}