/* CALENDAR CONNECT SPECIFIC STYLES */

/* Hero Section */
#hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Calendar Setup Section */
#calendar-setup {
    padding: 100px 0;
    background: var(--primary-bg);
    min-height: calc(100vh - 60vh);
}

.setup-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Setup Steps */
.setup-step {
    display: none;
    animation: fadeInUp 0.6s ease-out;
}

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

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

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

.step-header h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-header h2::after {
    display: none; /* Remove the default underline */
}

.step-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Setup Cards */
.setup-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.setup-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.1);
}

/* Info Boxes */
.info-box, .privacy-box {
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-box h3, .privacy-box h3 {
    color: #00f2fe;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    -webkit-text-fill-color: #00f2fe;
}

.info-box p, .privacy-box p {
    color: var(--text-light);
    margin: 0;
}

.privacy-box ul {
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
}

.privacy-box li {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

/* Forms */
.business-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--primary-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00f2fe;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

/* Buttons */
.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    display: flex;
    align-items: center;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00f2fe;
    color: #00f2fe;
}

.cta-button.secondary:hover {
    background: #00f2fe;
    color: #fff;
}

.back-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.back-btn:hover {
    border-color: #00f2fe;
    color: #00f2fe;
}

.back-btn-container {
    text-align: center;
    margin-top: 2rem;
}

/* Provider Selection */
.provider-selection {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.provider-btn {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    background: var(--primary-bg);
    gap: 1rem;
}

.provider-btn:hover {
    border-color: #00f2fe;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.2);
}

.provider-btn i:first-child {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.provider-info {
    flex: 1;
}

.provider-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    background: none;
    -webkit-text-fill-color: var(--text-color);
}

.provider-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.provider-btn i:last-child {
    font-size: 1.2rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.provider-btn:hover i:last-child {
    transform: translateX(5px);
}

.google-btn i:first-child {
    color: #4285f4;
}

.microsoft-btn i:first-child {
    color: #0078d4;
}

/* Success Card */
.success-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #4CAF50;
    animation: successPulse 2s ease-in-out infinite;
}

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

.success-info {
    margin-bottom: 3rem;
}

.success-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: var(--text-color);
}

.success-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.progress-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.progress-step.active .progress-number {
    background: var(--accent-gradient);
    border-color: #00f2fe;
    color: #fff;
}

.progress-step.completed .progress-number {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

.progress-step span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-step.active span {
    color: #00f2fe;
}

.progress-step.completed span {
    color: #4CAF50;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    transition: background 0.3s ease;
}

.progress-step.completed + .progress-line {
    background: #4CAF50;
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #00f2fe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .setup-card {
        padding: 2rem;
    }
    
    .step-header h2 {
        font-size: 1.8rem;
    }
    
    .provider-btn {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .provider-btn i:last-child {
        display: none;
    }
    
    .success-actions {
        gap: 1rem;
    }
    
    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-line {
        width: 2px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    #calendar-setup {
        padding: 60px 0;
    }
    
    .setup-card {
        padding: 1.5rem;
    }
    
    .cta-button.large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .step-header {
        margin-bottom: 2rem;
    }
}
