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

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 800px 600px at 20% 20%, rgba(240, 242, 250, 1) 0%, rgba(245, 245, 250, 0.3) 40%, transparent 70%),
        radial-gradient(ellipse 700px 700px at 80% 80%, rgba(235, 235, 245, 1) 0%, rgba(240, 240, 248, 0.3) 40%, transparent 70%),
        linear-gradient(135deg, #e8e8ee 0%, #ececf0 50%, #f5f5f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.02) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Glass card with fade-in animation */
.card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 32px;
    padding: 4rem 3.5rem;
    max-width: 720px;
    width: 100%;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0),
        0 1px 2px rgba(0, 0, 0, 0);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInCard 2.5s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
    position: relative;
}

/* Fade in from bottom animation */
@keyframes fadeInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card fade in with shadow */
@keyframes fadeInCard {
    0% {
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0),
            0 1px 2px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.02),
            0 1px 2px rgba(0, 0, 0, 0.01);
    }
}

/* Logo with subtle animations */
.logo {
    max-width: 480px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInFromBottom 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

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

/* Company info container */
.company-info {
    text-align: center;
    width: 100%;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

/* Company name with gradient hover effect */
.company-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.company-name:hover {
    color: #2a2a2a;
    letter-spacing: 0em;
}

/* Capital info */
.company-capital {
    font-size: 1.05rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

/* Elegant divider */
.divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b0b0b8, transparent);
    margin: 0 auto 1.5rem auto;
    animation: fadeInFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards, expandWidth 0.8s ease-out 0.8s forwards;
    width: 0;
    opacity: 0;
}

@keyframes expandWidth {
    to {
        width: 60px;
    }
}

/* Company details */
.company-details {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.9;
    color: #888888;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    animation: fadeInFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.company-details:nth-child(2) {
    animation-delay: 1.2s;
}

.company-details:nth-child(3) {
    animation-delay: 1.4s;
}

.company-details:hover {
    color: #4a4a4a;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        background: #ffffff;
    }

    .card {
        padding: 3rem 2.5rem;
        border-radius: 28px;
    }

    .logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }

    .company-name {
        font-size: 1.65rem;
    }

    .company-capital {
        font-size: 0.95rem;
    }

    .company-details {
        font-size: 0.88rem;
    }

    .contact-step {
        border: 1px solid #d0d0d0 !important;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.04),
            0 1px 2px rgba(0, 0, 0, 0.02) !important;
    }

    #step-confirm {
        border: 1px solid #e0e0e0 !important;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .card {
        padding: 2.5rem 2rem;
        border-radius: 24px;
    }

    .logo {
        max-width: 220px;
        margin-bottom: 1.75rem;
    }

    .company-name {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .company-capital {
        font-size: 0.88rem;
        margin-bottom: 1.25rem;
    }

    .company-details {
        font-size: 0.82rem;
        line-height: 1.75;
    }

    .divider {
        margin: 1.25rem auto;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   CONTACT COMPONENT
   ======================================== */

.contact-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: fadeIn 1s ease-out 2.5s forwards;
    opacity: 0;
}

.contact-container {
    position: relative;
    min-width: 320px;
}

.contact-step {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 24px;
    padding: 1rem 1.25rem;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.02),
        0 1px 2px rgba(0, 0, 0, 0.01);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-step.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.contact-step.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.contact-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #2a2a2a;
    outline: none;
    padding: 0.5rem 0;
}

.contact-input::placeholder {
    color: #999;
    font-weight: 300;
}

.contact-textarea {
    resize: none;
    line-height: 1.5;
    min-height: 60px;
}

.contact-btn {
    border: none;
    background: #2a2a2a;
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.contact-btn:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.contact-btn:active {
    transform: scale(0.95);
}

.contact-btn.contact-send {
    border-radius: 20px;
    width: auto;
    padding: 0 1.25rem;
    height: 36px;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

#step-confirm {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-confirm-text {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #4a4a4a;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
    }

    .contact-container {
        min-width: auto;
        width: 100%;
    }

    .contact-step {
        padding: 1rem;
    }

    .contact-input {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .contact-step {
        padding: 0.875rem 1rem;
    }

    .contact-input {
        font-size: 0.875rem;
    }

    .contact-btn {
        width: 32px;
        height: 32px;
    }

    .contact-btn.contact-send {
        height: 32px;
        padding: 0 1rem;
        font-size: 0.85rem;
    }
}
