/* Apple-style design system */
:root {
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-gray-50: #f5f5f7;
    --apple-gray-100: #e8e8ed;
    --apple-gray-200: #d2d2d7;
    --apple-gray-300: #86868b;
    --apple-gray-600: #1d1d1f;
    --apple-white: #ffffff;
    --border-radius-sm: 12px;
    --border-radius-lg: 18px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--apple-white);
    color: var(--apple-gray-600);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 113, 227, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 168, 255, 0.04) 0%, transparent 50%);
    animation: subtleMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes subtleMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5%, -5%);
    }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--apple-gray-50);
    position: relative;
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(0, 113, 227, 0.02) 100%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(0, 113, 227, 0.01) 80px,
            rgba(0, 113, 227, 0.01) 81px
        );
    pointer-events: none;
    z-index: 0;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.language-select {
    background-color: var(--apple-white);
    border: 1px solid var(--apple-gray-200);
    color: var(--apple-gray-600);
    padding: 8px 32px 8px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231d1d1f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s ease;
}

.language-select:hover {
    border-color: var(--apple-gray-300);
}

.language-select:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

/* Content Card */
.content-card {
    background-color: var(--apple-white);
    border-radius: var(--border-radius-lg);
    padding: 60px 48px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

/* Icon */
.icon-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.icon-wrapper {
    background: linear-gradient(135deg, #0071e3 0%, #00a8ff 100%);
    padding: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.icon {
    width: 48px;
    height: 48px;
    color: var(--apple-white);
}

/* Typography */
.title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--apple-gray-600);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    color: var(--apple-gray-300);
    margin-bottom: 40px;
    letter-spacing: -0.022em;
}

/* Email Section */
.email-section {
    background-color: var(--apple-gray-50);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--apple-gray-100);
}

.contact-label {
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--apple-gray-300);
    margin-bottom: 8px;
}

.email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.email-icon {
    width: 20px;
    height: 20px;
    color: var(--apple-gray-300);
    flex-shrink: 0;
}

.email-address {
    font-size: 19px;
    font-weight: 500;
    color: var(--apple-gray-600);
    user-select: all;
    letter-spacing: -0.022em;
}

/* Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--apple-blue);
    color: var(--apple-white);
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    padding: 16px 32px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.button-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    margin-top: 32px;
    font-size: 12px;
    line-height: 1.33337;
    color: var(--apple-gray-300);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-card {
        padding: 48px 32px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 15px;
    }

    .email-address {
        font-size: 17px;
    }

    .language-selector {
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 40px 24px;
    }

    .title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }

    .email-address {
        font-size: 15px;
    }

    .cta-button {
        font-size: 15px;
        padding: 14px 24px;
    }
}
