/* =========================
   GLOBAL STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;

    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;

    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}


/* =========================
   BACKGROUND BUBBLES
========================= */

.bubbles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;

    background: rgba(255,255,255,0.1);
    border-radius: 50%;

    animation: rise 15s infinite ease-in;
}

/* different bubble sizes / timing */

.bubble:nth-child(1){ width:40px;height:40px;left:10%;animation-duration:12s }
.bubble:nth-child(2){ width:60px;height:60px;left:20%;animation-duration:14s }
.bubble:nth-child(3){ width:30px;height:30px;left:35%;animation-duration:10s }
.bubble:nth-child(4){ width:50px;height:50px;left:50%;animation-duration:16s }
.bubble:nth-child(5){ width:45px;height:45px;left:65%;animation-duration:13s }
.bubble:nth-child(6){ width:35px;height:35px;left:75%;animation-duration:11s }
.bubble:nth-child(7){ width:55px;height:55px;left:85%;animation-duration:15s }
.bubble:nth-child(8){ width:40px;height:40px;left:92%;animation-duration:12s }


@keyframes rise {
    0%{
        bottom:-100px;
        opacity:0;
        transform:translateX(0) scale(1);
    }

    10%{opacity:1}
    90%{opacity:1}

    100%{
        bottom:110%;
        opacity:0;
        transform:translateX(100px) scale(1.2);
    }
}


/* =========================
   MAIN CONTAINER
========================= */

.container{
    max-width:800px;
    margin:0 auto;
    position:relative;
    z-index:1;
}


/* =========================
   HERO SECTION
========================= */

.hero{
    text-align:center;
    margin-bottom:60px;
    animation:fadeInDown 1s ease-out;
}

.title{
    font-size:56px;
    font-weight:800;
    margin-bottom:15px;
}

.subtitle{
    font-size:20px;
    opacity:.9;
    margin-bottom:30px;
}


/* =========================
   SUBSCRIBE FORM
========================= */

.subscribe-section{
    text-align:center;
    margin-bottom:80px;
}

.subscribe-form{
    display:flex;
    gap:12px;
    max-width:500px;
    margin:0 auto 15px;
}

.email-input{
    flex:1;

    padding:16px 24px;

    border-radius:50px;
    border:2px solid rgba(255,255,255,0.3);

    background:rgba(255,255,255,0.15);
    color:white;

    outline:none;

    transition:0.3s;
}

.email-input:focus{
    background:rgba(255,255,255,0.25);
    border-color:rgba(255,255,255,0.5);
}

.subscribe-btn{
    padding:16px 40px;

    border:none;
    border-radius:50px;

    background:white;
    color:#667eea;

    font-weight:600;
    cursor:pointer;

    transition:0.3s;
}

.subscribe-btn:hover{
    transform:translateY(-2px);
}


/* =========================
   TEMPLATE SECTION
========================= */

.templates-section{
    margin-bottom:80px;
}

.templates-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.template-card{
    text-align:center;

    padding:30px;
    border-radius:20px;

    background:rgba(255,255,255,0.1);
    backdrop-filter:blur(10px);

    border:1px solid rgba(255,255,255,0.2);

    transition:0.3s;
}

.template-card:hover{
    transform:translateY(-8px);
}

.template-icon{
    font-size:60px;
    margin-bottom:20px;
}

.download-btn{
    padding:12px 30px;

    border:none;
    border-radius:50px;

    background:white;
    color:#667eea;

    font-weight:600;
    cursor:pointer;

    transition:0.3s;
}


/* =========================
   BENEFITS SECTION
========================= */

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
}

.benefit-card{
    text-align:center;

    padding:30px 20px;

    border-radius:20px;

    background:rgba(255,255,255,0.1);

    transition:0.3s;
}

.benefit-card:hover{
    transform:translateY(-8px);
}

.benefit-icon{
    font-size:48px;
    margin-bottom:15px;
}


/* =========================
   MODAL
========================= */

.modal-overlay{
    display:none;

    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.7);

    justify-content:center;
    align-items:center;

    z-index:1000;
}

.modal-overlay.active{
    display:flex;
}

.modal-content{
    max-width:500px;
    width:90%;

    padding:40px;

    border-radius:25px;

    text-align:center;

    background:linear-gradient(135deg,#667eea,#764ba2);
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:600px){

    .title{font-size:40px}

    .subscribe-form{
        flex-direction:column;
    }

    .benefits-grid,
    .templates-grid{
        grid-template-columns:1fr;
    }

} 