/* Canaryai Landing Page Styles */

:root {
    /* Canary Bird Color Palette */
    --canary-yellow: #FFD700;
    --canary-orange: #FFA500;
    --canary-light: #FFF8DC;
    --canary-dark: #B8860B;
    --canary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    
    /* Additional Colors */
    --dark-blue: #1a1a2e;
    --light-gray: #f8f9fa;
    --success-green: #28a745;
    --danger-red: #dc3545;
    --info-blue: #17a2b8;
    
    /* Typography */
    --font-family: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Bootstrap Overrides */
.btn-warning {
    background: var(--canary-gradient);
    border: none;
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    color: #000;
}

.text-warning {
    color: var(--canary-yellow) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--canary-yellow) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--canary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff 0%, var(--canary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    margin-bottom: 1rem;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1rem 0;
}

.hero-stats h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Hero Animation */
.hero-image {
    position: relative;
    z-index: 2;
}

.canary-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-tokens {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.token {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: orbit 8s linear infinite;
}

.token-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.token-2 {
    top: 60%;
    right: 20%;
    animation-delay: -2.7s;
}

.token-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: -5.3s;
}

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

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* How It Works Section */
.how-it-works-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.how-it-works-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Token Example */
.token-example-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--canary-yellow);
}

.code-block {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--canary-yellow);
    margin: 1rem 0;
}

.code-block code {
    color: #333;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.token-highlight {
    background: var(--canary-gradient);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
}

/* Science Section */
.science-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.science-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--canary-yellow);
}

.science-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.science-card ul li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--canary-yellow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--canary-gradient);
    color: #000;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
}

.pricing-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--canary-dark);
    margin: 1rem 0;
}

.price .currency {
    font-size: 1.2rem;
    vertical-align: top;
}

.price .period {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.pricing-features {
    padding: 1rem 2rem;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.pricing-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.ideal-for {
    background: var(--canary-light);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.pricing-guarantee {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* CTA Section */
.cta-section {
    background: var(--canary-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

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

.cta-buttons .btn {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1a1a2e !important;
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--canary-yellow) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .token {
        width: 30px;
        height: 30px;
    }
    
    .canary-illustration i {
        font-size: 6rem !important;
    }
}

@media (max-width: 576px) {
    .hero-stats .row > div {
        margin-bottom: 1rem;
    }
    
    .pricing-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .pricing-features {
        padding: 1rem;
    }
    
    .pricing-footer {
        padding: 1rem;
    }
    
    .how-it-works-card,
    .science-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.bg-canary {
    background: var(--canary-gradient) !important;
}

.text-canary {
    color: var(--canary-yellow) !important;
}

.border-canary {
    border-color: var(--canary-yellow) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--canary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--canary-dark);
}

