/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b0b;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 7%;

    background: rgba(10, 10, 10, 0.95);

    border-bottom: 1px solid #333;
}

.logo {
    font-size: 23px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff9d2e;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #542000,
            #180b04 45%,
            #050505 80%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    background: #ff6a00;

    opacity: 0.08;

    border-radius: 50%;

    filter: blur(100px);

    animation: pulse 4s infinite;
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding: 40px 20px;
}

.hero-steak {
    font-size: 120px;

    display: inline-block;

    animation: floatSteak 3s ease-in-out infinite;

    filter:
        drop-shadow(0 20px 30px rgba(0,0,0,.7));
}

@keyframes floatSteak {

    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
    }

}

.eyebrow {
    color: #ff9d2e;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 95px);

    line-height: .95;

    margin-bottom: 25px;
}

.hero h1 span,
.section-heading span {
    color: #ff9d2e;
}

.hero-text {
    max-width: 650px;

    margin: auto;

    color: #ccc;

    font-size: 18px;
}


/* =========================
   BUTTONS
========================= */

.primary-button,
.secondary-button,
.build-button {

    border: none;

    cursor: pointer;

    font-weight: 800;

    border-radius: 50px;

    transition:
        transform .2s,
        box-shadow .2s,
        background .2s;
}

.primary-button {

    display: inline-block;

    margin-top: 30px;

    padding: 16px 32px;

    background: #e85d04;

    color: white;

    text-decoration: none;

    box-shadow: 0 10px 30px rgba(232, 93, 4, .25);
}

.primary-button:hover,
.secondary-button:hover,
.build-button:hover {

    transform: translateY(-3px) scale(1.02);

}

.primary-button:hover {
    background: #ff7b00;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 7%;
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-heading h2 {
    font-size: clamp(35px, 5vw, 60px);

    line-height: 1.05;

    margin-bottom: 20px;
}

.section-heading > p:last-child {
    color: #999;
}


/* =========================
   FEATURE CARDS
========================= */

.feature-grid {

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 22px;
}

.feature-card {

    background:
        linear-gradient(
            145deg,
            #202020,
            #131313
        );

    border: 1px solid #303030;

    padding: 35px 25px;

    border-radius: 18px;

    text-align: center;

    transition: .3s;
}

.feature-card:hover {

    transform: translateY(-8px);

    border-color: #e85d04;

    box-shadow:
        0 20px 50px rgba(0,0,0,.4);
}

.feature-icon {

    font-size: 55px;

    margin-bottom: 15px;
}

.feature-card h3 {

    font-size: 21px;

    margin-bottom: 10px;
}

.feature-card p {

    color: #999;

    font-size: 14px;
}


/* =========================
   BUILDER
========================= */

.builder-section {

    padding: 100px 7%;

    background:
        linear-gradient(
            180deg,
            #111,
            #170a03,
            #111
        );
}

.builder {

    max-width: 1000px;

    margin: auto;

    background: #151515;

    border: 1px solid #333;

    border-radius: 25px;

    padding: 40px;
}

.builder-step {

    margin-bottom: 45px;
}

.step-title {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.step-title span {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e85d04;

    font-weight: bold;
}

.step-title h3 {

    font-size: 22px;
}


.choice-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(170px, 1fr));

    gap: 15px;
}


.choice {

    background: #202020;

    border: 1px solid #333;

    color: white;

    border-radius: 15px;

    padding: 22px 12px;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    gap: 5px;

    align-items: center;

    transition: .2s;
}

.choice:hover {

    border-color: #e85d04;

    transform: translateY(-3px);
}

.choice.active {

    border-color: #ff9d2e;

    background:
        linear-gradient(
            145deg,
            #321507,
            #21130c
        );

    box-shadow:
        0 0 0 1px #ff9d2e;
}

.choice small {

    color: #999;

    font-size: 12px;
}

.build-button {

    width: 100%;

    padding: 18px;

    background: #e85d04;

    color: white;

    font-size: 16px;

    margin-top: 10px;
}


/* =========================
   RESULT
========================= */

.result {

    max-width: 900px;

    margin: 50px auto 0;

    padding: 50px;

    text-align: center;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at top,
            #4a1d06,
            #171717
        );

    border: 1px solid #704016;

    animation: resultIn .5s ease;
}

@keyframes resultIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.result-steak {

    font-size: 90px;

    margin-bottom: 15px;

    animation: celebrateSteak 2s infinite;
}

@keyframes celebrateSteak {

    0%, 100% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(4deg) scale(1.05);
    }

}

.result h2 {

    font-size: 42px;

    margin-bottom: 15px;
}

.result > p {

    max-width: 650px;

    margin: auto;

    color: #ccc;
}

.result-details {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(150px, 1fr));

    gap: 15px;

    margin: 35px 0;
}

.result-details div {

    padding: 18px;

    background: rgba(255,255,255,.05);

    border-radius: 12px;
}

.result-details span {

    display: block;

    color: #ff9d2e;

    font-size: 11px;

    letter-spacing: 1px;

    margin-bottom: 5px;
}

.result-details strong {

    font-size: 14px;
}

.secondary-button {

    padding: 12px 25px;

    background: transparent;

    color: white;

    border: 1px solid #555;
}

.secondary-button:hover {

    border-color: #ff9d2e;

}

.hidden {
    display: none;
}


/* =========================
   TIMER
========================= */

.timer-section {

    padding: 100px 7%;

    text-align: center;
}

.timer-card {

    max-width: 600px;

    margin: auto;

    padding: 50px;

    background: #171717;

    border: 1px solid #333;

    border-radius: 25px;
}

#timerDisplay {

    font-size: clamp(65px, 10vw, 110px);

    font-weight: 900;

    color: #ff9d2e;

    margin-bottom: 30px;

    font-variant-numeric: tabular-nums;
}

.timer-controls {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 10px;

    margin-bottom: 30px;
}

.timer-controls button {

    padding: 10px 16px;

    border-radius: 20px;

    border: 1px solid #444;

    background: #252525;

    color: white;

    cursor: pointer;
}

.timer-controls button:hover {

    border-color: #e85d04;
}


/* =========================
   CHEF TIP
========================= */

.chef-section {

    padding: 80px 7%;

    background: #161616;
}

.chef-card {

    max-width: 850px;

    margin: auto;

    display: flex;

    gap: 30px;

    align-items: center;

    padding: 35px;

    border-radius: 20px;

    background:
        linear-gradient(
            120deg,
            #291307,
            #191919
        );

    border: 1px solid #3a2415;
}

.chef-icon {

    font-size: 80px;
}

.chef-card h2 {

    margin-bottom: 20px;

    font-size: 28px;
}


/* =========================
   FOOTER
========================= */

footer {

    text-align: center;

    padding: 50px 20px;

    color: #777;

    background: #070707;
}

footer .logo {

    color: white;

    margin-bottom: 10px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 700px) {

    .navbar {

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {

        gap: 12px;
    }

    .hero-steak {

        font-size: 90px;
    }

    .builder {

        padding: 25px 18px;
    }

    .result {

        padding: 35px 20px;
    }

    .chef-card {

        flex-direction: column;

        text-align: center;
    }

}