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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

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

/* Header Block */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(135, 206, 235, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__logo-slime {
    position: relative;
    width: 40px;
    height: 40px;
}

.header__logo-text {
    color: #0ea5e9;
    font-size: 2rem;
    font-weight: 700;
}

.header__nav {
    display: flex;
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.header__nav-link:hover {
    color: #0ea5e9;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

.header__nav-link:hover::after {
    width: 100%;
}

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

.header__menu-line {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
}

/* Main */
.main {
    margin-top: 80px;
}

/* Hero Block */
.hero {
    background: linear-gradient(135deg, #87ceeb 0%, #b0e0e6 50%, #e0f6ff 100%);
    color: #1e293b;
    padding: 140px 0 120px 0;
    border-radius: 0 0 50px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero__text {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.hero__mascot {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Button Component */
.button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button--primary {
    background: #fff;
    color: #0ea5e9;
}

.button--primary:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.button--secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.button--secondary:hover {
    background: #fff;
    color: #0ea5e9;
}

/* Slime Component */
.slime--mini {
    width: 100%;
    height: 30px;
    background: linear-gradient(45deg, #87ceeb, #b0e0e6);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: miniSlimeBounce 3s ease-in-out infinite;
    box-shadow: 0 3px 10px rgba(135, 206, 235, 0.3);
}

.slime--mini::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    box-shadow: 10px 0 0 #000;
}

.slime--mini::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 4px;
    border: 1px solid #000;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.slime--large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    animation: slimeBounce 4s ease-in-out infinite;
    opacity: 0.9;
}

.slime__body {
    position: relative;
    width: 100%;
    height: 90px;
    background: linear-gradient(45deg, rgba(135, 206, 235, 0.8), rgba(176, 224, 230, 0.8));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        inset -5px -5px 15px rgba(0, 0, 0, 0.1),
        inset 5px 5px 15px rgba(255, 255, 255, 0.8),
        0 8px 20px rgba(135, 206, 235, 0.3);
    animation: slimeBreathe 3s ease-in-out infinite alternate;
}

.slime__body::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25px;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    box-shadow: 
        30px 0 0 #000,
        3px 2px 0 -6px rgba(255, 255, 255, 0.8),
        33px 2px 0 -6px rgba(255, 255, 255, 0.8);
    animation: slimeEyeMove 4s ease-in-out infinite;
}

.slime__body::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    border: 3px solid rgba(0, 0, 0, 0.7);
    border-top: none;
    border-radius: 0 0 20px 20px;
    animation: slimeSmile 5s ease-in-out infinite;
}

/* Services Block */
.services {
    padding: 100px 0;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 20px;
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

/* Service Card Component */
.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card__icon {
    color: #0ea5e9;
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card__description {
    color: #64748b;
    line-height: 1.7;
}

/* About Block */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 20px;
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about__description {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Stat Item Component */
.stat-item {
    text-align: center;
}

.stat-item__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0ea5e9;
}

.stat-item__label {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Contact Block */
.contact {
    padding: 100px 0;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 20px;
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(135, 206, 235, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Contact Info Item Component */
.contact-info-item__title {
    color: #0ea5e9;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-info-item__text {
    color: #64748b;
    font-size: 1.1rem;
}

/* Form Components */
.form-field {
    margin-bottom: 1.5rem;
}

.form-field__input,
.form-field__textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-field__input:focus,
.form-field__textarea:focus {
    outline: none;
    border-color: #0ea5e9;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer Block */
.footer {
    background: #1e293b;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section-title,
.footer__section-subtitle {
    margin-bottom: 1rem;
    color: #0ea5e9;
}

.footer__list {
    list-style: none;
}

.footer__list-item {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer__copyright,
.footer__icp {
    margin: 0.5rem 0;
}

.footer__icp-link {
    color: #94a3b8;
    text-decoration: none;
}

.footer__icp-link:hover {
    color: #fff;
}

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

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

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

@keyframes slimeBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
    }
}

@keyframes slimeBreathe {
    0% {
        transform: scale(1);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    }
    100% {
        transform: scale(1.05);
        border-radius: 45% 55% 45% 55% / 65% 65% 35% 35%;
    }
}

@keyframes slimeEyeMove {
    0%, 100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-2px);
    }
    40% {
        transform: translateX(1px);
    }
    60% {
        transform: translateX(-1px);
    }
    80% {
        transform: translateX(2px);
    }
}

@keyframes slimeSmile {
    0%, 100% {
        width: 20px;
        height: 10px;
    }
    25% {
        width: 25px;
        height: 12px;
    }
    50% {
        width: 30px;
        height: 15px;
    }
    75% {
        width: 25px;
        height: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header__menu-toggle {
        display: flex;
    }
    
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
        padding: 1rem 0;
    }
    
    .header__nav--active {
        display: block;
    }
    
    .header__nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    
    .header__nav-item {
        border-bottom: 1px solid #e2e8f0;
        padding: 1rem 0;
    }
    
    .header__nav-item:last-child {
        border-bottom: none;
    }
    
    .header__menu-toggle--active .header__menu-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .header__menu-toggle--active .header__menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .header__menu-toggle--active .header__menu-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__text {
        text-align: center;
        max-width: none;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .about__stats {
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container,
    .header__container,
    .hero__container,
    .services__container,
    .about__container,
    .contact__container,
    .footer__container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .slime--large {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .service-card,
    .contact__form-wrapper {
        padding: 1.5rem;
    }
    
    .about__stats {
        flex-direction: column;
        gap: 1rem;
    }
}