/* =========================
GLOBAL RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins','Segoe UI',Arial,sans-serif;
}

body{
background:#f9fafc;
color:#333;
line-height:1.6;
}

.container{
width:92%;
max-width:1200px;
margin:auto;
}


/* =========================
HEADER
========================= */

.header{
background:#fff;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
position:sticky;
top:0;
z-index:1000;
}

.nav{
display:flex;
align-items:center;
justify-content:space-between;
padding:14px 0;
}

.logo img{
height:90px;
}

/* NAVIGATION */

nav ul{
display:flex;
list-style:none;
}

nav ul li{
margin:0 16px;
}

nav ul li a{
text-decoration:none;
color:#444;
font-weight:500;
font-size:15px;
transition:.3s;
}

nav ul li a:hover{
color:#ff5c77;
}


/* RIGHT SIDE */

.nav-right{
display:flex;
align-items:center;
gap:12px;
}

.nav-right select{
padding:6px 8px;
border-radius:6px;
border:1px solid #ddd;
}


/* =========================
BUTTONS
========================= */

.primary{
background:#ff5c77;
color:white;
border:none;
padding:13px 28px;
border-radius:30px;
cursor:pointer;
font-size:15px;
transition:.3s;
}

.primary:hover{
background:#e54864;
transform:translateY(-3px);
box-shadow:0 8px 20px rgba(255,92,119,0.35);
}

.secondary{
background:white;
border:1px solid #ddd;
padding:13px 28px;
border-radius:30px;
cursor:pointer;
font-size:15px;
transition:.3s;
}

.secondary:hover{
background:#f5f5f5;
transform:translateY(-3px);
box-shadow:0 6px 15px rgba(0,0,0,0.1);
}

.login{
background:#ff5c77;
color:white;
padding:9px 18px;
border-radius:25px;
text-decoration:none;
font-size:14px;
}

.signup{
background:#f3f5ff;
padding:9px 18px;
border-radius:25px;
text-decoration:none;
font-size:14px;
color:#333;
}

.menu-btn{
display:none;
font-size:22px;
cursor:pointer;
}


/* =========================
HERO SECTION
========================= */

.hero{
background:linear-gradient(135deg,#fff5f2,#ffe3e8);
padding:90px 0;
position:relative;
overflow:hidden;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:50px;
}

.hero-text{
animation:fadeSlide 1.2s ease;
}

.hero-text h1{
font-size:42px;
font-weight:700;
margin-bottom:20px;
color:#222;
}

.hero-text p{
font-size:17px;
color:#555;
max-width:480px;
}

.hero-btn{
margin-top:30px;
}

.hero-img img{
width:100%;
max-width:420px;
animation:floatImage 4s ease-in-out infinite;
}

/* HERO ANIMATIONS */

@keyframes fadeSlide{
0%{opacity:0;transform:translateX(-40px);}
100%{opacity:1;transform:translateX(0);}
}

@keyframes floatImage{
0%{transform:translateY(0);}
50%{transform:translateY(-15px);}
100%{transform:translateY(0);}
}


/* BACKGROUND SHAPES */

.hero::before{
content:"";
position:absolute;
width:300px;
height:300px;
background:#ffd6de;
border-radius:50%;
top:-120px;
left:-120px;
opacity:.5;
animation:moveShape 10s infinite alternate;
}

.hero::after{
content:"";
position:absolute;
width:260px;
height:260px;
background:#ffe6ea;
border-radius:50%;
bottom:-120px;
right:-120px;
opacity:.5;
animation:moveShape 12s infinite alternate;
}

@keyframes moveShape{
0%{transform:translate(0,0);}
100%{transform:translate(40px,40px);}
}


/* =========================
HOW IT WORKS
========================= */

.works{
padding:90px 0;
text-align:center;
background:white;
}

.works h2{
font-size:32px;
margin-bottom:10px;
}

.works-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;
margin-top:50px;
}

.card{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 8px 25px rgba(0,0,0,0.06);
transition:.35s;
}

.card:hover{
transform:translateY(-8px);
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.card img{
width:65px;
margin-bottom:15px;
}


/* =========================
FEATURES
========================= */

.features{
background:#fff6ea;
padding:90px 0;
text-align:center;
}

.features h2{
font-size:32px;
}

.features-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:50px;
}

.feature{
background:white;
padding:26px;
border-radius:12px;
box-shadow:0 6px 20px rgba(0,0,0,0.06);
transition:.3s;
}

.feature:hover{
transform:translateY(-5px);
}


/* =========================
BLOG
========================= */

.blog{
padding:90px 0;
text-align:center;
background:white;
}

.blog h2{
font-size:32px;
}

.blog-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.blog-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
transition:.35s;
}

.blog-card:hover{
transform:translateY(-6px);
}

.blog-card img{
width:100%;
height:200px;
object-fit:cover;
}

.blog-card h4{
padding:18px;
font-size:16px;
}


/* =========================
DOWNLOAD
========================= */

.download{
background:linear-gradient(135deg,#e6f4ff,#d8ecff);
padding:90px 0;
text-align:center;
}

.download h2{
font-size:32px;
margin-bottom:10px;
}

.download p{
font-size:16px;
color:#555;
}

.store img{
height:50px;
margin:12px;
cursor:pointer;
transition:.3s;
}

.store img:hover{
transform:scale(1.08);
}


/* =========================
FOOTER
========================= */

.footer{
background:#1f1f1f;
color:white;
padding:60px 0 30px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr;
gap:40px;
}

.footer p{
font-size:14px;
color:#bbb;
}

.footer-links ul{
list-style:none;
}

.footer-links ul li{
margin-bottom:8px;
}

.footer-links ul li a{
color:#bbb;
text-decoration:none;
font-size:14px;
transition:.3s;
}

.footer-links ul li a:hover{
color:#ff5c77;
}

.social a{
color:white;
font-size:22px;
margin-right:14px;
}

.social a:hover{
color:#ff5c77;
}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid #444;
padding-top:15px;
}

.copyright{
font-size:13px;
color:#aaa;
}


/* =========================
TABLET
========================= */

@media(max-width:992px){

.hero-grid{
grid-template-columns:1fr;
text-align:center;
}

.hero-img{
margin-top:30px;
}

.works-grid{
grid-template-columns:repeat(2,1fr);
}

.features-grid{
grid-template-columns:repeat(2,1fr);
}

.blog-grid{
grid-template-columns:repeat(2,1fr);
}

}


/* =========================
MOBILE
========================= */

@media(max-width:768px){

.login
{
padding:7px 11px;
font-size:9px;
width:100px;
}



.menu-btn{
display:block;
}

nav{
position:fixed;
top:0;
left:-270px;
width:270px;
height:100%;
background:linear-gradient(180deg,#fff5f2,#ffe3e8);
box-shadow:3px 0 15px rgba(0,0,0,0.15);
transition:0.35s ease;
z-index:9998;
padding-top:80px;
}

nav.active{
left:0;
}

nav ul{
flex-direction:column;
padding:0 20px;
}

/* MENU ITEM */

nav ul li{
margin:12px 0;
border-radius:8px;
overflow:hidden;
}

/* MENU LINK */

nav ul li a{
display:block;
padding:12px 14px;
background:white;
border-radius:8px;
font-size:15px;
font-weight:500;
color:#444;
transition:0.3s;
box-shadow:0 3px 8px rgba(0,0,0,0.06);
}

/* HOVER EFFECT */

nav ul li a:hover{
background:#ff5c77;
color:white;
transform:translateX(5px);
}

/* MENU BUTTON */

.menu-btn{
display:block;
font-size:24px;
cursor:pointer;
color:#ff5c77;
}


.hero-text h1{
font-size:28px;
}

.hero{
padding:60px 0;
}

.hero-img img{
max-width:260px;
margin:auto;
}

.works-grid,
.features-grid,
.blog-grid{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:1fr;
text-align:center;
}

}


/* =========================
MOBILE STICKY CTA
========================= */

.mobile-cta{
display:none;
}

.mobile-cta a{
display:block;
width:100%;
background:#ff5c77;
color:white;
text-align:center;
padding:16px;
font-size:16px;
font-weight:600;
text-decoration:none;
}

/* SHOW ONLY ON MOBILE */

@media(max-width:768px){

.mobile-cta{
display:block;
position:fixed;
bottom:0;
left:0;
width:100%;
z-index:9999;
box-shadow:0 -3px 15px rgba(0,0,0,0.15);
}

body{
padding-bottom:70px;
}

}



/* USER PROFILE BOX */

.user-box{
display:flex;
flex-direction:column;
align-items:center;
cursor:pointer;
margin-left:12px;
}

.user-img{
width:34px;
height:34px;
border-radius:50%;
object-fit:cover;
border:2px solid #ff5c77;
}

.user-name{
font-size:11px;
margin-top:3px;
color:#333;
text-align:center;
max-width:70px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
}


/* PROFILE POPUP */

.profile-popup{
position:absolute;
top:70px;
right:20px;
background:white;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.15);
width:200px;
display:none;
flex-direction:column;
z-index:9999;
}

.profile-popup a{
padding:12px 15px;
text-decoration:none;
color:#333;
font-size:14px;
border-bottom:1px solid #eee;
display:flex;
align-items:center;
gap:8px;
}

.profile-popup a:hover{
background:#fff3f5;
}

.profile-popup.show{
display:flex;
}


/* MOBILE MENU CLOSE */

.menu-close{
display:none;
position:absolute;
top:20px;
right:20px;
font-size:22px;
cursor:pointer;
color:#ff5c77;
}

@media(max-width:768px){
    
.logo img
{
height:50px;
}

.header .container.nav
{
padding:5px 0px 5px 0px; 
/* top right bottom left */
margin-left:0px;
}


.menu-close{
display:block;
}

}

.nav-right{
display:flex;
align-items:center;
gap:14px;
}

/* language dropdown */

.nav-right select{
padding:5px 6px;
font-size:13px;
border-radius:6px;
border:1px solid #ddd;
}

/* USER PROFILE */

.user-profile{
position:relative;
}

.user-box{
display:flex;
flex-direction:column;
align-items:center;
cursor:pointer;
margin-left:12px;
}

.user-img{
width:32px;
height:32px;
border-radius:50%;
object-fit:cover;
border:2px solid #ff5c77;
}

.user-name{
font-size:11px;
margin-top:2px;
color:#333;
}


/* PROFILE POPUP */

.profile-popup{
position:absolute;
top:55px;
right:0;
background:white;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
width:200px;
display:none;
flex-direction:column;
z-index:9999;
}

.profile-popup a{
padding:12px 15px;
text-decoration:none;
color:#333;
font-size:14px;
border-bottom:1px solid #eee;
display:flex;
align-items:center;
gap:8px;
}

.profile-popup a:hover{
background:#fff3f5;
}

.profile-popup.show{
display:flex;
}

.card-link{
text-decoration:none;
color:inherit;
display:block;
}


