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

:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --accent-green: #00ff88;
    --accent-green-bright: #00ff99;
    --accent-blue: #0066ff;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #2a2a2a;
    --glow-green: rgba(0, 255, 136, 0.4);
    --glow-green-bright: rgba(0, 255, 153, 0.6);
    --glow-blue: rgba(0, 102, 255, 0.3);
    --gradient-primary: linear-gradient(135deg, #000000, #1a4d3a, #00ff88);
    --gradient-dark: linear-gradient(135deg, #000000, #0a0a0a);
    --gradient-green: linear-gradient(135deg, var(--accent-green), var(--accent-green-bright));
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Add smooth transitions globally */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Add floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Add glow pulse animation */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--glow-green); }
    50% { box-shadow: 0 0 40px var(--glow-green-bright), 0 0 60px var(--glow-green); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--glow-green);
    transform: translateY(-2px);
}

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

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

.cta-button {
    background: var(--gradient-green);
    color: var(--primary-bg);
    border: 1px solid var(--accent-green);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--glow-green);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-green-bright);
    background: var(--accent-green-bright);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom center, rgba(0, 255, 136, 0.3) 0%, rgba(0, 255, 136, 0.1) 30%, #000000 70%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Green light effect from bottom center */
.hero-background::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.4) 0%, rgba(0, 255, 136, 0.2) 25%, rgba(0, 255, 136, 0.1) 50%, transparent 70%);
    animation: lightPulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes lightPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { transform: translate(50px, 50px); opacity: 0.3; }
}

.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.animated-lines::before,
.animated-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100px;
    background: var(--gradient-green);
    animation: lineMove 8s linear infinite;
    box-shadow: 0 0 20px var(--glow-green);
}

.animated-lines::before {
    top: -100px;
    left: 20%;
    animation-delay: 0s;
}

.animated-lines::after {
    top: -100px;
    right: 30%;
    animation-delay: 4s;
}

@keyframes lineMove {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    margin-bottom: 3rem;
}

.hero-visual {
    display: none; /* Hide the sync diagram to match the reference image */
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    animation: float 8s ease-in-out infinite;
}

.title-line {
    display: block;
    transition: all 0.5s ease;
    margin-bottom: 0.2rem;
}

.title-line.glow {
    color: var(--text-primary);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--primary-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px var(--glow-green);
    animation: glowPulse 6s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--glow-green-bright);
    background: var(--accent-green-bright);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-green);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--primary-bg);
    border-color: var(--accent-green-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--glow-green);
}

.btn-secondary:hover::before {
    left: 0;
}

/* Sync Diagram */
.sync-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    animation: float 10s ease-in-out infinite;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border: 2px solid var(--accent-green-bright);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--glow-green);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8;
        box-shadow: 0 0 30px var(--glow-green);
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1;
        box-shadow: 0 0 50px var(--glow-green-bright), 0 0 80px var(--glow-green);
    }
}

.connection {
    position: absolute;
    background: var(--gradient-green);
    height: 3px;
    box-shadow: 0 0 15px var(--glow-green);
    animation: connectionFlow 3s ease-in-out infinite;
    border-radius: 2px;
}

.connection-1 {
    top: 30px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%) rotate(45deg);
}

.connection-2 {
    top: 50%;
    right: 30px;
    width: 120px;
    transform: translateY(-50%) rotate(135deg);
}

.connection-3 {
    bottom: 30px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%) rotate(-45deg);
}

@keyframes connectionFlow {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 15px var(--glow-green);
    }
    50% { 
        opacity: 1; 
        box-shadow: 0 0 30px var(--glow-green-bright), 0 0 50px var(--glow-green);
    }
}

.pulse-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-green-bright);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: centerPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px var(--glow-green-bright);
}

@keyframes centerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px var(--glow-green-bright);
    }
    50% { 
        transform: translate(-50%, -50%) scale(2);
        box-shadow: 0 0 40px var(--glow-green-bright), 0 0 60px var(--glow-green);
    }
}

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

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    animation: float 12s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-green);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--glow-green);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-green);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.2);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-green);
    border: 2px solid var(--accent-green-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--glow-green);
    transition: all 0.4s ease;
    animation: glowPulse 8s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 0 50px var(--glow-green-bright);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-bg);
}

@keyframes iconSpinIn {
    from { transform: scale(0.8) rotate(0deg); }
    to   { transform: scale(1) rotate(360deg); }
}

.feature-icon.spin-once {
    animation: iconSpinIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
}

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

.solution-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--glow-green);
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-green);
}

/* ─── Solution Icon Animations ──────────────────────────────── */

/* Clickable cursor on interactive cards */
.solution-card, .feature-card { cursor: pointer; }

/* — AI Automation: block assembly — */
.icon-assemble .blk {
    opacity: 0;
    transition: none !important;
    transform-box: fill-box;
    transform-origin: center;
}
.icon-assemble .blk-tl { transform: translate(-4px, -4px) scale(0.5); }
.icon-assemble .blk-tr { transform: translate(4px, -4px)  scale(0.5); }
.icon-assemble .blk-bl { transform: translate(-4px, 4px)  scale(0.5); }
.icon-assemble .blk-br { transform: translate(4px, 4px)   scale(0.5); }

@keyframes blockAssemble {
    to { opacity: 1; transform: translate(0, 0) scale(1); }
}

.icon-assemble.animate .blk-tl { animation: blockAssemble 0.45s 0.00s cubic-bezier(0.34, 1.5, 0.64, 1) forwards; }
.icon-assemble.animate .blk-tr { animation: blockAssemble 0.45s 0.10s cubic-bezier(0.34, 1.5, 0.64, 1) forwards; }
.icon-assemble.animate .blk-bl { animation: blockAssemble 0.45s 0.20s cubic-bezier(0.34, 1.5, 0.64, 1) forwards; }
.icon-assemble.animate .blk-br { animation: blockAssemble 0.45s 0.30s cubic-bezier(0.34, 1.5, 0.64, 1) forwards; }

/* — Website Creation: blinking prompt chevron — */
@keyframes promptBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.icon-code .prompt-chevron {
    animation: promptBlink 1.0s step-end infinite;
}

/* — Product Media: corner unfold — */
.solution-icon { position: relative; }

.icon-media .media-frame {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: none !important;
}
.icon-media .media-content {
    opacity: 0;
    transition: none !important;
}

@keyframes unfoldFrame   { to { stroke-dashoffset: 0; } }
@keyframes fadeInContent { to { opacity: 1; } }

.icon-media.animate .media-frame   { animation: unfoldFrame   0.65s 0.00s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.icon-media.animate .media-content { animation: fadeInContent 0.25s 0.60s ease forwards; }

.solution-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

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

.solution-features {
    list-style: none;
}

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

.solution-features li::before {
    content: '▶';
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

/* Use Cases Section */
.use-cases {
    padding: 6rem 0;
    background: var(--gradient-dark);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.use-case-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.use-case-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Client card reveal */
.client-logo-mark {
    opacity: 0;
    transition: opacity 0.8s ease !important;
}
.client-logo-mark.logo-visible {
    opacity: 1;
}

/* Client name decode effect */
.char-decoding {
    color: var(--accent-green);
    text-shadow: 0 0 8px var(--glow-green), 0 0 18px var(--glow-green);
    display: inline-block;
}
.char-decoded {
    color: var(--text-primary);
    text-shadow: none;
    display: inline-block;
}

/* Clients Section */
.clients {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.clients-grid .client-card {
    width: 100%;
    max-width: 480px;
}

.client-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.12);
    transform: translateY(-6px);
}

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

.client-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.client-logo-mark {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--glow-green);
    flex-shrink: 0;
}

.client-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-meta {
    flex: 1;
    min-width: 0;
}

.client-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: 0.15rem;
}

.client-url {
    font-size: 0.8rem;
    color: var(--accent-green);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    letter-spacing: 0.02em;
}

.client-url:hover {
    opacity: 1;
    text-shadow: 0 0 8px var(--glow-green);
}

.client-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.client-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.client-services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.client-services li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 12px;
    transition: all 0.3s ease;
}

.client-card:hover .client-services li {
    border-color: rgba(0, 255, 136, 0.2);
    color: var(--text-primary);
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    backdrop-filter: blur(10px);
}

.testimonial-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    color: var(--accent-green);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.method-icon {
    font-size: 1.2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 10px var(--glow-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

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

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

.footer-brand p {
    color: var(--text-muted);
    font-style: italic;
}

.link-group h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.2px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent-green);
}

.newsletter h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.75rem;
    color: var(--text-primary);
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 10px var(--glow-green);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .sync-diagram {
        width: 300px;
        height: 300px;
    }
}



/* Chatbot Widget Styles */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
    animation: chatbotFloat 3s ease-in-out infinite;
}

.chatbot-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
}

.chatbot-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-bg);
    transition: all 0.3s ease;
}

.chatbot-pulse {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.chatbot-window.active {
    display: flex;
    animation: chatbotSlideIn 0.3s ease-out;
}

@keyframes chatbotSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chatbot-header {
    background: var(--gradient-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--glow-green);
}

.avatar-icon {
    color: var(--primary-bg);
    font-weight: bold;
    font-size: 1.2rem;
}

.chatbot-title h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-status {
    color: var(--accent-green);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-green);
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.chatbot-close svg {
    width: 16px;
    height: 16px;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--primary-bg);
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--border-color);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 2px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    animation: messageSlideIn 0.3s ease-out;
}

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

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
}

.message-content p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.user-message .message-content p {
    color: var(--text-primary);
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.user-message .message-time {
    text-align: right;
}

.chatbot-input-area {
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    background: var(--gradient-dark);
}

.chatbot-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chatbot-input-container input {
    flex: 1;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input-container input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 10px var(--glow-green);
}

.chatbot-input-container input::placeholder {
    color: var(--text-muted);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--primary-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-green);
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--glow-green);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chatbot-send svg {
    width: 18px;
    height: 18px;
}

.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.typing-indicator {
    display: flex;
    gap: 3px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        height: 70vh;
        bottom: 80px;
        right: -15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-icon {
        width: 24px;
        height: 24px;
    }
}

/* ─── AI Gallery Section ─────────────────────────────────────── */
.ai-gallery {
    padding: 100px 0 80px;
    background: var(--secondary-bg);
    overflow: hidden;
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 3rem;
    /* allow slides to bleed to screen edges */
    padding: 0;
}

.gallery-swiper {
    width: 100%;
    padding-bottom: 52px !important; /* room for pagination */
    overflow: visible;
}

.gallery-slide-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #111;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* dim non-active slides slightly */
.swiper-slide:not(.swiper-slide-active) .gallery-slide-inner {
    opacity: 0.6;
    transform: scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.swiper-slide-active .gallery-slide-inner {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15), 0 20px 60px rgba(0,0,0,0.6);
    border-color: rgba(0, 255, 136, 0.25);
}

/* hover zoom */
.gallery-slide-inner:hover img {
    transform: scale(1.05) !important;
}

/* green label overlay on hover */
.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease !important;
}

.gallery-slide-inner:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-green);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Pagination dots */
.gallery-pagination .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 1;
    width: 6px;
    height: 6px;
    transition: all 0.3s ease !important;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--accent-green);
    width: 24px;
    border-radius: 3px;
    box-shadow: 0 0 8px var(--glow-green);
}

/* Prev / Next buttons */
.gallery-btn-prev,
.gallery-btn-next {
    color: var(--accent-green) !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(0, 255, 136, 0.2) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease !important;
}

.gallery-btn-prev:hover,
.gallery-btn-next:hover {
    background: rgba(0, 255, 136, 0.1) !important;
    border-color: var(--accent-green) !important;
    box-shadow: 0 0 16px var(--glow-green) !important;
}

.gallery-btn-prev::after,
.gallery-btn-next::after {
    font-size: 14px !important;
    font-weight: 700;
}

/* Watermark */
.gallery-watermark {
    position: absolute;
    bottom: 10px;
    right: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    user-select: none;
    /* subtle text-shadow instead of a box — keeps it classy */
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    transition: color 0.3s ease !important;
}

.gallery-slide-inner:hover .gallery-watermark {
    color: rgba(0, 255, 136, 0.5);
}

/* "by Opsync" byline in section subtitle */
.gallery-byline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-green);
    opacity: 0.75;
}

/* Mobile */
@media (max-width: 640px) {
    .gallery-btn-prev,
    .gallery-btn-next {
        display: none !important;
    }
}

