:root {
    --primary: #FFD700;
    --primary-glow: rgba(255, 215, 0, 0.4);
    --secondary: #A855F7;
    --bg-dark: #070708;
    --bg-card: rgba(255, 255, 255, 0.04);
    --text-main: #F4F4F5;
    --text-muted: #A1A1AA;
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(168, 85, 247, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 7, 8, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border);
    margin-left: 1rem;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Hero */
.hero {
    padding: 200px 0 120px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, var(--glow) 0%, transparent 40%);
    z-index: -1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 900;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 550px;
}

/* Cockpit Design (Cool Version) */
/* Mockup Box for Image */
.cockpit-mockup {
    width: 420px;
    background: #121214;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.6;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.mockup-header .title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 10px;
}

/* Contact Form Refinement */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    opacity: 0.8;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    min-height: 150px;
    line-height: 1.6;
}

.form-status {
    min-height: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 100px 0;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    transition: 0.4s;
}

.glass:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.2);
}

/* Footer & Modals */
footer {
    padding: 100px 0 60px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links button:hover {
    color: var(--primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    animation: popUp 0.3s ease;
}

@keyframes popUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        margin: 0 auto 3rem;
    }

    .cockpit-mockup {
        margin: 50px auto 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
}