:root {
    --bg-color: #F9F9F9;
    --surface-color: #FFFFFF;
    --text-main: #1A1A1A;
    --text-secondary: #666666;
    --accent-color: #000000;
    --accent-hover: #333333;
    --border-color: #E0E0E0;
    --spacing-section: 120px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--surface-color);
    color: var(--text-main);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
    color: var(--text-main);
    border-color: var(--accent-color);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

section {
    padding: var(--spacing-section) 0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
}

.hero .btn-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

.about-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-main);
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.about-highlight {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-top: 30px;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
}

.services-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--surface-color);
    padding: 32px;
    border-radius: 16px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.process-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: #DDD;
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.process-content p {
    color: var(--text-secondary);
}

.contact-section {
    background-color: var(--surface-color);
    border-radius: 30px;
    margin-bottom: 60px;
    padding: 80px 40px;
    text-align: center;
}

.form-wrapper {
    max-width: 600px;
    margin: 40px auto 0;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

input {
    width: 100%;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-color);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input:focus {
    border-color: var(--accent-color);
    background: #fff;
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    margin-top: 10px;
}

.footer-links li {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 10px;
    list-style: none;
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    .process-item {
        grid-template-columns: 1fr;
    }

    .process-num {
        margin-bottom: 10px;
    }

    .contact-section {
        padding: 40px 20px;
    }
}

.modal {
    position: fixed;
    left: calc(50% - 250px);
    transition: .5s ease;
}
