/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #dcddde;
    background-color: #2c2f36;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #b9bbbe;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-primary {
    background: #5865f2;
    color: white;
}

.btn-primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #5865f2;
    border: 2px solid #5865f2;
}

.btn-secondary:hover {
    background: #5865f2;
    color: white;
}

.btn-large {
    padding: 20px 40px;
    font-size: 20px;
    font-weight: 600;
}

/* Extra large buttons for main CTAs */
.btn-xl {
    padding: 24px 48px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.btn-xl img {
    width: 24px;
    height: 24px;
}

.btn img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Discord icon should remain white without filter */
.btn img[src*="discord-icon"] {
    filter: none !important;
}

.btn-secondary img {
    filter: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(44, 47, 54, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #40444b;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

/* Retina display support for logo */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .footer-logo-img {
        content: url('../assets/logo-large.png');
        width: 40px;
        height: 40px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #b9bbbe;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #5865f2;
}

.nav-discord-icon {
    width: 24px;
    height: 24px;
    margin-left: 1rem;
    filter: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.nav-discord-icon:hover {
    opacity: 1;
}

.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.language-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #40444b;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    color: #b9bbbe;
    min-width: 80px;
}

.lang-dropdown-btn:hover {
    background: #40444b;
    border-color: #5865f2;
}

.current-lang {
    font-size: 14px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2c2f36;
    border: 1px solid #40444b;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 140px;
}

.language-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #b9bbbe;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: #40444b;
    color: #ffffff;
}

.lang-option.active {
    background: #5865f2;
    color: white;
}

.lang-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.lang-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #23272a 0%, #2c2f36 50%, #36393f 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-bot-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(88, 101, 242, 0.2);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-bot-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 12px 30px rgba(88, 101, 242, 0.3);
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #b9bbbe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(185, 187, 190, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #b9bbbe;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: #36393f;
}

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

.feature-card {
    background: #40444b;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #4f545c;
}

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

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

.feature-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-description {
    color: #b9bbbe;
    line-height: 1.6;
}

/* Demo Section */
.demo {
    background: #2c2f36;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-item {
    display: flex;
    flex-direction: column;
    background: #40444b;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4f545c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.demo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.demo-command {
    background: #5865f2;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.demo-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid #4f545c;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
}

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

.demo-content {
    text-align: center;
}

.demo-content h3 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.demo-content p {
    color: #b9bbbe;
    line-height: 1.5;
    font-size: 0.85rem;
    max-width: 350px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    background: #36393f;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: #4f545c;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #5865f2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    z-index: 2;
    position: relative;
}

.step-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #b9bbbe;
    line-height: 1.6;
}

.step-details {
    font-size: 0.9rem;
    color: #72767d;
    margin-top: 0.5rem;
    font-style: italic;
}

.step-content .btn {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Enhanced Command styling in How It Works section */
.step-content code {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 
        0 3px 10px rgba(88, 101, 242, 0.3),
        0 1px 5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin: 0 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: lowercase;
    letter-spacing: 0.3px;
}

.step-content code:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3c42a3 100%);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 
        0 5px 15px rgba(88, 101, 242, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-content code:active {
    transform: translateY(0px) scale(1.01);
    transition: all 0.1s ease;
}

/* Add subtle glow animation */
@keyframes commandGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4), 0 2px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

.step-content code {
    animation: commandGlow 3s ease-in-out infinite;
}

/* Commands Section */
.commands {
    background: #2c2f36;
}

.commands-table {
    background: #40444b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4f545c;
}

.command-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #4f545c;
}

.command-row:last-child {
    border-bottom: none;
}

.command-row.header {
    background: #36393f;
    font-weight: 600;
    color: #ffffff;
}

.command-row:not(.header) {
    color: #dcddde;
}

.command-col code {
    background: #2c2f36;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #5865f2;
}

/* Why GM Bot Section */
.why-gm-bot {
    background: #36393f;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: #40444b;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #4f545c;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

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

.benefit-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #b9bbbe;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.permissions-info {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    display: inline-block;
}

.permissions-info h4 {
    color: white;
    margin-bottom: 1rem;
}

.permissions-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    text-align: left;
}

.permissions-list li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0;
}

.permissions-list li::before {
    content: '✓ ';
    color: #4ade80;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #23272a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-description {
    color: #b9bbbe;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b9bbbe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #5865f2;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(64, 68, 75, 0.8);
    border-radius: 12px;
    color: #b9bbbe;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #4f545c;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-link img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-link:hover svg,
.social-link:hover img {
    transform: scale(1.1);
}

/* Platform-specific hover colors */
.social-link[href*="linkedin"]:hover {
    background: rgba(10, 102, 194, 0.1);
    border-color: #0a66c2;
    color: #0a66c2;
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.3);
}

.social-link[href*="x.com"]:hover,
.social-link[href*="twitter"]:hover {
    background: rgba(29, 155, 240, 0.1);
    border-color: #1d9bf0;
    color: #1d9bf0;
    box-shadow: 0 8px 25px rgba(29, 155, 240, 0.3);
}

.social-link[href*="github"]:hover {
    background: rgba(240, 246, 252, 0.1);
    border-color: #f0f6fc;
    color: #f0f6fc;
    box-shadow: 0 8px 25px rgba(240, 246, 252, 0.2);
}

.social-link[href*="farcaster"]:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
    color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Tooltip for social links */
.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(23, 27, 30, 0.95);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid #40444b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(23, 27, 30, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-link:hover::before,
.social-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Separate styling for support links */
.footer-support-links {
    margin-top: 1rem;
}

.footer-support-links li {
    margin-bottom: 0.4rem;
}

.footer-support-links a {
    font-size: 0.9rem;
    color: #72767d;
}

.footer-support-links a:hover {
    color: #5865f2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #40444b;
    color: #b9bbbe;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-bot-img {
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-item {
        flex-direction: column;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .command-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-support-links {
        text-align: center;
    }
    
    .permissions-list {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .lang-dropdown-btn {
        min-width: 70px;
        padding: 6px 10px;
    }
    
    .lang-dropdown-menu {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card,
    .benefit-card {
        padding: 1.5rem;
    }
    
    .permissions-info {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus States for Accessibility */
.btn:focus,
.lang-btn:focus {
    outline: 2px solid #5865f2;
    outline-offset: 2px;
}

/* Dark mode support (for future implementation) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here */
}

/* FAQ Section */
.faq {
    background: #2c2f36;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #40444b;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #4f545c;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(88, 101, 242, 0.1);
}

.faq-question[aria-expanded="true"] {
    background: rgba(88, 101, 242, 0.15);
    border-bottom: 1px solid #4f545c;
}

.faq-arrow {
    font-size: 1.5rem;
    font-weight: 300;
    color: #5865f2;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: #b9bbbe;
    line-height: 1.6;
    margin: 0;
    margin-top: 1rem;
}

/* Live in Action Section */
.live-action {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2f36 50%, #36393f 100%);
    overflow: hidden;
    position: relative;
}

.live-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.live-action-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.gm-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gm-message-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(88, 101, 242, 0.2);
    border: 2px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.gm-message-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 12px 30px rgba(88, 101, 242, 0.3);
}

.message-overlay {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(40, 44, 52, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    text-align: center;
    min-width: 250px;
}

.web3-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.community-info p {
    margin: 0;
    color: #b9bbbe;
    font-size: 0.9rem;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.keyword {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.keyword::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.keyword:hover::before {
    left: 100%;
}

.keyword:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #4752c4 0%, #3c42a3 100%);
}

.keyword.large {
    font-size: 1.3rem;
    padding: 0.8rem 1.8rem;
    animation: float 6s ease-in-out infinite;
}

.keyword.medium {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    animation: float 8s ease-in-out infinite;
    animation-delay: -2s;
}

.keyword.small {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    animation: float 10s ease-in-out infinite;
    animation-delay: -4s;
}

/* Special colors for specific keywords */
.keyword[data-keyword="gm"],
.keyword[data-keyword="gm-alt"],
.keyword[data-keyword="gm-morning"],
.keyword[data-keyword="gm-sunrise"] {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.keyword[data-keyword="gm"]:hover,
.keyword[data-keyword="gm-alt"]:hover,
.keyword[data-keyword="gm-morning"]:hover,
.keyword[data-keyword="gm-sunrise"]:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #d63384 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.keyword[data-keyword="defi"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.keyword[data-keyword="defi"]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.keyword[data-keyword="nft"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.keyword[data-keyword="nft"]:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.keyword[data-keyword="eth"] {
    background: linear-gradient(135deg, #627eea 0%, #4f6bdc 100%);
    box-shadow: 0 4px 15px rgba(98, 126, 234, 0.3);
}

.keyword[data-keyword="eth"]:hover {
    background: linear-gradient(135deg, #4f6bdc 0%, #3c5dd1 100%);
    box-shadow: 0 8px 25px rgba(98, 126, 234, 0.5);
}

.keyword[data-keyword="btc"] {
    background: linear-gradient(135deg, #f7931a 0%, #e88716 100%);
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
}

.keyword[data-keyword="btc"]:hover {
    background: linear-gradient(135deg, #e88716 0%, #d97b12 100%);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.5);
}

.keyword[data-keyword="gn"] {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.keyword[data-keyword="gn"]:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

/* Special styling for emoji-only keywords */
.emoji-keyword {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4) !important;
    font-size: 1.5rem !important;
    padding: 0.8rem !important;
    border-radius: 50% !important;
    animation: pulse 3s ease-in-out infinite !important;
}

.emoji-keyword:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6) !important;
    transform: translateY(-5px) scale(1.15) !important;
}

.emoji-keyword.large {
    font-size: 1.8rem !important;
    padding: 1rem !important;
}

.emoji-keyword.medium {
    font-size: 1.5rem !important;
    padding: 0.8rem !important;
}

.emoji-keyword.small {
    font-size: 1.2rem !important;
    padding: 0.6rem !important;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Responsive Design for Live Action */
@media (max-width: 768px) {
    .live-action-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .keyword-cloud {
        padding: 1rem;
    }
    
    .keyword.large {
        font-size: 1.4rem;
        padding: 1rem 2rem;
    }
    
    .keyword.medium {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .keyword.small {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .message-overlay {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
}

/* Trust & Security Section */
.trust-security {
    background: linear-gradient(135deg, #36393f 0%, #2c2f36 50%, #23272a 100%);
    padding: 4rem 0;
    border-top: 1px solid #4f545c;
    position: relative;
    overflow: hidden;
}

.trust-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.trust-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.trust-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(64, 68, 75, 0.8) 0%, 
        rgba(54, 57, 63, 0.9) 50%, 
        rgba(44, 47, 54, 0.8) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(88, 101, 242, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #5865f2, #4752c4, #5865f2);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-badge:hover {
    background: linear-gradient(135deg, 
        rgba(64, 68, 75, 0.9) 0%, 
        rgba(54, 57, 63, 1) 50%, 
        rgba(44, 47, 54, 0.9) 100%);
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 8px 25px rgba(88, 101, 242, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.trust-badge:hover::before {
    opacity: 1;
}

.developed-by {
    display: block;
    color: #b9bbbe;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
}

.company-logo {
    max-width: 180px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
    filter: invert(1) brightness(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.company-logo:hover {
    transform: scale(1.08);
    filter: invert(1) brightness(1.15) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

/* Special styling for CosmoHub AI logo */
.cosmohub-logo {
    max-width: 160px;
    height: 60px;
    object-fit: contain;
    filter: brightness(1) contrast(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.cosmohub-logo:hover {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.25));
}

.trust-subtitle {
    color: #dcddde;
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    font-weight: 500;
    opacity: 0.9;
}

.company-link {
    color: #5865f2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.company-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.company-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.company-link:hover::before {
    opacity: 1;
}

/* Responsive Design for Trust Section */
@media (max-width: 768px) {
    .trust-security {
        padding: 3rem 0;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem;
    }
    
    .trust-badge {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .trust-badge::before {
        border-radius: 16px;
    }
    
    .company-logo {
        max-width: 140px;
    }
    
    .cosmohub-logo {
        max-width: 120px;
    }
    
    .developed-by {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }
} 