:root {
    /* Lobster-inspired professional palette */
    --primary: #B22222;          /* Deep lobster red/burgundy */
    --primary-dark: #8B0000;     /* Darker brick red */
    --secondary: #FF6B35;        /* Coral/orange - cooked lobster */
    --accent: #DAA520;           /* Golden butter */
    --accent-light: #F4E4C1;     /* Creamy drawn butter */
    --ocean: #1E3A5F;            /* Deep ocean blue */
    --ocean-light: #2C5282;      /* Lighter ocean */
    --text-dark: #2D1810;        /* Dark brown - lobster shell */
    --text-light: #5C4033;       /* Medium brown */
    --bg-white: #FFFCF8;         /* Cream white - like lobster meat */
    --bg-light: #FFF8F0;         /* Light cream background */
    --border: #E8D5C4;           /* Sandy tan border */
    --shell-pink: #FFB6C1;       /* Soft lobster pink accent */
    --shadow: 0 4px 6px -1px rgba(45, 24, 16, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(45, 24, 16, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.1);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
}

.wave-bg svg {
    width: 100%;
    height: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    margin-bottom: 20px;
}

.badge-text {
    background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

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

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 16px;
    max-width: 500px;
}

.hero-philosophy {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    width: 100%;
    max-width: 400px;
    animation: float 6s ease-in-out infinite;
}

.brain-svg {
    width: 100%;
    height: auto;
}

.node {
    animation: pulse 2s ease-in-out infinite;
}

.connection {
    animation: dash 3s ease-in-out infinite;
    stroke-dasharray: 10;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes dash {
    0% { stroke-dashoffset: 20; }
    100% { stroke-dashoffset: 0; }
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* AI Demo Section */
.ai-demo {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.demo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.demo-text {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.chat-preview {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: left;
}

.chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.chat-bubble:nth-child(2) { animation-delay: 0.6s; }
.chat-bubble:nth-child(3) { animation-delay: 1s; }

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

.chat-bubble.ai {
    flex-direction: row;
}

.chat-bubble.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-bubble p {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 20px;
    border-bottom-left-radius: 4px;
    max-width: 80%;
    backdrop-filter: blur(10px);
}

.chat-bubble.user p {
    background: rgba(255, 255, 255, 0.25);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 4px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.stat-item {
    padding: 24px;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

/* Contact CTA */
.contact-cta {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
}

.contact-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-text {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.phone-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px 48px;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    border: 2px solid var(--border);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.phone-cta:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.phone-icon {
    font-size: 2.5rem;
}

.phone-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.phone-digits {
    font-size: 1.1rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 80px 0 32px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
    }
    
    .hero-philosophy {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .chat-bubble p {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .phone-cta {
        padding: 24px;
    }
    
    .phone-number {
        font-size: 1.4rem;
    }
}


/* SEO Introduction Section */
.seo-intro {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.seo-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.seo-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1rem;
}

.seo-intro strong {
    color: #b22222;
}

/* Technology Stack Section */
.tech-stack {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tech-category h3 {
    color: #b22222;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-category ul {
    list-style: none;
    padding: 0;
}

.tech-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.tech-category li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #b22222;
}

.faq-item h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #495057;
    line-height: 1.7;
}

.faq-item strong {
    color: #b22222;
}

/* Timeline Note */
.timeline-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #e7f3ff;
    border-radius: 8px;
    color: #495057;
}


/* Image Placeholder Styles */
.image-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-radius: 12px;
}

.service-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.img-icon {
    font-size: 4rem;
    line-height: 1;
}

.img-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    max-width: 200px;
}

.openclaw-img .img-icon {
    font-size: 5rem;
}

.workflow-img .img-icon {
    font-size: 5rem;
}

.ai-img .img-icon {
    font-size: 5rem;
}

/* Project Image Placeholders */
.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.project-img-icon {
    font-size: 3rem;
}

.project-img-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Different gradient backgrounds for variety */
.service-block:nth-child(1) .image-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-block:nth-child(2) .image-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-block:nth-child(3) .image-box {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-block:nth-child(4) .image-box {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-block:nth-child(5) .image-box {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-block .img-placeholder {
    color: white;
}

.service-block .img-label {
    color: white;
    opacity: 0.95;
}


/* Service SVG Images */
.service-svg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 300px;
    border-radius: 12px;
}

.visual-box.image-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}


/* Project SVG Images */
.project-svg-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
}
