/* =========================
   SeaMiles - styles.css
   ========================= */

:root{
    --navy:#08243d;
    --blue:#0d5e87;
    --cyan:#18bfd3;
    --bg:#f5f9fc;
    --text:#17324d;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    font-family:'Inter',Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

/* HEADER */
header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:42px 70px;
    display:grid;
    grid-template-columns:260px 1fr 260px;
    align-items:center;
    z-index:100;
}

.logo img{height:68px;width:auto;display:block}

nav{
    display:flex;
    justify-content:center;
    gap:45px;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:17px;
    transition:color .25s ease;
}

nav a:hover{color:var(--cyan)}

.account{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:18px;
}

.login{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.login:hover{color:var(--cyan)}

.register{
    background:var(--cyan);
    color:#fff;
    text-decoration:none;
    padding:13px 26px;
    border-radius:999px;
    font-weight:700;
    transition:transform .2s ease,background .2s ease;
}

.register:hover{
    background:#10abc0;
    transform:translateY(-1px);
}

/* HERO */
.hero{
    position:relative;
    height:100vh;
    min-height:700px;
    background:
        linear-gradient(rgba(8,36,61,.35),rgba(8,36,61,.55)),
        url("../images/hero.jpg");
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:0 70px;
    overflow:hidden;
}

.hero-content{
    position:relative;
    z-index:10;
    max-width:700px;
    color:#fff;
    margin-top:80px;
}

.badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    margin-bottom:25px;
    font-size:15px;
    font-weight:500;
}

.hero h1{
    font-size:clamp(52px,6vw,78px);
    line-height:1.05;
    font-weight:800;
    letter-spacing:-2px;
    margin-bottom:25px;
}

.hero p{
    font-size:21px;
    max-width:650px;
    margin-bottom:40px;
    opacity:.95;
}

/* BUTTONS */
.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.button-primary{
    display:inline-block;
    padding:17px 34px;
    border-radius:999px;
    background:var(--cyan);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:transform .2s ease,background .2s ease;
}

.button-primary:hover{
    background:#10abc0;
    transform:translateY(-2px);
}

.button-secondary{
    display:inline-block;
    padding:15px 32px;
    border-radius:999px;
    border:2px solid rgba(255,255,255,.95);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:background .2s ease,color .2s ease;
}

.button-secondary:hover{
    background:#fff;
    color:var(--navy);
}

/* HERO WAVE */
.hero-wave{
    position:absolute;
    left:0;
    bottom:-1px;
    width:100%;
    height:110px;
    line-height:0;
    z-index:5;
    pointer-events:none;
}

.hero-wave svg{
    display:block;
    width:100%;
    height:100%;
}

/* STATS */
.stats{
    max-width:1200px;
    margin:-80px auto 70px;
    padding:0 30px;
    position:relative;
    z-index:20;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:22px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.stat h2{
    color:var(--blue);
    font-size:42px;
    line-height:1.1;
    margin-bottom:8px;
}

.stat p{color:#60758a}

/* SECTIONS */
.section{
    max-width:1200px;
    margin:auto;
    padding:80px 30px;
}

.section h2{
    font-size:44px;
    line-height:1.15;
    text-align:center;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:#5d7288;
    margin-bottom:50px;
}

/* FEATURES */
.feature-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.card h3{
    margin-bottom:15px;
    font-size:21px;
}

.card p{color:#60758a}

/* PRICING */
.pricing{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    align-items:stretch;
}

.plan{
    background:#fff;
    border-radius:25px;
    padding:40px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
}

.plan h3{font-size:24px}

.plan.featured{
    border:3px solid var(--cyan);
    transform:scale(1.03);
}

.price{
    font-size:48px;
    line-height:1.1;
    font-weight:800;
    color:var(--blue);
    margin:20px 0;
}

.plan ul{
    padding-left:18px;
    margin-bottom:35px;
    flex:1;
}

.plan li{margin:12px 0}
.plan .button-primary{text-align:center}

/* FOOTER */
footer{
    background:var(--navy);
    color:#fff;
    text-align:center;
    padding:60px 30px;
}

footer img{
    height:55px;
    width:auto;
    margin-bottom:20px;
}

footer p{color:#c9d5df}

/* SCROLL HEADER */
header.scrolled{
    position:fixed;
    background:rgba(8,36,61,.90);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    transition:background .3s ease;
}

/* ANIMATIONS */
.card,.plan,.stat{
    opacity:0;
    transform:translateY(40px);
    transition:opacity .7s ease,transform .7s ease;
}

.card.show,.plan.show,.stat.show{
    opacity:1;
    transform:translateY(0);
}

/* MOBILE */
@media(max-width:950px){
    header{
        grid-template-columns:1fr;
        text-align:center;
        gap:20px;
        padding:25px 20px;
    }

    .logo{
        display:flex;
        justify-content:center;
    }

    nav{
        flex-wrap:wrap;
        gap:20px 28px;
    }

    nav a{font-size:15px}
    .account{justify-content:center}

    .hero{
        min-height:760px;
        padding:40px 25px;
        justify-content:center;
        text-align:center;
    }

    .hero-content{margin-top:120px}

    .hero h1{
        font-size:48px;
        letter-spacing:-1px;
    }

    .hero p{font-size:18px}

    .hero-buttons{justify-content:center}
    .hero-wave{height:80px}

    .stats{
        grid-template-columns:repeat(2,1fr);
        margin-top:-50px;
        padding:0 20px;
    }

    .stat{padding:25px 15px}
    .stat h2{font-size:34px}

    .feature-grid{grid-template-columns:1fr}
    .pricing{grid-template-columns:1fr}
    .plan.featured{transform:none}

    .section{padding:65px 20px}
    .section h2{font-size:36px}
}

@media(max-width:600px){
    header{padding:20px 15px}
    .logo img{height:52px}
    .account{gap:12px}
    .register{padding:11px 19px}

    .hero{min-height:760px}
    .hero h1{font-size:40px}
    .hero p{font-size:17px}

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .button-primary,.button-secondary{
        width:220px;
        text-align:center;
    }

    .stats{
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .stat{
        border-radius:16px;
        padding:22px 10px;
    }

    .stat h2{font-size:28px}
    .stat p{font-size:13px}
}
