/*
Theme Name: Flinnq AI Landing Theme
Theme URI: https://flinnq.com
Author: Flinnq
Author URI: https://flinnq.com
Description: Complete AI-themed landing page with chatbot, pricing, and subscription management. Modern design with gradients and animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flinnq-landing
Tags: landing-page, ai, chatbot, subscription, modern, responsive, dark-theme, gradient
*/

/* ========================================
   CSS VARIABLES - LIGHT/DAY THEME
======================================== */
:root {
    --primary: #7b2ff7;
    --secondary: #00d4ff;
    --dark: #ffffff;
    --dark-light: #f8f9fa;
    --text: #1a1f3a;
    --text-muted: #6b7280;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #7b2ff7 0%, #00d4ff 100%);
    --glow: 0 0 20px rgba(123, 47, 247, 0.15);
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
}

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

.site-title {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--gradient);
    color: white !important;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.4);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    padding: 150px 20px 100px;
    text-align: center;
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
}

.hero-section h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

.secondary-button {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: var(--primary);
    color: white !important;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.2);
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing-section {
    padding: 100px 20px;
    background: #f8f9fa;
}

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

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.2);
}

.pricing-card:hover::before {
    opacity: 0.05;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.15);
}

.pricing-badge {
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.pricing-card-content {
    position: relative;
    z-index: 1;
}

.plan-name {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text);
}

.price {
    font-size: 56px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 10px;
}

.period {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    padding: 0;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.price-button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(123, 47, 247, 0.4);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.price-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
    color: white;
}

/* ========================================
   CHATBOT DEMO SECTION
======================================== */
.demo-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.chatbot-demo {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    margin-top: 60px;
    border: 1px solid var(--border);
}

.chatbot-header {
    background: var(--gradient);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.ai-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.header-title h3 {
    margin: 0;
    color: white;
    font-size: 24px;
}

.header-title p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.chat-messages {
    height: 400px;
    padding: 30px;
    background: #f8f9fa;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #e5e7eb;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--dark-light);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    animation: slideIn 0.3s ease-out;
}

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

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.message.user .message-avatar {
    background: var(--gradient);
    color: white;
}

.message.ai .message-avatar {
    background: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.message-bubble {
    padding: 15px 20px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.6;
}

.message.user .message-bubble {
    background: #ffffff;
    border: 1px solid var(--border);
}

.message.ai .message-bubble {
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.chat-input-area {
    padding: 25px 30px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.input-wrapper {
    display: flex;
    gap: 15px;
}

.chat-input {
    flex: 1;
    background: #f8f9fa;
    border: 2px solid var(--border);
    border-radius: 25px;
    padding: 15px 25px;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(123, 47, 247, 0.1);
}

.send-button {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: #f8f9fa;
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border);
}

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

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .message-bubble {
        max-width: 90%;
    }

    .chat-messages {
        height: 300px;
        padding: 20px;
    }
}
