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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: -1px;
    margin: 0;
}

/* Tagline Section */
.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B6EF8;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.tagline-micro {
    font-size: 0.95rem;
    font-weight: 400;
    color: #718096;
    margin: 0 0 2.5rem 0;
    text-align: center;
    font-style: italic;
}

/* Hero Section */
.hero-section {
    padding: 2.5rem 0 4rem 0;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, #f9f7f5 0%, #ffffff 100%);
}

.hero-section .container {
    padding-top: 1rem;
}

.hero-content {
    padding: 0.5rem 0 2rem 0;
    max-width: 520px;
    width: 100%;
}

.hero-heading {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    margin-top: 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-subheading {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 2.2;
    margin-bottom: 1.75rem;
    text-align: left;
    word-spacing: 0.02em;
}

.hero-subheading:last-child {
    margin-bottom: 0;
}

/* Avatar Container */
.avatar-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.5rem 2rem 2rem 2rem;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.heygen-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

.fullscreen-btn svg {
    color: #667eea;
}

/* Fullscreen Mode */
.avatar-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999;
    border-radius: 0;
    aspect-ratio: auto;
}

.avatar-wrapper.fullscreen .heygen-iframe {
    border-radius: 0;
}

.avatar-placeholder {
    display: none;
}

.placeholder-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.placeholder-note {
    font-size: 0.875rem;
    color: #a0aec0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Form Styles */
.contact-form {
    max-width: 100%;
}

.form-label {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #a0aec0;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

.form-message {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: #c6f6d5;
    color: #22543d;
    display: block;
}

.form-message.error {
    background-color: #fed7d7;
    color: #742a2a;
    display: block;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.footer-text {
    color: #718096;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tagline {
        font-size: 1.3rem;
    }
    
    .tagline-micro {
        font-size: 0.9rem;
    }
    
    .hero-heading {
        font-size: 2.25rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
        line-height: 2;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .tagline-micro {
        font-size: 0.85rem;
        margin-bottom: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0 3rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-heading {
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 0;
        text-align: center;
    }
    
    .hero-subheading {
        font-size: 0.95rem;
        line-height: 1.9;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .avatar-container {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .tagline {
        font-size: 1.1rem;
    }
    
    .tagline-micro {
        font-size: 0.8rem;
    }
    
    .hero-heading {
        font-size: 1.75rem;
    }
    
    .hero-subheading {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
}

