
/* =====================================
   YMAX - Global Styles
===================================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;
    background:#0f172a;
    color:#ffffff;
    line-height:1.6;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/* ==========================
        Header
========================== */

header{

    position:sticky;
    top:0;
    z-index:1000;

    background:#111827;

    border-bottom:1px solid #1f2937;

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 0;

}

.logo a{

    color:#38bdf8;

    text-decoration:none;

    font-size:32px;

    font-weight:bold;

}

/* ==========================
       Navigation
========================== */

nav ul{

    display:flex;

    list-style:none;

    align-items:center;

    gap:20px;

}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;

    font-weight:500;

}

nav a:hover{

    color:#38bdf8;

}

.active{

    color:#38bdf8;

}

.signup-btn{

    background:#38bdf8;

    color:#0f172a !important;

    padding:10px 20px;

    border-radius:8px;

    font-weight:bold;

}

.signup-btn:hover{

    background:white;

}

/* ==========================
        Hero
========================== */

.hero{

    min-height:90vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:

    linear-gradient(135deg,#0f172a,#1d4ed8);

}

.hero h1{

    font-size:64px;

    margin-bottom:25px;

}

.hero p{

    max-width:750px;

    margin:auto;

    font-size:22px;

    color:#cbd5e1;

    margin-bottom:40px;

}

.buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* ==========================
      Buttons
========================== */

.primary-btn{

    background:#38bdf8;

    color:#0f172a;

    padding:16px 34px;

    text-decoration:none;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;

}

.primary-btn:hover{

    background:white;

}

.secondary-btn{

    border:2px solid #38bdf8;

    color:white;

    padding:16px 34px;

    text-decoration:none;

    border-radius:10px;

    transition:.3s;

}

.secondary-btn:hover{

    background:#38bdf8;

    color:#0f172a;

}

/* ==========================
       Sections
========================== */

section{

    padding:80px 0;

}

section h2{

    text-align:center;

    margin-bottom:50px;

    font-size:42px;

}

/* ==========================
      Cards
========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.card{

    background:#1e293b;

    padding:30px;

    border-radius:15px;

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    margin-bottom:15px;

}

.card p{

    color:#cbd5e1;

}

/* ==========================
        CTA
========================== */

.cta{

    text-align:center;

    background:#111827;

}

.cta p{

    margin:20px auto;

    max-width:700px;

    color:#cbd5e1;

}

/* ==========================
      Contact Form
========================== */

form{

    max-width:700px;

    margin:auto;

}

input,
textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:none;

    border-radius:8px;

    font-size:16px;

}

textarea{

    resize:vertical;

}

button{

    background:#38bdf8;

    color:#0f172a;

    border:none;

    padding:15px 30px;

    border-radius:8px;

    font-weight:bold;

    cursor:pointer;

}

button:hover{

    background:white;

}

/* ==========================
        Footer
========================== */

footer{

    background:#111827;

    padding:60px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;

}

footer h3{

    margin-bottom:20px;

}

footer ul{

    list-style:none;

}

footer li{

    margin-bottom:10px;

}

footer a{

    color:#cbd5e1;

    text-decoration:none;

}

footer a:hover{

    color:#38bdf8;

}

footer p{

    color:#cbd5e1;

}

.copyright{

    margin-top:40px;

    text-align:center;

    color:#94a3b8;

}

/* ==========================
      Mobile
========================== */

@media(max-width:768px){

header .container{

    flex-direction:column;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

    margin-top:20px;

}

.hero h1{

    font-size:42px;

}

.hero p{

    font-size:18px;

}

.buttons{

    flex-direction:column;

}

}
