/* ===========================
   Aaliya Book Publication
   Premium Landing Page CSS
   Part 2A
=========================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

html,
body{

width:100%;
min-height:100%;
background:#0F172A;
overflow-x:hidden;

}

/* Animated Background */

.bg{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

z-index:-2;

background:linear-gradient(
-45deg,
#2563EB,
#7C3AED,
#06B6D4,
#3B82F6
);

background-size:400% 400%;

animation:bgAnimation 15s ease infinite;

}

@keyframes bgAnimation{

0%{

background-position:0% 50%;

}

50%{

background-position:100% 50%;

}

100%{

background-position:0% 50%;

}

}

/* Floating Glow */

body::before{

content:"";

position:fixed;

top:-120px;

left:-120px;

width:320px;

height:320px;

border-radius:50%;

background:#38BDF8;

filter:blur(90px);

opacity:.35;

animation:float1 8s ease-in-out infinite;

z-index:-1;

}

body::after{

content:"";

position:fixed;

bottom:-120px;

right:-120px;

width:320px;

height:320px;

border-radius:50%;

background:#A855F7;

filter:blur(90px);

opacity:.30;

animation:float2 10s ease-in-out infinite;

z-index:-1;

}

@keyframes float1{

50%{

transform:translateY(50px);

}

}

@keyframes float2{

50%{

transform:translateY(-40px);

}

}

/* Sections */

section{

width:100%;

padding:40px 20px;

}

/* Center Layout */

#welcome,
#landing{

display:flex;

justify-content:center;

align-items:center;

flex-direction:column;

min-height:100vh;

}

/* Landing hidden initially */

#landing{

display:none;

}

/* Premium Glass Card */

.glass{

width:100%;

max-width:470px;

padding:40px;

border-radius:28px;

background:rgba(255,255,255,.10);

backdrop-filter:blur(25px);

border:1px solid rgba(255,255,255,.18);

box-shadow:

0 20px 50px rgba(0,0,0,.35),

0 0 50px rgba(255,255,255,.05);

text-align:center;

animation:fadeUp .9s ease;

}

/* Fade */

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(35px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/* Logo */

.logo{

width:70px;

display:block;

margin:0 auto 20px;

border-radius:50px;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/* Small Logo */

.logo-small{

width:65px;

border-radius:15px;

margin-right:15px;

}

/* Badge */

.badge{

display:inline-block;

padding:10px 18px;

border-radius:100px;

background:#16A34A;

color:#fff;

font-size:13px;

font-weight:600;

margin-bottom:20px;

box-shadow:0 8px 20px rgba(22,163,74,.35);

}

/* Heading */

h1{

font-size:38px;

font-weight:800;

line-height:1.3;

color:#fff;

margin-bottom:15px;

}

h2{

font-size:28px;

font-weight:700;

color:#fff;

}

h3{

font-size:22px;

font-weight:700;

color:#fff;

}

/* Paragraph */

p{

font-size:16px;

line-height:1.8;

color:#E5E7EB;

}

/* Notice Box */

.notice{

margin-top:25px;

padding:18px;

border-radius:16px;

background:rgba(255,255,255,.08);

border-left:5px solid #16A34A;

color:#fff;

font-size:15px;

line-height:1.8;

}
/* ====================================
   PART 2B
   Hero • Header • Buttons • Cards
==================================== */

/* Header */

header{

width:100%;

max-width:1200px;

display:flex;

align-items:center;

justify-content:flex-start;

margin-bottom:40px;

gap:15px;

}

header p{

font-size:14px;

opacity:.85;

}

/* Hero */

.hero{

width:100%;

max-width:850px;

text-align:center;

margin:auto;

padding:30px 0;

}

.hero h1{

font-size:48px;

font-weight:800;

margin-bottom:20px;

}

.hero p{

max-width:650px;

margin:auto;

margin-bottom:35px;

}

/* Buttons */

.btn{

display:flex;

align-items:center;

justify-content:center;

width:100%;

max-width:500px;

margin:18px auto;

padding:18px 24px;

border-radius:18px;

text-decoration:none;

font-size:17px;

font-weight:600;

color:#fff;

position:relative;

overflow:hidden;

transition:.35s ease;

box-shadow:0 15px 35px rgba(0,0,0,.25);

}

/* Website */

.website{

background:linear-gradient(
135deg,
#16A34A,
#22C55E
);

}

/* Telegram */

.telegram{

background:linear-gradient(
135deg,
#0088cc,
#1DA1F2
);

}

/* WhatsApp */

.whatsapp{

background:linear-gradient(
135deg,
#22C55E,
#25D366
);

}

/* Hover */

.btn:hover{

transform:translateY(-5px) scale(1.02);

box-shadow:0 20px 45px rgba(0,0,0,.35);

}

/* Active */

.btn:active{

transform:scale(.97);

}

/* Ripple */

.btn::after{

content:"";

position:absolute;

width:0;

height:0;

background:rgba(255,255,255,.35);

border-radius:50%;

top:50%;

left:50%;

transform:translate(-50%,-50%);

transition:.6s;

}

.btn:hover::after{

width:500px;

height:500px;

}

/* Continue Button */

#continueBtn{

margin-top:30px;

width:100%;

padding:18px;

border:none;

border-radius:18px;

background:linear-gradient(
135deg,
#2563EB,
#3B82F6
);

font-size:17px;

font-weight:700;

color:#fff;

cursor:pointer;

transition:.35s;

box-shadow:0 12px 30px rgba(37,99,235,.35);

}

#continueBtn:hover{

transform:translateY(-4px);

}

/* Trust Section */

.trust{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

max-width:850px;

margin:50px auto;

}

.item{

padding:24px;

border-radius:22px;

background:rgba(255,255,255,.08);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.12);

text-align:center;

font-weight:600;

color:#fff;

transition:.35s;

}

.item:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

/* Warning */

.warning{

max-width:900px;

margin:60px auto;

padding:30px;

border-radius:22px;

background:rgba(255,196,0,.10);

border-left:6px solid #FACC15;

color:#fff;

}

/* FAQ */

.faq{

max-width:900px;

margin:auto;

}

.faq details{

margin:18px 0;

background:rgba(255,255,255,.08);

padding:18px;

border-radius:18px;

}

.faq summary{

cursor:pointer;

font-weight:600;

color:#fff;

}

.faq p{

margin-top:15px;

}

/* Footer */

footer{

margin-top:70px;

text-align:center;

padding:35px 20px;

color:#ddd;

font-size:14px;

}

/* Sticky Button */

.sticky{

position:fixed;

bottom:20px;

left:0;

width:100%;

display:flex;

justify-content:center;

z-index:999;

}

.sticky a{

background:#16A34A;

padding:18px 40px;

border-radius:50px;

text-decoration:none;

color:#fff;

font-weight:700;

box-shadow:0 20px 40px rgba(22,163,74,.35);

transition:.35s;

}

.sticky a:hover{

transform:translateY(-4px);

}
/* ====================================
   PART 2C
   Responsive • Animations • Final Polish
==================================== */

/* Floating Animation */

@keyframes floating{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-10px);
}

100%{
transform:translateY(0px);
}

}

.logo{

animation:floating 4s ease-in-out infinite;

}

/* Hero Fade */

.hero{

animation:fadeHero 1s ease;

}

@keyframes fadeHero{

from{

opacity:0;
transform:translateY(40px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* Card Hover */

.glass:hover{

transform:translateY(-6px);

transition:.4s;

box-shadow:
0 25px 60px rgba(0,0,0,.35);

}

/* Scrollbar */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#0F172A;

}

::-webkit-scrollbar-thumb{

background:#2563EB;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#1D4ED8;

}

/* Selection */

::selection{

background:#2563EB;

color:#fff;

}

/* Smooth Transition */

button,
a,
.item,
.glass{

transition:all .35s ease;

}

/* Mobile */

@media(max-width:768px){

header{

flex-direction:column;

text-align:center;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:15px;

}

.trust{

grid-template-columns:1fr;

}

.glass{

padding:28px;

}

.logo{

width:90px;

}

.logo-small{

width:55px;

margin:0 auto;

}

.btn{

font-size:16px;

padding:16px;

}

.sticky{

padding:0 16px;

}

.sticky a{

width:100%;

text-align:center;

}

}

/* Small Mobile */

@media(max-width:480px){

section{

padding:24px 16px;

}

h1{

font-size:28px;

}

h2{

font-size:22px;

}

p{

font-size:14px;

line-height:1.7;

}

.item{

padding:18px;

}

.warning{

padding:20px;

}

}

/* Tablet */

@media(min-width:769px) and (max-width:1024px){

.hero{

max-width:90%;

}

.trust{

grid-template-columns:repeat(2,1fr);

}

}

/* Large Desktop */

@media(min-width:1400px){

.hero{

max-width:1000px;

}

.hero h1{

font-size:58px;

}

.container{

max-width:1300px;

}

}

/* Accessibility */

button:focus,
a:focus{

outline:3px solid #93C5FD;

outline-offset:4px;

}

/* Reduce Motion */

@media(prefers-reduced-motion:reduce){

*{

animation:none !important;

transition:none !important;

scroll-behavior:auto !important;

}

}

/* Footer Spacing */

body{

padding-bottom:90px;

}
