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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

.container {
    position: relative;
    min-height: 100vh;
    background-image: url('assets/safari_protocol.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .container {
        background-attachment: scroll;
    }
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 64px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    gap: 44px;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

nav a:hover {
    color: white;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

main {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding: 0 64px 80px;
}

.hero-content {
    text-align: center;
    max-width: 960px;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.subscribers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-group {
    display: flex;
    margin-left: -8px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid white;
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

h1 {
    font-size: 76px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.subtitle {
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 48px;
    font-weight: 300;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.email-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 600px;
    margin: 0 auto 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.email-form input {
    flex: 1;
    padding: 20px 32px;
    font-size: 17px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-radius: 12px 0 0 12px;
    outline: none;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: none;
    -webkit-appearance: none;
    appearance: none;
}

.email-form input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.email-form input:focus {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
}

.email-form button {
    padding: 20px 42px;
    font-size: 17px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.email-form button:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: scale(1.02);
}

.email-form button:active {
    transform: scale(0.98);
}

@media (max-width: 1024px) {
    header {
        padding: 24px 40px;
    }

    nav {
        gap: 32px;
    }

    h1 {
        font-size: 58px;
    }

    .subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
        align-items: flex-start;
    }

    .logo {
        font-size: 18px;
    }

    .logo svg {
        width: 28px;
        height: 28px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        font-size: 14px;
        width: 100%;
    }

    nav a {
        font-size: 14px;
    }

    .social-icons {
        position: absolute;
        top: 16px;
        right: 20px;
        gap: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    main {
        padding: 20px 20px 40px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .subscribers {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .avatar {
        width: 30px;
        height: 30px;
        border: 2px solid white;
        margin-left: -8px;
    }

    h1 {
        font-size: 36px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .email-form {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .email-form input,
    .email-form button {
        width: 100%;
        border-radius: 12px;
        border: 2px solid rgba(255, 255, 255, 0.4);
        padding: 16px 24px;
        font-size: 16px;
    }

    .email-form button {
        min-height: 56px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 16px;
    }

    .logo {
        font-size: 16px;
    }

    nav {
        gap: 16px;
    }

    nav a {
        font-size: 13px;
    }

    main {
        padding: 16px 16px 32px;
    }

    h1 {
        font-size: 28px;
        letter-spacing: -0.02em;
    }

    .subtitle {
        font-size: 15px;
    }

    .subscribers {
        font-size: 12px;
        margin-bottom: 28px;
    }

    .avatar {
        width: 26px;
        height: 26px;
    }

    .email-form input,
    .email-form button {
        padding: 14px 20px;
        font-size: 15px;
    }
}

