/* =====================================================
   ASK PILOT - MAIN WEBSITE CSS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #111827;
    line-height: 1.6;
}


/* =====================================================
   NAVIGATION
===================================================== */

nav {
    width: 100%;
    min-height: 72px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    border-bottom: 1px solid #e5e7eb;

    position: relative;
    z-index: 1000;
}


/* Logo */

.logo {
    display: inline-block;

    color: #111827;

    font-size: 28px;
    font-weight: 700;

    text-decoration: none;

    letter-spacing: -1px;
}

.logo span {
    color: #2563eb;
}


/* Navigation links */

.nav-links {
    display: flex;
    align-items: center;

    gap: 6px;
}

.nav-links a {
    display: inline-block;

    color: #64748b;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    padding: 9px 14px;

    border-radius: 8px;

    background: transparent;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


/* Hover */

.nav-links a:hover {
    color: #2563eb;

    background: #f1f5ff;
}


/* Current page */

.nav-links a.active {
    color: #2563eb;

    background: #eaf0ff;

    font-weight: 600;
}


/* =====================================================
   GENERAL BUTTONS
===================================================== */

.primary-button,
.secondary-button,
.button,
.cta-button {
    display: inline-block;

    padding: 14px 23px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.2s ease;
}

.primary-button,
.button,
.cta-button {
    color: #ffffff;

    background: #2563eb;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.18);
}

.primary-button:hover,
.button:hover,
.cta-button:hover {
    color: #ffffff;

    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.25);
}

.secondary-button {
    color: #334155;

    background: #ffffff;

    border: 1px solid #dbe2ea;
}

.secondary-button:hover {
    color: #334155;

    background: #f8fafc;

    border-color: #cbd5e1;

    transform: translateY(-2px);
}


/* =====================================================
   GENERAL TEXT
===================================================== */

.section-label {
    color: #2563eb;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.section-text {
    max-width: 650px;

    margin: 0 auto;

    color: #64748b;

    font-size: 17px;

    line-height: 1.7;
}


/* =====================================================
   HOME PAGE
===================================================== */

.home {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(99, 102, 241, 0.08),
            transparent 30%
        ),
        #f7f9fc;
}


/* Hero */

.hero {
    min-height: 650px;

    padding: 90px 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;
}

.hero-content {
    max-width: 620px;
}

.hero-label {
    display: inline-block;

    color: #2563eb;

    background: #eaf0ff;

    padding: 8px 15px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 72px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #2563eb;
}

.hero-description {
    max-width: 570px;

    margin-bottom: 35px;

    color: #64748b;

    font-size: 19px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


/* =====================================================
   CHAT PREVIEW
===================================================== */

.chat-preview {
    width: 400px;

    min-width: 400px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 20px;

    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.14);

    transform: rotate(1deg);
}

.chat-header {
    padding: 20px;

    display: flex;

    align-items: center;

    gap: 13px;

    color: #ffffff;

    background: #2563eb;
}

.bot-circle {
    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #2563eb;

    background: #ffffff;

    border-radius: 50%;

    font-size: 21px;

    font-weight: bold;
}

.chat-header strong {
    display: block;
}

.chat-header small {
    display: block;

    opacity: 0.8;
}

.chat-messages {
    min-height: 300px;

    padding: 25px 20px;

    background: #f8fafc;
}

.message {
    max-width: 80%;

    padding: 13px 16px;

    margin-bottom: 15px;

    border-radius: 14px;

    font-size: 14px;
}

.user-message {
    margin-left: auto;

    color: #ffffff;

    background: #2563eb;

    border-bottom-right-radius: 4px;
}

.bot-message {
    color: #334155;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-bottom-left-radius: 4px;
}

.chat-input {
    margin: 15px;

    padding: 13px 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #94a3b8;

    background: #ffffff;

    border: 1px solid #dbe2ea;

    border-radius: 10px;
}

.chat-input button {
    width: 32px;
    height: 32px;

    border: none;

    border-radius: 8px;

    color: #ffffff;

    background: #2563eb;
}


/* =====================================================
   TRUST
===================================================== */

.trust {
    padding: 35px 20px;

    text-align: center;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;

    border-bottom: 1px solid #e5e7eb;
}

.trust p {
    color: #94a3b8;

    font-size: 13px;
}

.trust strong {
    color: #334155;
}


/* =====================================================
   FEATURES
===================================================== */

.features {
    padding: 100px 8%;

    text-align: center;

    background: #ffffff;
}

.features h2 {
    margin: 10px 0 15px;

    color: #111827;

    font-size: 42px;

    letter-spacing: -1px;
}

.feature-grid {
    max-width: 1100px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.feature-card {
    padding: 32px;

    text-align: left;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eaf0ff;

    border-radius: 12px;

    font-size: 22px;
}

.feature-card h3 {
    margin-bottom: 10px;

    color: #1e293b;
}

.feature-card p {
    color: #64748b;
}


/* =====================================================
   STATS
===================================================== */

.stats {
    padding: 75px 8%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    text-align: center;

    background: #111827;
}

.stat h2 {
    margin-bottom: 5px;

    color: #ffffff;

    font-size: 40px;
}

.stat p {
    color: #94a3b8;
}


/* =====================================================
   GENERAL PAGES
===================================================== */

.page {
    min-height: 75vh;

    padding: 90px 8%;

    text-align: center;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #f7f9fc;
}

.page h1 {
    max-width: 900px;

    margin: 15px auto 20px;

    color: #111827;

    font-size: clamp(42px, 5vw, 60px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.page h1 span {
    color: #2563eb;
}

.page > p:not(.section-label) {
    max-width: 700px;

    margin: auto;

    color: #64748b;

    font-size: 18px;

    line-height: 1.7;
}


/* =====================================================
   CARDS
===================================================== */

.cards {
    max-width: 1050px;

    margin: 55px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.card {
    padding: 32px;

    text-align: left;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}

.card h2 {
    margin-bottom: 12px;

    color: #2563eb;

    font-size: 22px;
}

.card p {
    color: #64748b;
}


/* =====================================================
   HOW IT WORKS
===================================================== */

.steps {
    max-width: 1050px;

    margin: 60px auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.step {
    padding: 35px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 15px;

    text-align: center;

    transition: all 0.25s ease;
}

.step:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: #2563eb;

    border-radius: 50%;

    font-weight: bold;
}

.step h2 {
    margin-bottom: 10px;
}

.step p {
    color: #64748b;
}


/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-page {
    min-height: 75vh;

    padding: 90px 8%;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(99, 102, 241, 0.10),
            transparent 30%
        ),
        #f7f9fc;
}

.contact-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* Contact text */

.contact-info {
    padding-right: 20px;
}

.contact-label {
    color: #2563eb;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.contact-info h1 {
    margin: 15px 0 25px;

    color: #111827;

    font-size: clamp(45px, 5vw, 62px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.contact-info h1 span {
    color: #2563eb;
}

.contact-description {
    max-width: 520px;

    color: #64748b;

    font-size: 18px;

    line-height: 1.7;
}


/* Contact details */

.contact-details {
    margin-top: 35px;

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-detail {
    max-width: 430px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    transition: all 0.2s ease;
}

.contact-detail:hover {
    transform: translateX(5px);

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08);
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #eaf0ff;

    border-radius: 10px;

    font-size: 20px;
}

.contact-detail strong {
    display: block;

    margin-bottom: 3px;

    color: #111827;
}

.contact-detail span,
.contact-detail a {
    color: #64748b;

    font-size: 14px;

    text-decoration: none;
}

.contact-detail a:hover {
    color: #2563eb;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form {
    width: 100%;

    padding: 38px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 20px;

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.10);
}

.form-header {
    margin-bottom: 27px;
}

.form-header h2 {
    margin-bottom: 7px;

    color: #111827;

    font-size: 27px;

    line-height: 1.2;
}

.form-header p {
    color: #64748b;

    font-size: 14px;
}


/* Input groups */

.input-group {
    width: 100%;

    margin-bottom: 17px;
}

.input-group label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 14px;

    font-weight: 600;
}


/* Optional */

.optional {
    color: #94a3b8;

    font-size: 12px;

    font-weight: 400;

    margin-left: 3px;
}


/* Inputs */

.contact-form input,
.contact-form textarea {
    display: block;

    width: 100%;

    padding: 14px 15px;

    color: #1e293b;

    background: #fbfdff;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #ffffff;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.contact-form textarea {
    min-height: 140px;

    resize: vertical;

    line-height: 1.5;
}


/* Send button */

.send-button {
    display: block;

    width: 100%;

    padding: 15px;

    margin-top: 5px;

    border: none;

    border-radius: 9px;

    color: #ffffff;

    background: #2563eb;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;
}

.send-button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}

.send-button:active {
    transform: translateY(0);

    box-shadow: none;
}

.send-button:disabled {
    opacity: 0.7;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* Form note */

.form-note {
    margin-top: 14px;

    color: #94a3b8;

    text-align: center;

    font-size: 12px;
}


/* Success */

.success-message {
    display: none;

    width: 100%;

    margin-top: 15px;

    padding: 12px 15px;

    color: #047857;

    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    border-radius: 9px;

    text-align: center;

    font-size: 14px;
}


/* =====================================================
   CTA
===================================================== */

.home-cta,
.cta {
    padding: 100px 20px;

    text-align: center;

    background: #f7f9fc;
}

.home-cta h2,
.cta h2 {
    margin-bottom: 15px;

    color: #111827;

    font-size: 42px;
}

.home-cta p,
.cta p {
    max-width: 550px;

    margin: 0 auto 30px;

    color: #64748b;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 45px 20px;

    color: #ffffff;

    background: #111827;

    text-align: center;
}

.footer-logo {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 25px;

    font-weight: 700;
}

footer > p {
    color: #94a3b8;

    font-size: 14px;
}

.footer-links {
    margin: 25px 0;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 22px;
}

.footer-links a {
    color: #cbd5e1;

    text-decoration: none;

    font-size: 14px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

footer hr {
    max-width: 800px;

    margin: 25px auto;

    border: none;

    border-top: 1px solid #273449;
}

.copyright {
    color: #64748b !important;

    font-size: 12px !important;
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 900px) {

    nav {
        min-height: auto;

        padding: 18px 20px;

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .hero {
        flex-direction: column;

        padding-top: 70px;

        text-align: center;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .chat-preview {
        width: 100%;

        min-width: 0;

        max-width: 400px;
    }

    .feature-grid,
    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-form {
        max-width: 650px;

        margin: auto;
    }
}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 500px) {

    nav {
        padding: 16px 15px;
    }

    .logo {
        font-size: 25px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        padding: 7px 8px;

        font-size: 13px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .features,
    .page,
    .contact-page {
        padding-left: 20px;

        padding-right: 20px;
    }

    .features h2 {
        font-size: 34px;
    }

    .page h1 {
        font-size: 40px;
    }

    .contact-info h1 {
        font-size: 40px;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-form {
        padding: 25px 20px;

        border-radius: 15px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 13px;

        font-size: 14px;
    }

    .home-cta h2,
    .cta h2 {
        font-size: 34px;
    }

}