/* ========================================
   Insight Bot - Main Styles
   ======================================== */

/* CSS Variables */
:root {
    --insight-gold: #D4A574;
    --insight-dark: #2C3E50;
    --insight-light: #F8F9FA;
    --insight-accent: #E8B87D;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    overflow-x: hidden;
}

/* ========================================
   Landing Page Styles
   ======================================== */

/* Hero Section */
.landing-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--insight-dark) 0%, #1a252f 50%, var(--insight-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 184, 125, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: white;
}

.logo-container {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo-container img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 165, 116, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--insight-gold) 0%, var(--insight-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--insight-gold) 0%, var(--insight-accent) 100%);
    color: var(--insight-dark);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.6);
    color: var(--insight-dark);
    text-decoration: none;
}

.cta-button svg {
    width: 24px;
    height: 24px;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: var(--insight-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--insight-dark);
    margin-bottom: 15px;
}

.feature-text {
    color: #666;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border-left: 5px solid var(--insight-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.disclaimer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--insight-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-text {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--insight-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link {
    color: var(--insight-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--insight-accent);
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   Terms Page Styles
   ======================================== */

.terms-page {
    background: linear-gradient(135deg, var(--insight-dark) 0%, #1a252f 100%);
    min-height: 100vh;
    padding: 80px 20px;
}

.terms-header {
    text-align: center;
    margin-bottom: 60px;
}

.terms-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--insight-gold) 0%, var(--insight-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-weight: 700;
}

.terms-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.terms-content h2 {
    color: var(--insight-dark);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--insight-gold);
    font-weight: 600;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.terms-content ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 30px;
}

.terms-content li {
    margin-bottom: 12px;
}

.terms-content strong {
    color: var(--insight-dark);
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--insight-gold) 0%, var(--insight-accent) 100%);
    color: var(--insight-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.5);
    color: var(--insight-dark);
    text-decoration: none;
}

/* ========================================
   Animations
   ======================================== */

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

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-page {
        padding: 60px 15px;
    }
    
    .terms-title {
        font-size: 2rem;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    .terms-content h2 {
        font-size: 1.5rem;
    }
}

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