/* ======================
   RESET & BASE STYLES
   ====================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1e3347;
    color: #f5f5f5;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ======================
   NAVIGATION
   ====================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 51, 71, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-ai {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.logo-text {
    color: #f5f5f5;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f0945b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ======================
   HERO SECTION
   ====================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 30px 60px;
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-container {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    color: #e0e0e0;
    line-height: 1.8;
}

.hero-subheadline .emphasis {
    font-weight: 600;
    color: #ffffff;
    margin-top: 15px;
}

.hero-value-hint {
    font-size: 1rem;
    color: #b8c5d6;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-value-hint strong {
    color: #f0945b;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* ======================
   CTA BUTTONS
   ====================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.3);
    text-decoration: none;
}

.cta-button:hover:not(.cta-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.5);
}

.cta-button.cta-disabled {
    background: linear-gradient(135deg, #8b8b8b 0%, #b0b0b0 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.cta-button-large {
    padding: 24px 60px;
    font-size: 1.3rem;
}

/* ======================
   SECTION BASE STYLES
   ====================== */
section {
    padding: 100px 30px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 60px;
    text-align: center;
}

/* ======================
   PROBLEM SECTION
   ====================== */
.problem-section {
    background: linear-gradient(135deg, 
        rgba(244, 67, 54, 0.08) 0%, 
        rgba(156, 39, 176, 0.08) 100%);
}

.problem-section .section-headline .highlight-problem {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.problem-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.problem-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 157, 0.3);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.problem-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.problem-context {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================
   SOLUTION SECTION
   ====================== */
.solution-section {
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.08) 0%, 
        rgba(103, 58, 183, 0.08) 100%);
}

.solution-section .section-headline .highlight-solution {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.solution-content {
    padding: 30px;
}

.solution-text-large {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.solution-text-emphasis {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 30px;
    color: #ffffff;
    line-height: 1.6;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(100, 181, 246, 0.3);
    transition: transform 0.3s ease;
}

.solution-image img:hover {
    transform: scale(1.02);
}

.solution-validation {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================
   TESTIMONIAL SECTION
   ====================== */
.testimonial-section {
    background: linear-gradient(135deg, 
        rgba(156, 39, 176, 0.08) 0%, 
        rgba(103, 58, 183, 0.08) 100%);
}

.testimonial-section .section-headline .highlight-testimonial {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 50px rgba(186, 104, 200, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.author-role {
    font-size: 0.95rem;
    color: #b0b0b0;
}

.testimonial-stats {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================
   VALUE SECTION
   ====================== */
.value-section {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.08) 0%, 
        rgba(255, 152, 0, 0.08) 100%);
}

.value-section .section-headline .highlight-value {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.value-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 50px rgba(255, 183, 77, 0.3);
}

.value-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0945b 0%, #ff6132 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.value-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.value-why {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #c0c0c0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 20px;
}

.value-download {
    width: 100%;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f0945b 0%, #ff6132 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.value-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* ======================
   AUTHORITY SECTION
   ====================== */
.authority-section {
    background: linear-gradient(135deg, 
        rgba(103, 58, 183, 0.08) 0%, 
        rgba(63, 81, 181, 0.08) 100%);
}

.authority-section .section-headline .highlight-authority {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.authority-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.authority-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.authority-text p {
    margin-bottom: 30px;
}

.authority-text a {
    color: #9575cd;
    text-decoration: none;
    border-bottom: 2px solid #9575cd;
    transition: all 0.3s ease;
}

.authority-text a:hover {
    color: #b39ddb;
    border-bottom-color: #b39ddb;
}

.authority-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(149, 117, 205, 0.3);
    transition: transform 0.3s ease;
}

.authority-image img:hover {
    transform: scale(1.02);
}

.authority-validation {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======================
   CTA SECTION
   ====================== */
.cta-section {
    position: relative;
    padding: 120px 30px;
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        #ff6132 0%, 
        #f0945b 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #ff6132 100%);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    opacity: 0.15;
    z-index: 0;
}

.cta-section .section-container {
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
}

.cta-headline .highlight-cta {
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.cta-subtext {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #c0c0c0;
}

.cta-limit {
    font-size: 1rem;
    line-height: 1.7;
    color: #b0b0b0;
    margin-top: 30px;
}

/* ======================
   FOOTER
   ====================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    margin-bottom: 30px;
}

.footer-link {
    display: inline-block;
    margin: 0 20px;
    font-size: 1.1rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #f0945b;
    transform: translateY(-2px);
}

.footer-legal {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 15px;
}

.footer-link-small {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link-small:hover {
    color: #f0945b;
}

/* ======================
   SCROLL TO TOP
   ====================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 100px 20px 40px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .section-headline {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .solution-split,
    .authority-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problem-grid,
    .testimonial-grid,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .cta-button-large {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}

/* ======================
   ACCESSIBILITY
   ====================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid #f0945b;
    outline-offset: 2px;
}

/* ======================
   CHATBOT WIDGET
   ====================== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: rgba(30, 51, 71, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.chatbot-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    padding: 20px;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.chatbot-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.chatbot-close:hover {
    transform: scale(1.2);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 179, 71, 0.5);
    border-radius: 10px;
}

.chatbot-message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    animation: messageSlideIn 0.3s ease;
}

.bot-message {
    background: rgba(255, 179, 71, 0.15);
    border: 1px solid rgba(255, 179, 71, 0.3);
    align-self: flex-start;
}

.user-message {
    background: rgba(100, 181, 246, 0.15);
    border: 1px solid rgba(100, 181, 246, 0.3);
    align-self: flex-end;
}

.chatbot-message p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
}

.waveform-widget {
    display: flex;
    gap: 3px;
    align-items: center;
    height: 24px;
}

.waveform-bar {
    width: 3px;
    height: 8px;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    border-radius: 2px;
    animation: waveform 1s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }

.waveform-widget:not(.active) .waveform-bar {
    animation: none;
    height: 8px;
}

.typing-indicator {
    opacity: 0.7;
}

.error-message {
    background: rgba(244, 67, 54, 0.15) !important;
    border: 1px solid rgba(244, 67, 54, 0.3) !important;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #f5f5f5;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: rgba(255, 179, 71, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

@keyframes waveform {
    0%, 100% { height: 8px; }
    50% { height: 20px; }
}

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

@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }
    
    .chatbot-toggle {
        right: 20px;
    }
}

/* ======================
   ANIMATIONS
   ====================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================
   EMAIL GATE MODAL
   ================== */

.email-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 51, 71, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-modal.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.email-modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.email-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.email-modal-close:hover {
    background: rgba(255, 179, 71, 0.1);
    transform: rotate(90deg);
}

.email-modal-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f0945b 0%, #ff6132 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email-modal-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.email-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 179, 71, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #f0945b;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.2);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.privacy-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #f0945b;
}

.privacy-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-label a {
    color: #f0945b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-label a:hover {
    color: #ff6132;
    text-decoration: underline;
}

.email-submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #f0945b 0%, #ff6132 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 179, 71, 0.3);
}

.email-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 179, 71, 0.4);
}

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

.email-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .email-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .email-modal-title {
        font-size: 24px;
    }
    
    .email-modal-description {
        font-size: 14px;
    }
}

/* ======================
   NEW AUTHORITY SECTION LAYOUT
   ====================== */

.authority-content-new {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 60px;
}

.authority-person {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: center;
}

.authority-person-reverse {
    grid-template-columns: 1fr 400px;
}

.authority-person-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.authority-person-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.authority-person-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.authority-person-text {
    padding: 20px;
}

.authority-person-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.authority-person-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.authority-person-text strong {
    color: #f0945b;
    font-weight: 700;
}

.authority-person-text a {
    color: #f0945b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.authority-person-text a:hover {
    border-bottom-color: #f0945b;
}

/* Responsive */
@media (max-width: 1024px) {
    .authority-person,
    .authority-person-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .authority-person-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .authority-content-new {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .authority-person-name {
        font-size: 1.6rem;
    }
    
    .authority-person-text p {
        font-size: 1rem;
    }
    
    .authority-content-new {
        gap: 50px;
    }
}

/* ======================
   WAITLIST MODAL
   ====================== */

.waitlist-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.waitlist-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.waitlist-modal-content {
    background: linear-gradient(135deg, #1e3347 0%, #2a4a5f 100%);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.waitlist-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.waitlist-modal-close:hover {
    background: rgba(255, 97, 50, 0.2);
    color: #ff6132;
    transform: rotate(90deg);
}

.waitlist-modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-modal-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 25px;
}

.waitlist-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.waitlist-benefits li {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    padding-left: 10px;
    line-height: 1.6;
}

.waitlist-benefits strong {
    color: #f0945b;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waitlist-email-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 97, 50, 0.3);
    border-radius: 12px;
    background: rgba(30, 51, 71, 0.5);
    color: #ffffff;
    transition: all 0.3s ease;
}

.waitlist-email-input:focus {
    outline: none;
    border-color: #ff6132;
    background: rgba(30, 51, 71, 0.8);
}

.waitlist-email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6132 0%, #f0945b 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 97, 50, 0.3);
}

.waitlist-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 97, 50, 0.4);
}

.waitlist-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.waitlist-counter {
    text-align: center;
    font-size: 0.95rem;
    color: #f0945b;
    margin-top: 20px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .waitlist-modal-content {
        padding: 40px 30px;
    }
    
    .waitlist-modal-title {
        font-size: 1.6rem;
    }
    
    .waitlist-benefits li {
        font-size: 0.95rem;
    }
}
