/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
:root {
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-secondary: #10b981;
    --color-accent: #f59e0b;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f9fafb;
    --color-software: #6366f1;
    --color-design: #ec4899;
    --color-business: #10b981;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-list a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.hero-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #ffffff;
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.section-text {
    text-align: center;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* About */
.about {
    background-color: var(--color-bg);
}

/* About Flow */
.about-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.flow-item {
    background-color: var(--color-bg-alt);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    width: 280px;
    position: relative;
}

.flow-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.flow-item h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.flow-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    padding: 4px;
    transform: rotate(-45deg);
}

/* Features */
.features {
    background-color: var(--color-bg-alt);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--color-bg);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Agents */
.agents {
    background-color: var(--color-bg);
}

.agent-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.agent-item {
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.agent-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.agent-software {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 2px solid var(--color-software);
}

.agent-design {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border: 2px solid var(--color-design);
}

.agent-business {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--color-business);
}

.agent-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #ffffff;
}

.agent-software .agent-badge {
    background-color: var(--color-software);
}

.agent-design .agent-badge {
    background-color: var(--color-design);
}

.agent-business .agent-badge {
    background-color: var(--color-business);
}

.agent-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.agent-item > p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.agent-features {
    list-style: none;
    text-align: left;
}

.agent-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--color-text);
    font-size: 0.9375rem;
}

.agent-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.agent-software .agent-features li::before {
    color: var(--color-software);
}

.agent-design .agent-features li::before {
    color: var(--color-design);
}

.agent-business .agent-features li::before {
    color: var(--color-business);
}

/* Contact */
.contact {
    background-color: var(--color-bg-alt);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

.contact .btn-primary {
    width: 100%;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 16px;
}

.contact .btn-primary:hover {
    background-color: var(--color-primary-dark);
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: #ffffff;
    padding: 40px 0;
}

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

.footer-brand {
    text-align: left;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-company {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-list,
    .agent-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .nav-list {
        margin-top: 15px;
        gap: 15px;
        font-size: 0.875rem;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-flow {
        flex-direction: column;
    }

    .flow-arrow {
        width: 2px;
        height: 30px;
        transform: rotate(90deg);
    }

    .flow-arrow::after {
        top: auto;
        bottom: 0;
        right: -4px;
        transform: rotate(45deg);
    }

    .feature-list,
    .agent-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        text-align: center;
    }
}
