:root {
    --primary: #00f0ff;
    --primary-dim: #0099aa;
    --secondary: #7000ff;
    --dark: #0a0a0f;
    --dark-elevated: #15151f;
    --dark-surface: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --accent-glow: rgba(0, 240, 255, 0.2);
    --grid-color: rgba(0, 240, 255, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Gradient Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 5.25rem;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}
.logo:hover img {
    opacity: 0.92;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 240, 255, 0.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    padding: 2rem;
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.language-toggle:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.language-toggle span {
    font-size: 1.1rem;
}

/* Flag image in language toggle (same look in dev and production) */
.language-toggle .lang-flag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.language-toggle .lang-flag-img {
    width: 1.25em;
    height: 1.25em;
    object-fit: contain;
    vertical-align: middle;
}

/* Header actions: Login + Language side by side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.btn-login {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-login:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 0.5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* CTAs right under headline so they're visible at first glance */
.cta-buttons--hero {
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-visual {
    margin: 0 0 2rem;
    position: relative;
    max-width: 900px;
    max-height: min(45vh, 420px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero:hover .hero-visual img {
    transform: scale(1.05);
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    animation: fadeInDown 0.8s ease;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    letter-spacing: -0.03em;
}

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

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

/* Services Grid */
.services {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--dark-elevated);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(112, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--dark-surface);
    margin: 4rem 0;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 0;
}

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

.feature-box {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(112, 0, 255, 0.05) 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--dark-elevated);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-info-card a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-form {
    background: var(--dark-elevated);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(112, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-form:hover::before {
    opacity: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-surface);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff6666;
    display: block;
}

.btn-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

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

/* AI Images Section */
.ai-image-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.ai-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ai-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.4s ease;
}

.ai-image-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.3);
}

.ai-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ai-image-card:hover img {
    transform: scale(1.1);
}

.ai-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.ai-image-card:hover .ai-image-overlay {
    transform: translateY(0);
}

.ai-image-overlay h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ai-image-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--dark-surface);
    position: relative;
}

/* Hide placeholder testimonials: add class hide-placeholder-testimonials to <body> */
body.hide-placeholder-testimonials .testimonials-placeholder {
    display: none !important;
}

/* Subscribe coming soon */
.coming-soon-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    font-weight: 700;
    border-radius: 8px;
    font-size: 1rem;
}
.coming-soon-note {
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--dark-elevated);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(112, 0, 255, 0.1) 100%);
    border-radius: 30px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

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

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    text-align: center;
    color: var(--text-secondary);
}

footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: var(--dark);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .language-toggle {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-form {
        padding: 2rem;
    }

    .ai-image-grid {
        grid-template-columns: 1fr;
    }
}

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

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

/* AI Chat Widget */
.chat-toggle {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 130;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-toggle:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 240, 255, 0.35);
}

.chat-panel {
    position: fixed;
    right: 1.5rem;
    bottom: 5.2rem;
    width: 420px;
    max-width: calc(100vw - 3rem);
    height: 620px;
    max-height: 75vh;
    background: rgba(21, 21, 31, 0.95);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    z-index: 125;
    overflow: hidden;
}

.chat-panel.open {
    display: flex;
}

.chat-header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.chat-title {
    font-weight: 800;
    font-size: 0.98rem;
}

.chat-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.chat-close {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.chat-messages {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05), transparent 45%);
}

.chat-message {
    display: flex;
    max-width: 90%;
}

.chat-message.user {
    margin-left: auto;
    justify-content: flex-end;
}

.chat-message.ai .chat-bubble {
    border: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.05);
}

.chat-message.user .chat-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #0a0a0f;
}

.chat-bubble {
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    line-height: 1.45;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    white-space: pre-wrap;
}

.chat-form {
    display: flex;
    gap: 0.6rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(0, 240, 255, 0.12);
    background: rgba(10, 10, 15, 0.92);
}

.chat-input {
    flex: 1;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(21, 21, 31, 0.9);
    color: var(--text-primary);
    outline: none;
    font-size: 0.95rem;
}

.chat-send {
    background: var(--primary);
    color: #0a0a0f;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 0.95rem;
    font-weight: 700;
    cursor: pointer;
    min-width: 90px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-send:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

.chat-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0 1rem 1rem;
}

@media (max-width: 600px) {
    .chat-panel {
        right: 1rem;
        left: 1rem;
        width: auto;
        bottom: 5.5rem;
        height: 70vh;
    }

    .chat-toggle {
        right: 1rem;
        bottom: 1.5rem;
    }
}

.roi-slider {
    width: 100%;
    margin-top: 10px;
    appearance: none;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #6C63FF, #00D4FF);
    outline: none;
    transition: 0.3s;
}

.roi-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #6C63FF;
    cursor: pointer;
    transition: 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* ===== BLOG STYLES ===== */

/* Category badges */
.cat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.cat-ai       { background: rgba(0,240,255,0.12); color: var(--primary);   border: 1px solid rgba(0,240,255,0.28); }
.cat-saas     { background: rgba(112,0,255,0.12); color: #a855f7;           border: 1px solid rgba(112,0,255,0.28); }
.cat-backend  { background: rgba(0,255,136,0.10); color: #00ff88;           border: 1px solid rgba(0,255,136,0.28); }
.cat-payments { background: rgba(255,170,0,0.10); color: #ffaa00;           border: 1px solid rgba(255,170,0,0.28); }

/* Blog listing page header */
.blog-page-header { padding: 5rem 0 3rem; text-align: center; }
.blog-page-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.blog-page-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* Featured article */
.featured-article {
    background: var(--dark-elevated);
    border: 1px solid rgba(0,240,255,0.15);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    transition: border-color 0.25s;
    text-decoration: none;
    color: inherit;
}
.featured-article:hover { border-color: rgba(0,240,255,0.4); }
.featured-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.featured-article h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    line-height: 1.3;
    margin: 0.6rem 0;
}
.featured-article p { color: var(--text-secondary); line-height: 1.7; margin: 0.75rem 0 1.25rem; }
.featured-img {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* Article meta line */
.article-meta {
    color: var(--text-secondary);
    font-size: 0.84rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0.6rem 0 1.25rem;
}

/* Category filter */
.category-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0,240,255,0.2);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.84rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
    background: rgba(0,240,255,0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.blog-card {
    background: var(--dark-elevated);
    border: 1px solid rgba(0,240,255,0.1);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover { border-color: rgba(0,240,255,0.32); transform: translateY(-3px); }
.blog-card-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.05rem; line-height: 1.4; margin: 0.5rem 0 0.4rem; }
.blog-card > p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; flex: 1; }
.blog-card .read-link { margin-top: 1.25rem; color: var(--primary); font-size: 0.875rem; font-weight: 600; }

/* Article page */
.breadcrumb { padding: 1.5rem 0 0; font-size: 0.84rem; color: var(--text-secondary); }
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 0.4rem; }

.article-wrapper { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.article-title { font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.25; margin: 1rem 0 0.75rem; }

.article-body { margin-top: 2.5rem; color: #bbbbd0; line-height: 1.85; font-size: 1.03rem; }
.article-body h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0,240,255,0.12);
}
.article-body h3 { font-size: 1.05rem; color: var(--primary); margin: 1.75rem 0 0.5rem; }
.article-body ul { padding-left: 1.25rem; margin: 0.75rem 0; }
.article-body li { margin-bottom: 0.45rem; }
.article-body strong { color: var(--text-primary); }
.article-body p { margin-bottom: 1.2rem; }

.highlight-box {
    background: var(--dark-elevated);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-primary);
}
.data-table { background: var(--dark-elevated); border-radius: 12px; padding: 0.5rem 1.5rem; margin: 1.25rem 0; }
.data-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.data-row:last-child { border-bottom: none; }
.data-row .val { color: var(--primary); font-weight: 600; font-family: 'JetBrains Mono', monospace; }

.article-cta {
    background: var(--dark-elevated);
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}
.article-cta h3 { font-size: 1.45rem; margin-bottom: 0.75rem; }
.article-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

@media (max-width: 768px) {
    .featured-article { grid-template-columns: 1fr; }
    .featured-img { order: -1; }
}

/* ===== END BLOG STYLES ===== */

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.08) 0%, rgba(112, 0, 255, 0.08) 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.18);
    padding: 0.6rem 0;
    position: relative;
    z-index: 101;
}

.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-bar span {
    color: var(--text-primary);
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}

.btn-announcement {
    background: var(--primary);
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.btn-announcement:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .announcement-bar span {
        font-size: 0.78rem;
        text-align: center;
    }
    .announcement-bar .container {
        gap: 0.6rem;
    }
}
