/* ================================
   FAMILY OS DESIGN SYSTEM
   Version : 1.0
================================ */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#ffffff;

    color:#334155;

    overflow-x:hidden;

    line-height:1.7;

    -webkit-font-smoothing:antialiased;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button{

    border:none;

    outline:none;

    cursor:pointer;

    font-family:inherit;

}

input,
textarea{

    font-family:inherit;

}

:root{

    /* COLORS */

    --primary:#14B8A6;

    --primary-light:#2DD4BF;

    --dark:#0F172A;

    --text:#334155;

    --muted:#64748B;

    --border:#E2E8F0;

    --card:#F8FAFC;

    --background:#FFFFFF;

    --success:#10B981;

    --danger:#EF4444;

    /* SHADOW */

    --shadow-sm:0 5px 15px rgba(0,0,0,.05);

    --shadow-md:0 15px 40px rgba(0,0,0,.08);

    --shadow-lg:0 30px 80px rgba(0,0,0,.10);

    /* RADIUS */

    --radius-sm:12px;

    --radius:20px;

    --radius-lg:32px;

    --radius-xl:48px;

    /* SPACING */

    --space-xs:.5rem;

    --space-sm:1rem;

    --space-md:2rem;

    --space-lg:4rem;

    --space-xl:6rem;

    /* TRANSITION */

    --transition:.35s ease;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

.section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-family:'Poppins',sans-serif;

    font-size:42px;

    color:var(--dark);

    margin-bottom:20px;

}

.section-title p{

    color:var(--muted);

    max-width:700px;

    margin:auto;

    font-size:18px;

}

.primary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 32px;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:var(--transition);

    box-shadow:var(--shadow-md);

}

.primary-btn:hover{

    transform:translateY(-4px);

    background:var(--primary-light);

}

.secondary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 32px;

    border-radius:999px;

    border:1px solid var(--border);

    transition:var(--transition);

}

.secondary-btn:hover{

    box-shadow:var(--shadow-sm);

}

.primary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 32px;

    border-radius:999px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:var(--transition);

    box-shadow:var(--shadow-md);

}

.primary-btn:hover{

    transform:translateY(-4px);

    background:var(--primary-light);

}

.secondary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 32px;

    border-radius:999px;

    border:1px solid var(--border);

    transition:var(--transition);

}

.secondary-btn:hover{

    box-shadow:var(--shadow-sm);

}

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.4s;

}

.navbar.scrolled{

    backdrop-filter:blur(20px);

    background:rgba(255,255,255,.88);

    box-shadow:var(--shadow-sm);

}

.navbar .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-family:'Poppins',sans-serif;

    font-size:22px;

    font-weight:700;

    color:var(--dark);

}

.logo img{

    width:42px;

}

nav ul{

    display:flex;

    gap:36px;

}

nav a{

    position:relative;

    color:var(--text);

    transition:.3s;

}

nav a:hover{

    color:var(--primary);

}

.download-btn{

    padding:14px 28px;

    border-radius:999px;

    background:var(--primary);

    color:white;

    font-weight:600;

    transition:.3s;

}

.download-btn:hover{

    transform:translateY(-3px);

}


.loader{

    position:fixed;

    inset:0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.loader img{

    width:100px;

}

body{

    background:

    radial-gradient(circle at top left,#E6FFFA 0%,white 40%),

    radial-gradient(circle at bottom right,#ECFEFF 0%,white 45%);

}

/* ===============================
   HERO
================================ */

.hero{

    position:relative;

    overflow:hidden;

    padding:180px 0 120px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

}

.hero-content h1{

    font-family:'Poppins',sans-serif;

    font-size:64px;

    line-height:1.1;

    color:var(--dark);

    margin:24px 0;

}

.hero-content p{

    font-size:20px;

    color:var(--muted);

    max-width:620px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:#ECFEFF;

    color:var(--primary);

    font-weight:600;

    box-shadow:var(--shadow-sm);

}

.hero-stats{

    display:flex;

    gap:48px;

    margin-top:60px;

}

.hero-stats h3{

    color:var(--primary);

    font-size:34px;

}

.hero-stats span{

    color:var(--muted);

}

.hero-visual{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.phone{

    width:320px;

    filter:drop-shadow(0 40px 80px rgba(0,0,0,.18));

    animation:floatPhone 5s ease-in-out infinite;

}

.glass-card{

    position:absolute;

    padding:16px 22px;

    border-radius:18px;

    backdrop-filter:blur(18px);

    background:rgba(255,255,255,.72);

    border:1px solid rgba(255,255,255,.55);

    box-shadow:0 18px 40px rgba(0,0,0,.08);

    font-weight:600;

}

.card-one{

    top:40px;

    left:0;

}

.card-two{

    top:180px;

    right:-30px;

}

.card-three{

    bottom:140px;

    left:-30px;

}

.card-four{

    bottom:20px;

    right:0;

}

.hero-bg{

    position:absolute;

    inset:0;

    overflow:hidden;

    z-index:-1;

}

.blob{

    position:absolute;

    border-radius:50%;

    filter:blur(80px);

    opacity:.45;

}

.blob-1{

    width:340px;

    height:340px;

    background:#2DD4BF;

    top:-80px;

    left:-100px;

}

.blob-2{

    width:420px;

    height:420px;

    background:#A5F3FC;

    right:-140px;

    top:100px;

}

.blob-3{

    width:260px;

    height:260px;

    background:#99F6E4;

    bottom:-80px;

    left:40%;

}

.scroll-indicator{

    position:absolute;

    left:50%;

    bottom:30px;

    transform:translateX(-50%);

    font-size:28px;

    color:var(--primary);

    animation:bounce 2s infinite;

}

/* ===============================
   FEATURES
================================ */

.section-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:#ECFEFF;

    color:var(--primary);

    margin-bottom:18px;

    font-weight:600;

}

.premium-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

    margin-top:70px;

}

.premium-card{

    background:white;

    border-radius:28px;

    padding:40px;

    box-shadow:var(--shadow-sm);

    transition:.4s;

    border:1px solid var(--border);

}

.premium-card:hover{

    transform:translateY(-12px);

    box-shadow:var(--shadow-lg);

}

.icon-circle{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#ECFEFF;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    margin-bottom:24px;

}

.premium-card h3{

    font-family:'Poppins';

    margin-bottom:18px;

    color:var(--dark);

}

.premium-card p{

    color:var(--muted);

}

.mini-feature-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.mini-feature-grid div{

    background:white;

    border-radius:16px;

    padding:18px;

    text-align:center;

    box-shadow:var(--shadow-sm);

    transition:.35s;

}

.mini-feature-grid div:hover{

    background:var(--primary);

    color:white;

}

/* ===============================
WHY FAMILY OS
=============================== */

.why-family{

padding:120px 0;

background:#F8FAFC;

}

.problem-solution{

display:grid;

grid-template-columns:1fr 1fr;

gap:40px;

margin-top:60px;

}

.problem-card,
.solution-card{

background:white;

padding:45px;

border-radius:28px;

box-shadow:var(--shadow-sm);

}

.problem-card h3,
.solution-card h3{

margin-bottom:25px;

font-family:'Poppins';

}

.problem-card li,
.solution-card li{

padding:14px 0;

border-bottom:1px solid var(--border);

}
.vision{
    padding:120px 0;
    background:#fff;
}

.vision-grid{
    display:grid;
    grid-template-columns:55% 45%;
    align-items:center;
    gap:60px;
}

.vision h2{
    font-size:58px;
    line-height:1.15;
    margin:20px 0;
    color:#0F172A;
}

.vision p{
    font-size:19px;
    line-height:1.8;
    color:#64748B;
    margin-bottom:25px;
}

.vision-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.vision-image img{

    width:100%;
    max-width:520px;

    border-radius:30px;

    box-shadow:0 30px 60px rgba(0,0,0,.12);

    transition:.4s;
}

.vision-image img:hover{

    transform:translateY(-8px);

}

/* ===============================
AI
=============================== */

.ai-section{

padding:120px 0;

background:white;

}

.ai-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

margin-top:60px;

}

.ai-card{

padding:40px;

background:#F8FAFC;

border-radius:24px;

text-align:center;

transition:.4s;

font-size:40px;

}

.ai-card h3{

font-size:22px;

margin:20px 0;

font-family:'Poppins';

}

.ai-card p{

font-size:16px;

color:var(--muted);

}

.ai-card:hover{

transform:translateY(-10px);

box-shadow:var(--shadow-lg);

background:white;

}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
}

.faq-item p {
  margin-top: 14px;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

.info-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

/* Download CTA */
.download-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.download-banner h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.download-banner p {
  margin-bottom: 32px;
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-grid h2,
.footer-grid h3 {
  color: #fff;
}

.footer-grid a {
  display: block;
  color: #cbd5e1;
  margin-top: 10px;
}

.footer-grid a:hover {
  color: #2DD4BF;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #94a3b8;
}

/* Back to Top */
#topBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: var(--shadow-md);
}