/* ========================================
   Inline Form Styles (Reference Pattern)
   Beautiful Gradient Design
   ======================================== */

/* Logo in Top Left */
.top-logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.top-logo img {
    width: 150px;
    height: auto;
    display: block;
}

/* Hero Section with Form */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #F8FAFB 0%, rgba(66, 133, 244, 0.03) 100%);
    padding: 6rem 0 4rem;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(66, 133, 244, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-medium);
    margin-bottom: 3rem;
}

/* Signup Form Container */
.signup-form {
    max-width: 900px;
    margin: 0 auto;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

/* Step 1: Email Input with Gradient Button */
.form-group {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 100px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.form-group:focus-within {
    box-shadow: 0 12px 40px rgba(66, 133, 244, 0.2);
}

.form-group i {
    color: #4285F4;
    font-size: 1.3rem;
    margin: auto 1.25rem auto 1.5rem;
}

.form-group input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    padding: 1rem 1rem 1rem 0;
    outline: none;
    color: var(--color-text-dark);
}

.form-group input::placeholder {
    color: #B0B8C1;
    font-weight: 400;
}

/* Beautiful Gradient Button */
.form-group .cta-btn {
    padding: 1rem 3rem;
    background: linear-gradient(90deg, #4285F4 0%, #34A853 100%);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.form-group .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
    background: linear-gradient(90deg, #5a95f5 0%, #45b864 100%);
}

.form-group .cta-btn:active {
    transform: translateY(0);
}

.form-group .cta-btn i {
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

.form-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-note i {
    color: var(--color-accent);
}

/* Step 2: Full Form */
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    margin: 0;
}

.form-fields {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-field label i {
    color: #4285F4;
    font-size: 1rem;
}

.form-field input {
    padding: 1rem 1.5rem;
    border: 2px solid #E8EAED;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-field input:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-field input::placeholder {
    color: #B0B8C1;
}

/* Form Actions (Back + Submit) */
.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.back-btn {
    padding: 1rem 2rem;
    background: white;
    color: #4285F4;
    border: 2px solid #E8EAED;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.05);
}

.form-actions .cta-btn {
    flex: 1;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #4285F4 0%, #34A853 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.form-actions .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
    background: linear-gradient(90deg, #5a95f5 0%, #45b864 100%);
}

.form-actions .cta-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    animation: fadeIn 0.4s ease;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #34A853 0%, #0F9D58 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease;
    box-shadow: 0 8px 25px rgba(52, 168, 83, 0.3);
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
}

.success-message h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.15rem;
    color: var(--color-text-medium);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-logo {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .top-logo img {
        width: 120px;
    }
    
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .signup-form {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .form-group {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
        border-radius: 20px;
    }
    
    .form-group i {
        margin: 0 0 0 0.5rem;
        align-self: flex-start;
    }
    
    .form-group input {
        padding: 0.75rem 0.5rem;
    }
    
    .form-group .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        border-radius: 12px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .back-btn,
    .form-actions .cta-btn {
        width: 100%;
    }
    
    .form-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-group .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
