/* ===========================
   KNIGHT FINANCE
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    color:#1f2937;
    background:#f8fafc;
    line-height:1.7;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/* ===========================
   HERO
=========================== */

.hero{

    height:100vh;

    background:
        linear-gradient(rgba(7,20,42,.80),rgba(7,20,42,.80)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:white;

}

.hero-overlay{

    width:100%;

}

.hero h1{

    font-family:'Cinzel',serif;

    font-size:4.2rem;

    margin-bottom:20px;

    letter-spacing:2px;

}

.tagline{

    font-size:1.5rem;

    color:#d4af37;

    margin-bottom:30px;

}

.intro{

    max-width:760px;

    margin:auto;

    font-size:1.15rem;

    margin-bottom:45px;

    opacity:.95;

}

.hero-button{

    display:inline-block;

    padding:18px 42px;

    text-decoration:none;

    background:#d4af37;

    color:#07142a;

    font-weight:600;

    border-radius:50px;

    transition:.3s;

}

.hero-button:hover{

    transform:translateY(-4px);

    background:white;

}

/* ===========================
   SECTIONS
=========================== */

section{

    padding:90px 0;

}

section h2{

    text-align:center;

    font-family:'Cinzel',serif;

    font-size:2.5rem;

    color:#07142a;

    margin-bottom:20px;

}

.section-text{

    max-width:700px;

    margin:auto;

    text-align:center;

    margin-bottom:60px;

    color:#666;

}

/* ===========================
   CARDS
=========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.card{

    background:white;

    padding:40px;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

}

.card h3{

    text-align:center;

    margin-bottom:15px;

    color:#07142a;

}

.price{

    text-align:center;

    color:#d4af37;

    font-size:3rem;

    font-weight:bold;

    margin-bottom:25px;

}

.card ul{

    list-style:none;

}

.card li{

    padding:10px 0;

    border-bottom:1px solid #ececec;

}

.card button{

    width:100%;

    margin-top:30px;

    padding:15px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    background:#07142a;

    color:white;

    font-size:16px;

    transition:.3s;

}

.card button:hover{

    background:#d4af37;

    color:#07142a;

}

/* ===========================
   ABOUT
=========================== */

.about{

    background:white;

}

.features{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:35px;

    margin-top:60px;

}

.feature{

    text-align:center;

    padding:35px;

}

.feature h3{

    color:#07142a;

    margin-bottom:15px;

}

/* ===========================
   CONTACT
=========================== */

.contact{

    background:#07142a;

    color:white;

}

.contact h2{

    color:white;

}

.contact p{

    text-align:center;

    margin-bottom:40px;

}

form{

    max-width:700px;

    margin:auto;

}

input,
select,
textarea{

    width:100%;

    padding:18px;

    margin-bottom:20px;

    border:none;

    border-radius:10px;

    font-size:16px;

    font-family:inherit;

}

textarea{

    resize:vertical;

}

form button{

    width:100%;

    padding:18px;

    background:#d4af37;

    color:#07142a;

    border:none;

    border-radius:50px;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    transition:.3s;

}

form button:hover{

    background:white;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#05101f;

    color:white;

    text-align:center;

    padding:45px 20px;

}

footer h3{

    font-family:'Cinzel',serif;

    margin-bottom:15px;

}

footer p{

    margin:8px 0;

    color:#c9c9c9;

}

/* ===========================
   ANIMATIONS
=========================== */
.card,
.feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.card.visible,
.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.card,
.feature{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
   FAQ
=========================== */

.faq {
    background: #f8fafc;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #07142a;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    font-size: 1.3rem;
    color: #d4af37;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin-top: 15px;
    color: #666;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

.hero{

    height:auto;

    padding:120px 0;

}

.hero h1{

    font-size:2.8rem;

}

.tagline{

    font-size:1.2rem;

}

.intro{

    font-size:1rem;

}

section{

    padding:70px 0;

}

section h2{

    font-size:2rem;

}

.cards{

    grid-template-columns:1fr;

}

.features{

    grid-template-columns:1fr;

}

}
