/* Modern Webinar Registration Page - Enhanced Styles */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.15"/></svg>');
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.meta-item i {
    font-size: 1.2rem;
}

.btn-hero-cta {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-float-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.float-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.float-text {
    display: flex;
    flex-direction: column;
}

.float-text strong {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.float-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Enhanced Host Card */
.host-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.host-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.host-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.host-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1" fill="white" opacity="0.2"/></svg>');
}

.host-banner-title {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.host-profile {
    display: flex;
    gap: 25px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.host-image-wrapper {
    position: relative;
    display: inline-block;
}

.host-image-enhanced {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.host-verified {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--success-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 3px solid white;
}

.host-info {
    flex: 1;
}

.host-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.host-title {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.host-experience {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 15px;
}

.host-bio {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.host-bio p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-dark);
}

.host-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--bg-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item strong {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Learning List */
.learning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learning-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.learning-list li:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(5px);
}

.learning-list i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.learning-list span {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
}

/* Cards */
.info-card {
    border: none;
    border-radius: 15px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-lg);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Detail Boxes */
.detail-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.detail-box:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateX(5px);
}

.detail-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.detail-content {
    flex: 1;
}

/* Price Tag */
.price-tag {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 700;
}

.price-subtext {
    font-size: 0.85rem;
    opacity: 0.9;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Registration Card */
.sticky-form {
    position: sticky;
    top: 20px;
}

.registration-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.registration-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 35px 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.registration-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.registration-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
}

.registration-card .card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.registration-card .card-header p {
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.urgency-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--danger-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control-lg {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.btn-register {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.btn-register .btn-text {
    position: relative;
    z-index: 2;
}

.btn-register .btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-lg);
}

.btn-register:hover .btn-shimmer {
    left: 100%;
}

.security-note {
    text-align: center;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Payment Card */
.payment-card {
    border: none;
    border-radius: 20px;
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto;
}

.qr-container {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
}

.qr-code {
    max-width: 250px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.amount-display {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.amount-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.amount-value {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .sticky-form {
        position: relative;
        top: 0;
    }
    
    .host-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .host-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-float-card {
        position: static;
        margin-top: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .detail-box {
        flex-direction: column;
        text-align: center;
    }
    
    .price-tag {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .amount-display {
        flex-direction: column;
        gap: 10px;
    }
}
