:root {
    --background: #ffffff;
    --foreground: #1e293b;
    --card: #f8fafc;
    --card-foreground: #1e293b;
    --primary: #0284c7;
    --primary-foreground: #ffffff;
    --secondary: #f1f5f9;
    --muted: #e2e8f0;
    --muted-foreground: #64748b;
    --accent: #14b8a6;
    --border: #e2e8f0;
    --radius: 0.75rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.font-display {
    font-family: 'Syne', sans-serif;
}

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

.container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.separator {
    border-top: 1px solid var(--border);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.5rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 49;
}

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

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--background), var(--secondary));
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(2, 132, 199, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--border);
    color: var(--foreground);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: var(--foreground);
    color: var(--background);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-dark:hover {
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s;
}

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

.hero-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--muted-foreground);
    transition: color 0.3s;
    animation: bounce 2s infinite;
}

.hero-arrow:hover {
    color: var(--primary);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Portfolio Iframe */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s;
}

.project-card:hover {
    border-color: var(--primary);
}

.project-preview {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--muted);
    overflow: hidden;
}

.project-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
}

.overlay-btn:hover {
    transform: scale(1.1);
}

.overlay-btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.overlay-btn-dark {
    background: var(--foreground);
    color: var(--background);
}

.project-info {
    padding: 1.5rem;
}

.project-info .cat {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 8/10;
    max-height: 85vh;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-label {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-top: 1rem;
}

.section-description {
    color: var(--muted-foreground);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section - Tokyo Style */
.about-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.about-photo {
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: var(--muted);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.7s;
}

.about-photo:hover img {
    filter: grayscale(0%);
}

.about-name {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-role {
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.about-bio {
    margin: 2rem 0;
}

.about-bio p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 4rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 100px;
}

.info-value {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Skills Bars */
.skills-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.skill-percent {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.skill-bar {
    height: 4px;
    background: var(--muted);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--foreground);
    border-radius: 2px;
    width: 0;
    transition: width 1.5s ease;
}

/* Knowledge & Interests */
.list-arrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.list-arrow::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid var(--foreground);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Timeline */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--background);
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-year {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    background: var(--muted);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
}

.timeline-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.timeline-sub {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    padding: 1.5rem;
}

.testimonial-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Fun Facts */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.fact-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.fact-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 50px;
}

.pricing-plan {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* Partners */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.3s;
    cursor: default;
}

.partner-logo:hover {
    color: var(--primary);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.blog-img {
    height: 200px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-value {
    font-weight: 500;
}

.contact-value a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: none;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(2, 132, 199, 0.3);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s;
}

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

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Chat Widget */
.chat-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
    transition: transform 0.3s;
    animation: glowPulse 3s ease-in-out infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(2, 132, 199, 0.5);
    }
}

.chat-window {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 60;
    width: 360px;
    max-width: calc(100vw - 2rem);
    height: 500px;
    max-height: calc(100vh - 8rem);
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s ease;
}

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

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.chat-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.chat-header-status {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.chat-header-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s;
}

.chat-header-close:hover {
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-msg {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.bot-avatar {
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
}

.user-avatar {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent);
}

.chat-bubble {
    max-width: 75%;
    padding: 0.625rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.bot-bubble {
    background: var(--secondary);
    color: var(--foreground);
    border-bottom-left-radius: 0.25rem;
}

.user-bubble {
    background: var(--primary);
    color: var(--primary-foreground);
    border-bottom-right-radius: 0.25rem;
}

.chat-time {
    display: block;
    font-size: 0.625rem;
    margin-top: 0.25rem;
    opacity: 0.6;
}

.chat-typing {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted-foreground);
    opacity: 0.5;
    animation: typingBounce 1.4s infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

.chat-input-area {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    border-radius: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.chat-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--foreground);
    padding: 0.375rem 0;
}

.chat-input-wrapper input::placeholder {
    color: var(--muted-foreground);
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.chat-send-btn:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

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

    .info-grid,
    .skills-two-col,
    .timeline-grid,
    .testimonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .chat-window {
        height: 420px;
    }
}

/* Premium Subscription Popup Styles */
.premium-swal {
    border-radius: 2rem !important;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.5) !important;
    font-family: 'Inter', sans-serif !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
}

.premium-input {
    border-radius: 50px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s !important;
    margin-top: 20px !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    background: rgba(255,255,255,0.95) !important;
}

.premium-input:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4) !important;
}

.premium-btn {
    padding: 0.875rem 2.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin: 10px 5px !important;
    font-size: 0.875rem !important;
}

.premium-btn.primary {
    background: #14b8a6 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4) !important;
}

.premium-btn.primary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.6) !important;
    background: #0d9488 !important;
}

.premium-btn.secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.premium-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

/* Partners Marquee Animation */
.partners-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.partners-marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 15s linear infinite;
}

.partners-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-marquee-track .client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    cursor: pointer;
}

.partners-marquee-track .client-item:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.partners-marquee-track .client-item h4 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--foreground);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}