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

:root {
    --primary: #00f2ff;
    --secondary: #ff00ff;
    --accent: #ffed00;
    --dark: #0a0a0f;
    --card-bg: #1a1a24;
    --text: #ffffff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.orb3 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    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;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Content Container */
.content {
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 100px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    flex-direction: column;
    text-align: center;
}

.hero h1 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.hero h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.5);
}

/* Stats */
.stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

/* About Section */
.about-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.tech-badge {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.tech-badge:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* AI Playground */
.playground {
    background: rgba(26, 26, 36, 0.5);
    backdrop-filter: blur(20px);
}

.playground-content {
    max-width: 1400px;
    width: 100%;
}

.playground h2 {
    font-size: 56px;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.playground-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

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

.tool-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

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

.tool-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tool-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-button {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
}

.tool-button:hover {
    background: var(--primary);
    color: var(--dark);
}

/* AI Workflows Section */
.workflows {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
}

.workflows-content {
    max-width: 1400px;
    width: 100%;
}

.workflows h2 {
    font-size: 56px;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflows-subtitle {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.workflow-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.workflow-card.collapsed {
    padding: 25px 35px;
}

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

.workflow-card.active {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.3);
}

.workflow-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    position: relative;
}

.workflow-card.collapsed .workflow-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.workflow-expand-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.workflow-card.active .workflow-expand-icon {
    transform: translateY(-50%) rotate(180deg);
}

.workflow-icon {
    font-size: 2.5em;
    margin-right: 15px;
}

.workflow-title h3 {
    color: var(--primary);
    font-size: 1.5em;
    margin-bottom: 5px;
}

.workflow-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 5000px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 1;
    margin-top: 0;
}

.workflow-card.collapsed .workflow-steps {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 242, 255, 0.05);
    padding: 18px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s;
}

.workflow-step:hover {
    background: rgba(0, 242, 255, 0.1);
    transform: translateX(5px);
}

.step-num {
    background: var(--primary);
    color: var(--dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
    font-size: 0.95em;
}

.step-tool {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85em;
    margin-bottom: 3px;
}

.step-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
    line-height: 1.4;
}

.workflow-arrow {
    text-align: center;
    color: var(--primary);
    font-size: 1.5em;
    margin: -3px 0;
}

.workflow-result {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 10px;
}

/* Brain Activity Animation */
.brain-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.2em;
    animation: brainPulse 2s ease-in-out infinite;
}

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

.ideation-step {
    position: relative;
    overflow: hidden;
}

.ideation-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 237, 0, 0.1) 50%, 
        transparent 100%);
    animation: brainWave 3s ease-in-out infinite;
}

@keyframes brainWave {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.workflows-footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 242, 255, 0.05);
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.workflows-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    line-height: 1.6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    border: 2px solid var(--primary);
    position: relative;
    margin: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

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

.modal h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary);
}

textarea, input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus, input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#contactForm {
    width: 100%;
}

/* CS Flow Diagram Styles */
.cs-flow-container {
    width: 100%;
    height: 600px;
    background: #1a1a24;
    border-radius: 15px;
    position: relative;
    overflow: auto;
    border: 2px solid rgba(0, 242, 255, 0.2);
}

.flow-canvas {
    width: 1200px;
    height: 800px;
    position: relative;
    margin: 20px;
}

.flow-node {
    position: absolute;
    background: rgba(26, 26, 36, 0.9);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    min-width: 150px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.2);
}

.flow-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.4);
    border-color: var(--accent);
    z-index: 10;
}

.flow-node.active {
    border-color: var(--accent);
    background: rgba(255, 237, 0, 0.1);
    box-shadow: 0 10px 30px rgba(255, 237, 0, 0.4);
}

.flow-node-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.flow-node-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95em;
    margin-bottom: 5px;
}

.flow-node-subtitle {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.6);
}

.flow-details {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 242, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    display: none;
}

.flow-details.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.flow-details h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1em;
}

.flow-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.flow-details ul {
    margin-left: 20px;
    margin-top: 10px;
}

.flow-details li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-size: 0.85em;
}

.flow-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
}

.legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-trigger { background: #00f2ff; }
.legend-action { background: #00ff88; }
.legend-notification { background: #ffed00; }
.legend-tool { background: #ff00ff; }

.analyze-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 10px;
    color: var(--dark);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.analyze-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.4);
}

.analyze-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.result {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    display: none;
}

.result.active {
    display: block;
}

.result h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.result p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Work Section */
.work-content {
    max-width: 1200px;
}

.work-content h2 {
    font-size: 56px;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-studies {
    display: grid;
    gap: 40px;
}

.case-study {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s;
}

.case-study:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.case-study h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary);
}

.case-study .company {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.case-study p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.metrics {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.metric {
    flex: 1;
    min-width: 150px;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.contact-content {
    text-align: center;
    max-width: 800px;
}

.contact h2 {
    font-size: 56px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    padding: 18px 40px;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
}

.contact-link:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 { font-size: 60px; }
    .hero h2 { font-size: 28px; }
    .playground h2, .workflows h2, .work-content h2, .contact h2 { font-size: 48px; }
    .about-text h2 { font-size: 40px; }
    .workflow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 20px 25px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 40px 30px;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 18px;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    section {
        padding: 80px 25px;
        min-height: auto;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 { 
        font-size: 40px;
        line-height: 1.2;
    }
    
    .hero h2 { 
        font-size: 22px;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 16px;
    }
    
    .stats {
        gap: 30px;
        margin-top: 40px;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text h2 {
        font-size: 32px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .tech-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .playground h2, .workflows h2, .work-content h2, .contact h2 {
        font-size: 36px;
    }
    
    .playground-subtitle, .workflows-subtitle, .contact p {
        font-size: 16px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card {
        padding: 30px;
    }
    
    .tool-card h3 {
        font-size: 20px;
    }
    
    .tool-card p {
        font-size: 14px;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .workflow-card {
        padding: 25px;
    }

    .workflow-card.collapsed {
        padding: 20px 25px;
    }

    .workflow-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .workflow-icon {
        font-size: 2em;
    }

    .workflow-title h3 {
        font-size: 1.3em;
    }

    .workflow-step {
        padding: 15px;
    }
    
    .modal-content {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .modal h3 {
        font-size: 24px;
        margin-bottom: 20px;
        padding-right: 30px;
    }
    
    .modal-close {
        font-size: 28px;
        right: 20px;
        top: 15px;
    }
    
    textarea, input {
        font-size: 14px;
        padding: 12px;
    }
    
    .case-study {
        padding: 25px;
    }
    
    .case-study h3 {
        font-size: 22px;
    }
    
    .case-study p {
        font-size: 14px;
    }
    
    .metrics {
        gap: 25px;
    }
    
    .metric {
        min-width: 120px;
    }
    
    .metric-value {
        font-size: 28px;
    }
    
    .contact-links {
        gap: 15px;
    }
    
    .contact-link {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    footer {
        padding: 30px 25px;
    }
    
    .orb1, .orb2, .orb3 {
        filter: blur(60px);
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .playground h2, .workflows h2, .work-content h2, .contact h2 {
        font-size: 28px;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
    
    .result {
        padding: 20px;
    }

    .workflow-card {
        padding: 20px;
    }

    .workflow-card.collapsed {
        padding: 15px 20px;
    }
}
