:root {
    --color-orange: #FF7000;
    --color-black: #0a0a0a;
    --color-dark-gray: #1a1a1a;
    --color-gray: #A8A7A7;
    --color-light-orange: #ff8533;
    --color-white: #FFFFFF;
    --font-primary: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Header */
.site-header {
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 112, 0, 0.1));
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0 120px;
    /* Added bottom padding for footer space */
    position: relative;
    z-index: 2;
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-section {
        padding: 40px 0 140px;
        /* Increased bottom padding for fixed footer */
    }

    .text-content {
        margin: 0 auto;
    }
}

.text-content {
    max-width: 100%;
}

.main-title {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    word-wrap: break-word;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 32px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 20px;
    }

    .logo img {
        height: 40px;
    }

    .hero-section {
        padding-top: 20px;
    }
}

/* Highlight Animation */
.highlight-container {
    position: relative;
    display: inline-block;
    -webkit-text-fill-color: var(--color-white);
    z-index: 1;
    white-space: nowrap;
}

/* SVG Styles */
.highlight-svg {
    position: absolute;
    top: -5%;
    left: -2%;
    width: 105%;
    height: 120%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
}

.base-line {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    opacity: 0.9;
    animation: draw 2.5s cubic-bezier(0.43, 0.13, 0.23, 0.96) forwards 0.5s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Form Container */
.form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.form-container:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 112, 0, 0.2);
}

.form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--color-white);
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 112, 0, 0.1);
}

.form-group select option {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-orange), #e65100);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 112, 0, 0.4);
    color: var(--color-white);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.submit-btn:disabled {
    background: var(--color-dark-gray);
    color: var(--color-gray);
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--glass-border);
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    text-align: center;
    border-top: 1px solid var(--glass-border);
    z-index: 100;
}

.site-footer p {
    color: var(--color-gray);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.45rem;
    }

    .form-container {
        padding: 24px 20px;
    }

    .submit-btn {
        padding: 16px;
    }

    .site-footer {
        position: relative;
        /* Make footer static on very small screens to avoid overlap */
        margin-top: 40px;
        background-color: var(--color-black);
    }

    .hero-section {
        padding-bottom: 40px;
        /* Reduce padding since footer is static */
    }
}