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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    background: transparent;
    color: #1a1a1a;
    padding: 60px 30px 40px;
    text-align: center;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.7;
    font-weight: 500;
    white-space: nowrap;
}

#rotatingText {
    display: inline-block;
}

main {
    padding: 40px 30px;
}

.form-container {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.05rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #009fd9;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 159, 217, 0.1);
}

input::placeholder {
    color: #aaa;
}

.other-input-container {
    margin-top: 10px;
    margin-left: 30px;
}

.other-input-container input {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.other-input-container input:focus {
    outline: none;
    border-color: #009fd9;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 159, 217, 0.1);
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #009fd9;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #0087bb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 159, 217, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    padding: 30px;
    background-color: #f0f9ff;
    border-radius: 10px;
    border: 2px solid #3b82f6;
}

.success-message h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    color: #64748b;
}

/* How Clyde Works Section */
.how-it-works {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.how-it-works h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.steps-list {
    list-style: none;
    counter-reset: steps;
    padding: 0;
    margin: 0;
}

.steps-list li {
    counter-increment: steps;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #4a4a4a;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.steps-list li::before {
    content: counter(steps) ".";
    color: #009fd9;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

footer {
    background-color: transparent;
    padding: 30px;
    border-top: none;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #666;
}

.feature-icon {
    font-size: 1.2rem;
    color: #009fd9;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 25px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
        white-space: normal;
    }

    header {
        padding: 40px 20px 30px;
    }

    main {
        padding: 30px 20px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }
}