:root {
    --primary-hue: 15;
    --primary-color: hsl(var(--primary-hue), 85%, 55%);
    --primary-dark: hsl(var(--primary-hue), 85%, 45%);
    --primary-light: hsl(var(--primary-hue), 85%, 95%);
    --secondary-color: hsl(200, 70%, 50%);
    --secondary-dark: hsl(200, 70%, 40%);
    --secondary-light: hsl(200, 70%, 95%);
    --accent-color: hsl(280, 65%, 55%);
    --accent-dark: hsl(280, 65%, 45%);
    --accent-light: hsl(280, 65%, 95%);
    --text-dark: hsl(0, 0%, 15%);
    --text-medium: hsl(0, 0%, 40%);
    --text-light: hsl(0, 0%, 70%);
    --bg-white: hsl(0, 0%, 100%);
    --bg-light: hsl(0, 0%, 98%);
    --bg-gray: hsl(0, 0%, 95%);
    --border-color: hsl(0, 0%, 90%);
    --shadow-sm: 0 2px 8px hsla(0, 0%, 0%, 0.08);
    --shadow-md: 0 4px 16px hsla(0, 0%, 0%, 0.1);
    --shadow-lg: 0 8px 32px hsla(0, 0%, 0%, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
    color: var(--text-medium);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-accept {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

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

.btn-learn {
    padding: 0.75rem 1.5rem;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.btn-learn:hover {
    background-color: var(--primary-light);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-lg);
    padding: calc(80px + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.stats-section {
    padding: var(--spacing-lg) var(--spacing-sm);
    background-color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

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

.services-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-white);
}

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

.service-card > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-sm);
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-service-detail {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    margin-top: auto;
}

.btn-service-detail:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.calculator-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-white);
}

.calculator-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.calculator-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.range-value {
    font-weight: 600;
    color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.calculator-result {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    display: none;
}

.calculator-result.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.result-breakdown h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.breakdown-total.monthly {
    font-size: 1.5rem;
    border-top: 2px solid var(--primary-color);
    margin-top: var(--spacing-sm);
}

.result-note {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--secondary-light);
    border-radius: var(--border-radius-sm);
    color: var(--text-medium);
    font-size: 0.875rem;
}

.features-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.feature-card:nth-child(even) .feature-content {
    order: -1;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-medium);
    line-height: 1.8;
}

.testimonials-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.case-studies-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-light);
}

.case-studies-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.case-study-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-md);
}

.case-study-card:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.case-study-card:nth-child(even) .case-study-content {
    order: -1;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: var(--spacing-md);
}

.case-study-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.case-study-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text-medium);
}

.case-study-challenge strong {
    color: var(--accent-color);
}

.case-study-solution strong {
    color: var(--secondary-color);
}

.case-study-result strong {
    color: var(--primary-color);
}

.team-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.team-card {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-image-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.team-image-placeholder svg {
    width: 60px;
    height: 60px;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    color: var(--text-medium);
    line-height: 1.6;
}

.trust-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.trust-card {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.trust-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-medium);
    line-height: 1.8;
}

.contact-item a {
    color: var(--primary-color);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--bg-white);
}

.footer-column p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-light);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: hsla(0, 0%, 100%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    color: var(--text-light);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 0%, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: var(--spacing-md);
    animation: slideUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

.scroll-top.show {
    display: flex;
}

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

.scroll-top svg {
    width: 24px;
    height: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: calc(70px + var(--spacing-md));
    }

    .hero-image {
        order: -1;
    }

    .services-grid,
    .testimonials-grid,
    .team-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .case-study-card {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(even) .feature-content,
    .case-study-card:nth-child(even) .case-study-content {
        order: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}