/* ===========================
   SweetLoveStory.com
   Premium Style.css
=========================== */

:root{

    --primary:#ff3b7f;
    --secondary:#ff6fa5;
    --purple:#8b5cf6;

    --white:#ffffff;

    --text:#222;

    --light:#fafafa;

    --border:#ececec;

    --shadow:0 15px 40px rgba(0,0,0,.12);

    --radius:18px;

    --transition:.30s ease;

}

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;

background:#fff;

color:var(--text);

line-height:1.7;

overflow-x:hidden;

}

a{

text-decoration:none;

color:inherit;

transition:var(--transition);

}

img{

max-width:100%;

display:block;

}

.container{

width:92%;

max-width:1200px;

margin:auto;

}

/* HEADER */

.site-header{

position:sticky;

top:0;

background:rgba(255,255,255,.95);

backdrop-filter:blur(18px);

box-shadow:0 3px 15px rgba(0,0,0,.06);

z-index:999;

}

.site-header .container{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

}

.logo{

font-size:28px;

font-weight:700;

color:var(--primary);

}

.logo span{

color:var(--purple);

}

.navbar{

display:flex;

gap:28px;

}

.navbar a{

font-weight:600;

position:relative;

}

.navbar a::after{

content:'';

position:absolute;

left:0;

bottom:-6px;

height:2px;

width:0;

background:var(--primary);

transition:.3s;

}

.navbar a:hover::after{

width:100%;

}

/* HERO */

.hero{

padding:90px 0;

background:linear-gradient(135deg,#ffe3ef,#f4e9ff);

text-align:center;

}

.hero h1{

font-size:52px;

margin-bottom:20px;

font-weight:700;

}

.hero p{

font-size:20px;

max-width:750px;

margin:auto;

opacity:.85;

}

/* CARD */

.card{

background:#fff;

border-radius:var(--radius);

box-shadow:var(--shadow);

padding:35px;

margin-top:45px;

}

/* BUTTON */

.btn{

display:inline-block;

padding:15px 35px;

background:linear-gradient(135deg,var(--primary),var(--purple));

color:#fff;

font-weight:600;

border-radius:40px;

transition:.35s;

cursor:pointer;

border:none;

}

.btn:hover{

transform:translateY(-4px);

box-shadow:0 10px 25px rgba(255,59,127,.35);

}

/* INPUT */

input{

width:100%;

padding:15px;

margin-top:15px;

border:1px solid var(--border);

border-radius:12px;

font-size:16px;

outline:none;

transition:.3s;

}

input:focus{

border-color:var(--primary);

box-shadow:0 0 0 4px rgba(255,59,127,.15);

}

/* SECTION */

.section{

padding:80px 0;

}

.section-title{

font-size:40px;

text-align:center;

margin-bottom:50px;

}

/* FOOTER */

.footer{

background:#111827;

color:#ddd;

padding:70px 0 25px;

margin-top:80px;

}

.footer-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:35px;

}

.footer h3{

color:#fff;

margin-bottom:18px;

}

.footer ul{

list-style:none;

}

.footer li{

margin:10px 0;

}

.footer a:hover{

color:#fff;

}

.footer-bottom{

margin-top:35px;

text-align:center;

font-size:14px;

color:#aaa;

}

/* BACK TO TOP */

#backToTop{

position:fixed;

right:25px;

bottom:25px;

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);

}

/*==========================================
  SWEET LOVE STORY
  STYLE.CSS PART-2
==========================================*/

/* LOVE CALCULATOR */

.calculator{

max-width:700px;

margin:60px auto;

background:#fff;

border-radius:25px;

padding:40px;

box-shadow:0 15px 40px rgba(0,0,0,.08);

text-align:center;

}

.calculator h2{

font-size:38px;

margin-bottom:15px;

color:#ff3b7f;

}

.calculator p{

color:#666;

margin-bottom:30px;

}

.form-group{

margin-bottom:20px;

text-align:left;

}

.form-group label{

display:block;

font-weight:600;

margin-bottom:8px;

}

.form-group input{

width:100%;

height:58px;

padding:0 20px;

font-size:17px;

border-radius:15px;

border:2px solid #eee;

transition:.3s;

}

.form-group input:focus{

border-color:#ff3b7f;

box-shadow:0 0 15px rgba(255,59,127,.2);

}

/* BUTTON */

.calculate-btn{

width:100%;

height:60px;

border:none;

border-radius:18px;

background:linear-gradient(135deg,#ff3b7f,#8b5cf6);

color:#fff;

font-size:19px;

font-weight:700;

cursor:pointer;

transition:.35s;

}

.calculate-btn:hover{

transform:translateY(-4px);

box-shadow:0 12px 30px rgba(255,59,127,.35);

}

/* RESULT CARD */

.result-card{

margin-top:35px;

padding:30px;

border-radius:20px;

background:#fff5fa;

display:none;

animation:fadeUp .6s ease;

}

.result-card h3{

font-size:32px;

margin-bottom:10px;

color:#ff3b7f;

}

.result-message{

font-size:18px;

margin-top:15px;

font-weight:500;

}

/* LOVE PERCENT */

.love-percent{

font-size:70px;

font-weight:700;

color:#ff3b7f;

margin:20px 0;

}

/* PROGRESS BAR */

.progress{

height:18px;

background:#ececec;

border-radius:50px;

overflow:hidden;

margin-top:25px;

}

.progress-bar{

height:100%;

width:0;

background:linear-gradient(90deg,#ff3b7f,#ff6fa5,#8b5cf6);

transition:1.5s;

border-radius:50px;

}

/* SHARE BUTTONS */

.share-buttons{

margin-top:25px;

display:flex;

justify-content:center;

gap:15px;

flex-wrap:wrap;

}

.share-buttons a{

padding:12px 25px;

border-radius:30px;

background:#ff3b7f;

color:#fff;

font-weight:600;

transition:.3s;

}

.share-buttons a:hover{

transform:scale(1.05);

}

/* HOW IT WORKS */

.steps{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:25px;

margin-top:60px;

}

.step{

background:#fff;

padding:30px;

border-radius:20px;

box-shadow:0 8px 20px rgba(0,0,0,.05);

transition:.35s;

}

.step:hover{

transform:translateY(-8px);

}

.step-number{

width:60px;

height:60px;

background:#ff3b7f;

color:#fff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:24px;

font-weight:700;

margin-bottom:20px;

}

/* FAQ */

.faq{

margin-top:80px;

}

.faq-item{

background:#fff;

border-radius:18px;

margin-bottom:18px;

overflow:hidden;

box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.faq-question{

padding:22px;

font-size:18px;

font-weight:600;

cursor:pointer;

background:#fff;

}

.faq-answer{

padding:22px;

border-top:1px solid #eee;

display:none;

color:#666;

line-height:1.8;

}

/* BLOG */

.blog-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:30px;

margin-top:50px;

}

.blog-card{

background:#fff;

border-radius:22px;

overflow:hidden;

box-shadow:0 12px 25px rgba(0,0,0,.07);

transition:.35s;

}

.blog-card:hover{

transform:translateY(-8px);

}

.blog-card img{

width:100%;

height:220px;

object-fit:cover;

}

.blog-content{

padding:25px;

}

.blog-content h3{

font-size:24px;

margin-bottom:12px;

}

.blog-content p{

color:#666;

margin-bottom:18px;

}

.read-more{

display:inline-block;

padding:10px 22px;

background:#ff3b7f;

color:#fff;

border-radius:30px;

font-weight:600;

}

/* DISCLAIMER */

.disclaimer{

margin-top:50px;

padding:25px;

background:#fff5f8;

border-left:5px solid #ff3b7f;

border-radius:15px;

font-size:15px;

color:#666;

}

/* ANIMATION */

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(40px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

/* ===================================
   Mobile Responsive
=================================== */

*{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:0 18px;
}

.hero{
    padding:70px 20px;
    text-align:center;
}

.hero h1{
    font-size:48px;
}

.hero p{
    font-size:20px;
}

.calculator{
    width:100%;
}

.form-group input{
    width:100%;
}

.calculate-btn,
.btn{
    width:100%;
    margin-top:12px;
}

.share-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.share-buttons .btn{
    flex:1;
}

.steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.step{
    text-align:center;
}

@media (max-width:992px){

.hero h1{
    font-size:38px;
}

.steps{
    grid-template-columns:1fr;
}

}

@media (max-width:768px){

.hero{
    padding:50px 15px;
}

.hero h1{
    font-size:32px;
}

.hero p{
    font-size:17px;
}

.section{
    padding:40px 0;
}

.calculator{
    padding:25px;
}

.love-percent{
    font-size:60px;
}

.share-buttons{
    flex-direction:column;
}

.share-buttons .btn{
    width:100%;
}

}

@media (max-width:480px){

.hero h1{
    font-size:28px;
}

.section-title{
    font-size:26px;
}

.form-group label{
    font-size:15px;
}

.form-group input{
    font-size:16px;
    padding:14px;
}

.calculate-btn{
    font-size:18px;
}

.result-message{
    font-size:18px;
}

}