/* ===========================
   Google Font
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:
        radial-gradient(circle at top left, #eef4ff 0%, transparent 45%),
        radial-gradient(circle at bottom right, #f7f4ff 0%, transparent 40%),
        #f8fbff;
    color:#222;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

section{
    padding:80px 8%;
}

h1,h2,h3,h4{
    color:#0A1733;
}

h2{
    font-size:42px;
    margin-bottom:20px;
    text-align:center;
}

p{
    line-height:1.8;
}

#features{

padding-bottom:35px;

}

/* ===========================
        NAVBAR
=========================== */

nav{

    position:fixed;
    top:0;
    left:0;
    right:0;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:rgba(10,23,51,.92);

    backdrop-filter:blur(15px);

    z-index:9999;

}

.logo{

    display:flex;
    align-items:center;
    gap:12px;

    color:white;
    font-weight:700;
    font-size:24px;

}

.logo img{

    width:52px;
    height:52px;

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav ul li a{

    color:white;
    transition:.3s;

}

nav ul li a:hover{

    color:#F4B740;

}

.download-btn{

    background:#4F73FF;

    color:white;

    padding:12px 22px;

    border-radius:10px;

    transition:.3s;

}

.download-btn:hover{

    background:#3558d6;

}

/* ===========================
        HERO
=========================== */

.hero{

    min-height:90vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

    padding-top:140px;

}

.hero h1{

font-size:52px;
max-width:650px;

    line-height:1.1;

    margin-bottom:25px;

}

.hero p{

    font-size:19px;

    color:#555;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.primary{

display:inline-flex;
align-items:center;
justify-content:center;

padding:16px 34px;

background:linear-gradient(135deg,#4F73FF,#2F57FF);

color:white;

font-weight:600;

border-radius:14px;

transition:.35s;

box-shadow:0 12px 30px rgba(79,115,255,.35);

}

.primary:hover{

transform:translateY(-4px) scale(1.03);

}

.secondary{

    border:2px solid #4F73FF;

    color:#4F73FF;

    padding:16px 34px;

    border-radius:12px;

    font-weight:600;

}


.hero-image img{

    max-width:340px;

    border-radius:35px;

    box-shadow:0 30px 60px rgba(0,0,0,.2);

    transition:.5s;

}

.hero-image img:hover{

    transform:translateY(-10px);

}

/* ===========================
FEATURES
=========================== */

.feature-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.feature-card{

background:white;
padding:40px 30px;
border-radius:24px;
box-shadow:0 12px 35px rgba(0,0,0,.08);
text-align:center;
transition:.35s;

}

.feature-card:hover{

    transform:translateY(-8px);

}

.feature-icon img{

width:60px;
margin:auto;
margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:12px;

}

.stats-section{

padding:50px 8%;

}

.stats{

margin-top:45px;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.stat{

background:white;
padding:30px;
border-radius:18px;
text-align:center;

}

.stat h2{

font-size:52px;

color:#4F73FF;

}

@media(max-width:900px){

.stats{

grid-template-columns:repeat(2,1fr);

}

}

/* ===========================
SCREENSHOTS
=========================== */

.screens-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:35px;

}

.screen{

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.4s;

}

.screen:hover{

    transform:translateY(-8px);

}

.screen img{

    height:620px;

    object-fit:cover;

}

.screen h3{

    text-align:center;

    padding:20px;

}

/* ===========================
DOWNLOAD
=========================== */

#download{

background:linear-gradient(135deg,#0A1733,#10295d);
padding:90px;
border-radius:30px;

}

#download h2{

    color:white;

}

#download p{

    color:#ddd;

    margin-bottom:35px;

}

/* ===========================
FOOTER
=========================== */

footer{

    background:#081224;

    color:white;

    padding:70px 8%;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

footer img{

    width:80px;

    margin-bottom:15px;

}

footer h4{

    color:white;

    margin-bottom:20px;

}

footer a{

    display:block;

    margin-bottom:12px;

    color:#ccc;

}

footer p{

    color:#ccc;

}

/* ===========================
RESPONSIVE
=========================== */

@media (max-width:1100px){

.hero{

grid-template-columns:1fr;
text-align:center;
gap:50px;

}

.hero-buttons{

justify-content:center;
flex-wrap:wrap;

}

.hero-image{

order:-1;

}

.hero h1{

font-size:44px;

}

.showcase{

grid-template-columns:1fr;

}

nav{

padding:18px 5%;

}

}

@media (max-width:768px){

section{

padding:65px 6%;

}

h2{

font-size:34px;

}

.hero h1{

font-size:38px;

}

.hero p{

font-size:17px;

}

.phone-card img{

width:180px;

}

.stat{

padding:25px;

}

}

@media (max-width:480px){

.hero h1{

font-size:30px;

}

.hero-buttons{

flex-direction:column;

}

.primary,

.secondary{

width:100%;

}

.phone-card{

padding:18px;

}

.phone-card img{

width:160px;

}

}

/* ===========================
SCREEN GALLERY
=========================== */

.screens{

background:#f8fbff;

}

.section-subtitle{

max-width:650px;
margin:15px auto 60px;
text-align:center;
font-size:18px;
color:#666;

}

.screen-gallery{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

max-width:1200px;

margin:auto;

}

.phone-card{

background:white;

padding:20px;

border-radius:22px;

box-shadow:0 12px 28px rgba(0,0,0,.08);

transition:.35s;

display:flex;

flex-direction:column;

justify-content:space-between;

}

.phone-card:hover{

transform:translateY(-10px);

}

.phone-card img{

width:100%;

max-width:220px;

margin:auto;

border-radius:28px;

}

.phone-card h4{

margin-top:18px;
font-size:20px;

}

@media (max-width:1200px){

.screen-gallery{

grid-template-columns:repeat(3,1fr);

}

}

@media (max-width:850px){

.screen-gallery{

grid-template-columns:repeat(2,1fr);

}

}

@media (max-width:550px){

.screen-gallery{

grid-template-columns:1fr;

}

}

/* ===========================
Animations
=========================== */

.hidden{

opacity:0;

transform:translateY(70px);

transition:.8s;

}

.show{

opacity:1;

transform:translateY(0);

}

/* ===========================
Navbar
=========================== */

.nav-scrolled{

background:#07162f !important;

box-shadow:0 8px 25px rgba(0,0,0,.18);

}

/* ===========================
Hamburger
=========================== */

.hamburger{

display:none;

font-size:32px;

color:white;

cursor:pointer;

}

@media(max-width:950px){

.hamburger{

display:block;

}

nav ul{

position:absolute;

top:90px;

left:0;

right:0;

background:#0A1733;

flex-direction:column;

padding:30px;

display:none;

}

nav ul.show{

display:flex;

}

}

/* ===========================
Back To Top
=========================== */

.top-btn{

position:fixed;

bottom:30px;

right:30px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#4F73FF;

color:white;

font-size:24px;

cursor:pointer;

opacity:0;

pointer-events:none;

transition:.3s;

box-shadow:0 10px 30px rgba(79,115,255,.35);

}

.top-btn.visible{

opacity:1;

pointer-events:auto;

}

.top-btn:hover{

transform:translateY(-4px);

}

/* ===========================
Lightbox
=========================== */

.lightbox{

position:fixed;

inset:0;

background:rgba(0,0,0,.92);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

pointer-events:none;

transition:.35s;

z-index:99999;

}

.lightbox.active{

opacity:1;

pointer-events:auto;

}

.lightbox img{

max-height:90vh;

max-width:90vw;

border-radius:18px;

box-shadow:0 20px 60px rgba(0,0,0,.5);

cursor:pointer;

}

.hero-image{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.phone-shadow{

    position:absolute;

    width:280px;
    height:550px;

    background:#4F73FF;

    border-radius:45px;

    filter:blur(90px);

    opacity:.22;

}

.floating-phone{

    width:340px;

    position:relative;

    animation:floatPhone 5s ease-in-out infinite;

    z-index:5;

}

@keyframes floatPhone{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-20px);
}

100%{
transform:translateY(0px);
}

}