/* ============================================
   THOTH.AI - Futuristic Egyptian Design System
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    /* Light Mode - High Contrast Egyptian Color Palette */
    --primary-gold: #B45309;
    --deep-blue: #0C4A6E;
    --accent-teal: #0E7490;
    --soft-purple: #6D28D9;
    --ancient-bronze: #92400E;
    --sand-gold: #D97706;
    --stone-gray: #475569;
    --papyrus: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #1E293B;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --border-color: #CBD5E1;
    --shadow-color: rgba(0, 0, 0, 0.2);
    
    /* Light Mode Gradients */
    --gradient-primary: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    --gradient-gold: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(14, 116, 144, 0.15) 0%, transparent 100%);
    --bg-gradient: radial-gradient(ellipse at top, #FFFFFF 0%, #F8FAFC 50%, #FEF3C7 100%);
    
    /* Fonts */
    --font-modern: 'Space Grotesk', 'Inter', sans-serif;
    --font-elegant: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Light Mode Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.25);
    --glow-subtle: 0 0 15px rgba(180, 83, 9, 0.4);
    --border-accent: 2px solid rgba(14, 116, 144, 0.5);
    
    /* Spacing */
    --section-padding: 100px 0;
}

/* Dark Mode Variables */
:root[data-theme="dark"] {
    --primary-gold: #FBBF24;
    --deep-blue: #1E293B;
    --accent-teal: #06B6D4;
    --soft-purple: #A78BFA;
    --ancient-bronze: #F59E0B;
    --sand-gold: #FDE68A;
    --stone-gray: #9CA3AF;
    --papyrus: #0F172A;
    --text-primary: #F8FAFC;
    --text-secondary: #E2E8F0;
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-tertiary: #334155;
    --border-color: #475569;
    --shadow-color: rgba(0, 0, 0, 0.5);
    
    /* Dark Mode Gradients */
    --gradient-primary: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    --gradient-gold: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(34, 211, 238, 0.1) 0%, transparent 100%);
    --bg-gradient: radial-gradient(ellipse at center, #2d3e50 0%, #1a2332 100%);
    
    /* Dark Mode Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
    --glow-subtle: 0 0 15px rgba(252, 211, 77, 0.3);
    --border-accent: 2px solid rgba(34, 211, 238, 0.3);
}
}

/* === GLOBAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* === ANIMATED BACKGROUND === */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-gradient);
    transition: background 0.5s ease;
}

#particleCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

/* Floating Hieroglyphs */
.hieroglyph-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hieroglyph {
    position: absolute;
    font-size: 40px;
    color: var(--accent-teal);
    opacity: 0.06;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.06;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.12;
    }
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFFFFF;
    backdrop-filter: none;
    z-index: 1000;
    border-bottom: 1px solid rgba(3, 105, 161, 0.2);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

:root[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 2px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 800;
    color: #7C2D12;
    font-family: var(--font-elegant);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .nav-logo {
    color: #FBBF24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.nav-logo i {
    font-size: 32px;
}

.logo-hieroglyph {
    font-family: 'EgyptianHiero', serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
    color: #7C2D12;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 0 8px rgba(124, 45, 18, 0.2);
    transition: all 0.3s ease;
}

:root[data-theme="dark"] .logo-hieroglyph {
    color: #FBBF24;
    text-shadow: 
        0 0 10px rgba(251, 191, 36, 0.5),
        0 0 20px rgba(251, 191, 36, 0.2);
}

.nav-logo:hover .logo-hieroglyph {
    transform: scale(1.05);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(124, 45, 18, 0.3);
}

:root[data-theme="dark"] .nav-logo:hover .logo-hieroglyph {
    text-shadow: 
        0 0 15px rgba(251, 191, 36, 0.7),
        0 0 30px rgba(251, 191, 36, 0.3);
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    font-family: var(--font-modern);
}

.nav-menu a {
    color: #000000;
    font-weight: 700;
}

:root[data-theme="dark"] .nav-menu a {
    color: #F8FAFC;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-gold);
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: var(--gradient-gold);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--bg-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--shadow-color);
    margin-left: 20px;
}

.theme-toggle:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

/* Language Toggle Button */
.lang-toggle {
    background: linear-gradient(135deg, #0369A1 0%, #0E7490 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(3, 105, 161, 0.3);
    margin-left: 15px;
    font-family: 'Arial', sans-serif;
}

.lang-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(3, 105, 161, 0.5);
}

:root[data-theme="dark"] .lang-toggle {
    background: linear-gradient(135deg, #06B6D4 0%, #22D3EE 100%);
}

/* Arabic Language Support */
:root[dir="rtl"] {
    text-align: right;
}

:root[dir="rtl"] .nav-container {
    flex-direction: row-reverse;
}

:root[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

:root[dir="rtl"] .theme-toggle {
    margin-left: 0;
    margin-right: 20px;
}

:root[dir="rtl"] .lang-toggle {
    margin-left: 0;
    margin-right: 15px;
}

:root[dir="rtl"] body,
:root[dir="rtl"] h1,
:root[dir="rtl"] h2,
:root[dir="rtl"] h3,
:root[dir="rtl"] p {
    font-family: 'Arial', 'Tahoma', sans-serif;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(3, 105, 161, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(224, 242, 254, 0.5) 0%, rgba(254, 243, 199, 0.5) 100%);
    z-index: -1;
}

:root[data-theme="dark"] .hero::before {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        rgba(10, 22, 40, 0.4);
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    position: relative;
}

.hero-title-wrapper {
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.hero-title span {
    display: inline-block;
    animation: fadeInChar 0.8s ease-out both;
}

.title-line {
    font-size: 56px;
    font-weight: 900;
    font-family: var(--font-elegant);
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: linear-gradient(180deg, #FFFFFF 0%, #E0F2FE 25%, #F0ABFC 50%, #E0F2FE 75%, #FFFFFF 100%);
    background-size: auto 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9))
            drop-shadow(0 0 35px rgba(224, 242, 254, 0.6))
            drop-shadow(0 0 50px rgba(240, 171, 252, 0.4))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    animation: titlePulse 6s ease-in-out infinite, gradientShiftVertical 8s ease-in-out infinite;
}

:root[data-theme="dark"] .title-line {
    background: linear-gradient(180deg, #FFFFFF 0%, #7DD3FC 25%, #EC4899 50%, #7DD3FC 75%, #FFFFFF 100%);
    background-size: auto 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 1))
            drop-shadow(0 0 48px rgba(125, 211, 252, 0.8))
            drop-shadow(0 0 70px rgba(236, 72, 153, 0.6))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    animation: titlePulseDark 6s ease-in-out infinite, gradientShiftVertical 8s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 35px rgba(224, 242, 254, 0.6))
                drop-shadow(0 0 50px rgba(240, 171, 252, 0.4))
                drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1))
                drop-shadow(0 0 65px rgba(224, 242, 254, 0.8))
                drop-shadow(0 0 90px rgba(240, 171, 252, 0.6))
                drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    }
}

@keyframes titlePulseDark {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 28px rgba(255, 255, 255, 1))
                drop-shadow(0 0 48px rgba(125, 211, 252, 0.8))
                drop-shadow(0 0 70px rgba(236, 72, 153, 0.6))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 1))
                drop-shadow(0 0 85px rgba(125, 211, 252, 1))
                drop-shadow(0 0 120px rgba(236, 72, 153, 0.8))
                drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    }
}

@keyframes gradientShiftVertical {
    0%, 100% {
        background-position: center 0%;
    }
    50% {
        background-position: center 100%;
    }
}

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



.subtitle {
    font-size: 30px;
    font-family: var(--font-elegant);
    color: #0369A1;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 
        0 0 2px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(3, 105, 161, 0.4),
        1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: subtitleFloat 4s ease-in-out infinite;
}

:root[data-theme="dark"] .subtitle {
    color: #22D3EE;
    text-shadow: 
        0 0 40px rgba(34, 211, 238, 0.7),
        0 0 70px rgba(34, 211, 238, 0.4),
        1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

.hero-tagline {
    font-size: 22px;
    color: #0F172A;
    font-family: var(--font-body);
    font-weight: 600;
    margin-top: 30px;
    font-style: italic;
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-in;
}

:root[data-theme="dark"] .hero-tagline {
    color: #E2E8F0;
    text-shadow: 0 0 20px rgba(226, 232, 240, 0.3);
}

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

/* === CHATBOT SHOWCASE === */
.chatbot-showcase {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(3, 105, 161, 0.05);
    animation: fadeInUp 1s ease-out 0.5s both;
}

:root[data-theme="dark"] .chatbot-showcase {
    background: linear-gradient(135deg, 
        rgba(10, 14, 39, 0.8) 0%, 
        rgba(26, 31, 58, 0.7) 50%,
        rgba(15, 23, 41, 0.8) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 217, 255, 0.1),
        inset 0 0 60px rgba(0, 217, 255, 0.05);
    backdrop-filter: blur(20px) saturate(150%);
}

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

.chatbot-header {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.8) 0%, rgba(254, 243, 199, 0.8) 100%);
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(3, 105, 161, 0.2);
}

:root[data-theme="dark"] .chatbot-header {
    background: linear-gradient(135deg, rgba(74, 155, 155, 0.2) 0%, rgba(139, 111, 71, 0.2) 100%);
    border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.thoth-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.header-info h3 {
    font-size: 22px;
    color: var(--primary-gold);
    margin-bottom: 5px;
    font-family: var(--font-elegant);
}

.header-info p {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.9;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-teal);
    font-weight: 500;
    font-family: var(--font-modern);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-teal);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* === CHAT MESSAGES === */
.chatbot-messages {
    padding: 30px;
    min-height: 350px;
    background: rgba(249, 250, 251, 0.8);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:root[data-theme="dark"] .chatbot-messages {
    background: rgba(26, 35, 50, 0.4);
}

.message {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    animation: messageSlide 0.5s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--soft-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.user-avatar {
    background: var(--gradient-gold);
    box-shadow: var(--shadow-soft);
}

.message-content {
    background: rgba(74, 155, 155, 0.08);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(74, 155, 155, 0.2);
    max-width: 70%;
}

.user-message .message-content {
    background: rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
}

.message-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content strong {
    color: var(--accent-teal);
    font-size: 18px;
    font-family: 'Antinoou', var(--font-elegant);
}

.translation {
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

/* === CHAT INPUT === */
.chatbot-input {
    padding: 20px 30px;
    background: rgba(243, 244, 246, 0.9);
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(3, 105, 161, 0.2);
}

:root[data-theme="dark"] .chatbot-input {
    background: rgba(26, 35, 50, 0.6);
    border-top: 1px solid rgba(184, 134, 11, 0.3);
}

.chatbot-input input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

:root[data-theme="dark"] .chatbot-input input {
    background: rgba(45, 62, 80, 0.4);
    border: 1px solid rgba(74, 155, 155, 0.3);
}

.chatbot-input input:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 10px rgba(74, 155, 155, 0.3);
}

.chatbot-input button {
    padding: 15px 30px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.chatbot-input button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.chatbot-note {
    padding: 15px 30px;
    background: rgba(243, 232, 255, 0.5);
    border-top: 1px solid rgba(107, 91, 149, 0.2);
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

:root[data-theme="dark"] .chatbot-note {
    background: rgba(107, 91, 149, 0.15);
    border-top: 1px solid rgba(107, 91, 149, 0.3);
}

.chatbot-note a {
    color: var(--accent-teal);
    text-decoration: underline;
    font-weight: 500;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--accent-teal);
    animation: bounce 2s infinite;
    opacity: 0.7;
    z-index: 5;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}

.scroll-indicator i {
    font-size: 24px;
}

/* === SACRED ANIMALS === */
.sacred-animals {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: -1;
}

.animal-card {
    width: 300px;
    opacity: 0.3;
    transition: all 0.5s;
}

.ibis-card {
    transform: translateX(-50px) rotate(-5deg);
}

.baboon-card {
    transform: translateX(50px) rotate(5deg);
}

.animal-card:hover {
    opacity: 0.6;
    transform: translateX(0) rotate(0) scale(1.1);
}

.animal-card img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--accent-teal);
    box-shadow: var(--shadow-medium);
}

.animal-caption {
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-elegant);
    font-size: 17px;
    color: var(--primary-gold);
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* === SECTION STYLES === */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 46px;
    font-weight: 700;
    font-family: var(--font-elegant);
    color: #7C2D12;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .section-title {
    color: #FBBF24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.title-underline {
    width: 120px;
    height: 3px;
    background: var(--primary-gold);
    margin: 0 auto;
    border-radius: 2px;
    opacity: 0.7;
}

/* === ABOUT SECTION === */
.about-section {
    background: linear-gradient(180deg, 
        rgba(240, 249, 255, 0.8) 0%, 
        rgba(255, 247, 237, 0.8) 100%);
}

:root[data-theme="dark"] .about-section {
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.8) 0%, 
        rgba(30, 41, 59, 0.6) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 30px;
    color: #0369A1;
    margin-bottom: 25px;
    font-family: var(--font-elegant);
    font-weight: 700;
}

:root[data-theme="dark"] .about-text h3 {
    color: #06B6D4;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 30px;
    color: #000000;
    font-weight: 500;
}

:root[data-theme="dark"] .about-text p {
    color: #E2E8F0;
    opacity: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(3, 105, 161, 0.25);
    transition: all 0.3s;
}

:root[data-theme="dark"] .about-card {
    background: rgba(45, 62, 80, 0.3);
    border: 1px solid rgba(74, 155, 155, 0.25);
}

.about-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.about-card i {
    font-size: 40px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: block;
}

.about-card h4 {
    font-size: 21px;
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-family: var(--font-elegant);
    font-weight: 600;
}

.about-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
}

.thoth-deity-image {
    position: relative;
}

.thoth-deity-image img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
    box-shadow: var(--shadow-medium);
    transition: all 0.5s;
}

.thoth-deity-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-caption {
    text-align: center;
    margin-top: 20px;
    font-family: var(--font-elegant);
    font-size: 18px;
    color: var(--primary-gold);
    font-style: italic;
}

/* === FEATURES SECTION === */
.features-section {
    background: rgba(249, 250, 251, 0.8);
}

:root[data-theme="dark"] .features-section {
    background: rgba(45, 62, 80, 0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid rgba(3, 105, 161, 0.5);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

:root[data-theme="dark"] .feature-card {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
    border: 2px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--accent-teal);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(14, 116, 144, 0.5);
    transform: translateY(-8px);
}

:root[data-theme="dark"] .feature-card:hover {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(6, 182, 212, 0.5);
}

.feature-icon {
    width: 75px;
    height: 75px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 34px;
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.feature-card h3 {
    font-size: 23px;
    color: #7C2D12;
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-elegant);
    font-weight: 700;
}

:root[data-theme="dark"] .feature-card h3 {
    color: #FBBF24;
}

.feature-card > p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
    font-weight: 500;
}

:root[data-theme="dark"] .feature-card > p {
    color: #E2E8F0;
    opacity: 1;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    font-size: 15px;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #1E293B;
    font-weight: 500;
}

:root[data-theme="dark"] .feature-card ul li {
    color: #E2E8F0;
    opacity: 1;
}

.feature-card ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-size: 16px;
}

/* === USE CASES SECTION === */
.use-cases-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(243, 244, 246, 0.9) 100%);
}

:root[data-theme="dark"] .use-cases-section {
    background: linear-gradient(180deg, rgba(45, 62, 80, 0.15) 0%, var(--deep-blue) 100%);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.use-case-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF4FF 100%);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

:root[data-theme="dark"] .use-case-card {
    background: rgba(30, 41, 59, 0.95);
    border: 2px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.use-case-card:hover {
    border-color: var(--soft-purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(109, 40, 217, 0.4);
    transform: translateY(-5px);
}

:root[data-theme="dark"] .use-case-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(167, 139, 250, 0.4);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--soft-purple) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.use-case-card h3 {
    font-size: 25px;
    color: #0369A1;
    margin-bottom: 20px;
    font-family: var(--font-elegant);
    font-weight: 700;
}

:root[data-theme="dark"] .use-case-card h3 {
    color: #06B6D4;
}

.use-case-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #000000;
    font-weight: 500;
}

:root[data-theme="dark"] .use-case-card p {
    color: #E2E8F0;
    opacity: 1;
}

/* === CREATOR SECTION === */
.creator-section {
    background: rgba(243, 232, 255, 0.4);
}

:root[data-theme="dark"] .creator-section {
    background: rgba(107, 91, 149, 0.12);
}

.creator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.creator-info h3 {
    font-size: 38px;
    color: #7C2D12;
    margin-bottom: 15px;
    font-family: var(--font-elegant);
    font-weight: 700;
}

:root[data-theme="dark"] .creator-info h3 {
    color: #FBBF24;
}

.creator-info h4 {
    font-size: 23px;
    color: #0369A1;
    margin-bottom: 10px;
    font-weight: 700;
}

:root[data-theme="dark"] .creator-info h4 {
    color: #06B6D4;
}

.creator-info h5 {
    font-size: 19px;
    color: #1E293B;
    margin-bottom: 30px;
    font-weight: 600;
}

:root[data-theme="dark"] .creator-info h5 {
    color: #CBD5E1;
    opacity: 1;
}

.creator-bio p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.9;
}

.creator-contact {
    margin-top: 40px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 32px;
    background: var(--gradient-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: var(--shadow-soft);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.technical-details h3 {
    font-size: 30px;
    color: var(--accent-teal);
    margin-bottom: 30px;
    font-family: var(--font-elegant);
    font-weight: 600;
}

.tech-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(3, 105, 161, 0.25);
    margin-bottom: 25px;
}

:root[data-theme="dark"] .tech-card {
    background: rgba(45, 62, 80, 0.3);
    border: 1px solid rgba(74, 155, 155, 0.25);
}

.tech-card h4 {
    font-size: 22px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-card h4 i {
    font-size: 26px;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card ul li {
    font-size: 16px;
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
    opacity: 0.9;
}

.tech-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-size: 16px;
}

.tech-card ul li strong {
    color: var(--accent-teal);
}

/* === ACCESS SECTION === */
.access-section {
    background: linear-gradient(180deg, rgba(243, 244, 246, 0.5) 0%, rgba(249, 250, 251, 0.8) 100%);
}

:root[data-theme="dark"] .access-section {
    background: linear-gradient(180deg, rgba(107, 91, 149, 0.12) 0%, rgba(45, 62, 80, 0.2) 100%);
}

.access-content {
    max-width: 1200px;
    margin: 0 auto;
}

.access-notice {
    background: rgba(243, 232, 255, 0.8);
    border: 1px solid rgba(107, 91, 149, 0.3);
    border-radius: 12px;
}

:root[data-theme="dark"] .access-notice {
    background: rgba(107, 91, 149, 0.15);
    border: 1px solid var(--soft-purple);
    padding: 40px;
    margin-bottom: 50px;
    text-align: center;
}

.access-notice i {
    font-size: 60px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.access-notice h3 {
    font-size: 32px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-family: var(--font-elegant);
}

.access-notice p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

.access-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.method-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(3, 105, 161, 0.3);
    text-align: center;
    transition: all 0.3s;
}

:root[data-theme="dark"] .method-card {
    background: rgba(45, 62, 80, 0.3);
    border: 1px solid rgba(74, 155, 155, 0.3);
}

.method-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.method-card h4 {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-family: var(--font-elegant);
}

.method-card h4 i {
    font-size: 28px;
    margin-right: 10px;
    color: var(--accent-teal);
}

.method-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Secret Credentials Card */
.secret-credentials {
    background: linear-gradient(145deg, rgba(243, 232, 255, 0.6), rgba(249, 250, 251, 0.8));
    border-color: rgba(107, 91, 149, 0.3);
}

:root[data-theme="dark"] .secret-credentials {
    background: linear-gradient(145deg, rgba(107, 91, 149, 0.2), rgba(45, 62, 80, 0.3));
    border-color: rgba(107, 91, 149, 0.4);
}

.credentials-box {
    background: rgba(249, 250, 251, 0.8);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(3, 105, 161, 0.3);
    margin: 20px 0;
}

:root[data-theme="dark"] .credentials-box {
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.credential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(74, 155, 155, 0.15);
    position: relative;
}

.credential-item:last-child {
    border-bottom: none;
}

.credential-item .label {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.credential-item .value {
    font-size: 20px;
    color: var(--primary-gold);
    font-weight: 700;
    font-family: var(--font-modern);
    letter-spacing: 2px;
}

.hieroglyph-text {
    font-family: var(--font-elegant);
}

.credential-item .tooltip {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: rgba(74, 155, 155, 0.95);
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}

.credential-item:hover .tooltip {
    opacity: 1;
}

.credentials-box .note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

.credentials-box .note strong {
    color: var(--accent-teal);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #0E7490 0%, #6D28D9 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    border: 2px solid transparent;
}

:root[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #06B6D4 0%, #A78BFA 100%);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: #FFFFFF;
    color: #92400E;
    border: 3px solid #92400E;
    font-weight: 700;
}

:root[data-theme="dark"] .btn-secondary {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 2px solid #FBBF24;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(180, 83, 9, 0.4);
    transform: translateY(-3px);
}

.external-link {
    text-align: center;
}

.access-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 45px;
    background: var(--gradient-gold);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 19px;
    transition: all 0.3s;
    box-shadow: var(--shadow-medium);
}

.access-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

/* === WARNINGS SECTION === */
.warnings-section {
    background: rgba(249, 250, 251, 0.7);
}

:root[data-theme="dark"] .warnings-section {
    background: rgba(45, 62, 80, 0.15);
}

.warning-box {
    background: linear-gradient(145deg, rgba(254, 249, 195, 0.6), rgba(240, 253, 250, 0.6));
    border: 2px solid rgba(217, 119, 6, 0.4);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--shadow-medium);
}

:root[data-theme="dark"] .warning-box {
    background: linear-gradient(145deg, rgba(107, 91, 149, 0.15), rgba(74, 155, 155, 0.1));
    border: 2px solid rgba(184, 134, 11, 0.35);
}

.warning-icon {
    text-align: center;
    margin-bottom: 30px;
}

.warning-icon i {
    font-size: 80px;
    color: var(--primary-gold);
}

.warning-content h3 {
    font-size: 36px;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-elegant);
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.warning-item {
    background: rgba(249, 250, 251, 0.8);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(3, 105, 161, 0.2);
}

:root[data-theme="dark"] .warning-item {
    background: rgba(26, 35, 50, 0.4);
    border: 1px solid rgba(74, 155, 155, 0.2);
}

.warning-item i {
    font-size: 38px;
    color: var(--accent-teal);
    margin-bottom: 15px;
    display: block;
}

.warning-item h4 {
    font-size: 22px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-family: var(--font-elegant);
}

.warning-item p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

.warning-item a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.disclaimer {
    background: rgba(107, 91, 149, 0.15);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--soft-purple);
    text-align: center;
}

.disclaimer p {
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

.disclaimer strong {
    color: var(--primary-gold);
}

/* === EXAMPLES SECTION === */
.examples-section {
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.5) 0%, rgba(243, 244, 246, 0.8) 100%);
}

:root[data-theme="dark"] .examples-section {
    background: linear-gradient(180deg, rgba(45, 62, 80, 0.15) 0%, rgba(26, 35, 50, 0.6) 100%);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

.example-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(3, 105, 161, 0.25);
    display: flex;
    gap: 25px;
    transition: all 0.3s;
}

:root[data-theme="dark"] .example-card {
    background: rgba(45, 62, 80, 0.3);
    border: 1px solid rgba(74, 155, 155, 0.25);
}

.example-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-medium);
    transform: translateX(5px);
}

.example-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary-gold);
    opacity: 0.25;
    font-family: var(--font-modern);
}

.example-content h4 {
    font-size: 21px;
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-family: var(--font-elegant);
    font-weight: 600;
}

.example-content .query {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding: 15px;
    background: rgba(243, 244, 246, 0.8);
    border-left: 3px solid var(--accent-teal);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

:root[data-theme="dark"] .example-content .query {
    background: rgba(26, 35, 50, 0.4);
}

.example-content .result {
    font-size: 16px;
    color: var(--primary-gold);
    opacity: 0.9;
    font-style: italic;
}

.format-note {
    background: rgba(45, 62, 80, 0.3);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(107, 91, 149, 0.35);
}

.format-note h4 {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-family: var(--font-elegant);
}

.format-note ul {
    list-style: none;
    padding: 0;
}

.format-note ul li {
    font-size: 17px;
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.7;
}

.format-note ul li strong {
    color: var(--accent-teal);
}

.format-note ul li::before {
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* === RESOURCES SECTION === */
.resources-section {
    background: rgba(249, 250, 251, 0.6);
}

:root[data-theme="dark"] .resources-section {
    background: rgba(26, 35, 50, 0.5);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(3, 105, 161, 0.25);
}

:root[data-theme="dark"] .resource-card {
    background: rgba(45, 62, 80, 0.3);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid rgba(74, 155, 155, 0.25);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.resource-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.resource-card i {
    font-size: 50px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: block;
}

.resource-card h4 {
    font-size: 19px;
    color: var(--accent-teal);
    margin-bottom: 12px;
    font-family: var(--font-elegant);
    font-weight: 600;
}

.resource-card p {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* === FOOTER === */
.footer {
    background: #FFFFFF;
    border-top: 1px solid rgba(3, 105, 161, 0.2);
    padding: 60px 0 30px;
}

:root[data-theme="dark"] .footer {
    background: rgba(26, 35, 50, 0.95);
    border-top: 2px solid var(--accent-teal);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo i {
    font-size: 50px;
    color: var(--primary-gold);
}

.footer-logo h3 {
    font-size: 30px;
    color: var(--primary-gold);
    font-weight: 700;
    font-family: var(--font-elegant);
}

.footer-logo p {
    font-size: 15px;
    color: var(--text-secondary);
    opacity: 0.85;
    font-style: italic;
}

.footer-links h4, .footer-contact h4 {
    font-size: 20px;
    color: var(--accent-teal);
    margin-bottom: 20px;
    font-family: var(--font-elegant);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-teal);
    padding-left: 8px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-teal);
}

.footer-contact a {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(74, 155, 155, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.75;
    margin-bottom: 8px;
}

.acknowledgment {
    font-size: 13px;
    opacity: 0.6;
    font-style: italic;
}

/* === SCROLL TO TOP === */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--soft-purple) 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

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

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .creator-content {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
    
    .title-line {
        font-size: 50px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .features-grid,
    .use-cases-grid,
    .warning-grid,
    .examples-grid,
    .access-methods {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .sacred-animals {
        display: none;
    }
    
    .chatbot-showcase {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .container {
        padding: 0 25px;
    }
}