:root {
    /* Color Palette */
    --primary: #6366F1;
    --primary-glow: rgba(99, 102, 241, 0.2);
    --secondary: #6366F1;
    --background: url('bg.png');
    --surface: #FFFFFF;
    --surface-border: rgba(99, 102, 241, 0.1);
    --text-main: #0F172A;
    --text-muted: #475569;
    
    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background) no-repeat center center fixed;
    background-size: cover;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Background Effects --- */
.bg-blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* --- Typography Helpers --- */
.highlight-text {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

/* --- Navigation --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 800;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.logo-text {
    color: #0F172A;
    letter-spacing: -0.5px;
}

.btn-dark {
    background: #1E293B;
    color: white;
}

.btn-dark:hover {
    background: #0F172A;
    transform: translateY(-2px);
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    padding: calc(var(--nav-height) + 120px) 0 150px;
    text-align: center;
    position: relative;
}

.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--surface-border);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 40px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.hero-badge ion-icon {
    font-size: 18px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -2px;
    color: #0F172A;
}

.hero-subtitle {
    font-size: 18px;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.hero-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 36px;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.08);
    text-align: left;
}

.form-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 700;
    text-align: center;
}

.input-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--text-muted);
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.input-group input, .input-group select {
    width: 100%;
    background: none;
    border: none;
    color: #1E293B;
    font-size: 15px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.input-group input::placeholder {
    color: #94A3B8;
}

.select-group {
    position: relative;
}

.select-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 28px;
}

.select-chevron {
    position: absolute;
    right: 20px;
    pointer-events: none;
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.input-group:focus-within .select-chevron {
    color: var(--primary);
}

.hero-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    margin-top: 6px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 450px;
    text-align: center;
    padding: 60px;
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}


/* --- Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 450px;
    text-align: center;
    padding: 60px;
}

.modal-icon {
    font-size: 80px;
    color: var(--secondary);
    margin-bottom: 24px;
}

.modal h2 {
    margin-bottom: 16px;
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    body {
        background: url('image.png') no-repeat center center fixed;
        background-size: cover;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-form {
        padding: 24px;
        border-radius: 20px;
        gap: 14px;
        background: rgba(255, 255, 255, 0.7);
    }

    .input-group {
        background: white;
        padding: 12px 16px;
        border-radius: 12px;
        width: 100%;
    }

    .hero-form .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: 12px;
        margin-top: 4px;
    }
}

/* --- Footer --- */
.footer {
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid var(--surface-border);
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px var(--primary-glow);
    border-color: var(--primary);
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Dynamic Specification Fields Animation --- */
.other-input-group {
    animation: fadeInSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border-left: 3px solid var(--primary);
    background: #F8FAFC !important; /* Slightly distinct background for custom input */
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


