:root {
    --honey: #ffb703;
    --honey-deep: #f59f00;
    --amber: #fcbf49;
    --ink: #ffffff;
    --cream: #1a1a1a;
    --white: #000000;
    --gray-light: #2a2a2a;
    --gray-medium: #9ca3af;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 25%, #1f1f1f 50%, #2d2d2d 75%, #1a1a1a 100%);
    background-size: 400% 400%;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    animation: backgroundShift 12s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.skip {
    position: absolute;
    left: -9999px;
    z-index: 1000;
}

.skip:focus {
    left: 16px;
    top: 16px;
    background: var(--gray-light);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--ink);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 25%, #1f1f1f 50%, #2d2d2d 75%, #1a1a1a 100%);
    background-size: 400% 400%;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffb703' fill-opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero {
        background-size: 100% 100%;
        animation: none;
    }
    .hero::before {
        animation: none;
    }
    body {
        animation: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.logo {
    font-weight: 800;
    letter-spacing: -0.5px;
    font-size: 2rem;
    color: var(--honey);
    margin-bottom: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 20px rgba(255, 183, 3, 0.4);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 0 0 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sub {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.5;
    opacity: 0.95;
    animation: slideInRight 1s ease-out 0.4s both;
}

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

.form {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.form input {
    flex: 1;
    min-width: 280px;
    padding: 18px 24px;
    border-radius: 16px;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    color: var(--ink);
}

.form input:focus {
    outline: none;
    border-color: var(--honey);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 183, 3, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.form input::placeholder {
    color: var(--gray-medium);
    transition: opacity 0.3s ease;
}

.form input:focus::placeholder {
    opacity: 0.7;
}

.form button {
    padding: 18px 32px;
    border-radius: 16px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--honey);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

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

.form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 183, 3, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.form button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: var(--honey-deep);
}

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

.form button:active {
    transform: translateY(-1px) scale(1.02);
}

.form button:active::after {
    width: 300px;
    height: 300px;
}

.form button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.note {
    display: block;
    margin-top: 12px;
    opacity: 0.8;
    font-size: 0.875rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.8s both;
}

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

.success {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 24px 32px;
    background: rgba(255, 183, 3, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--honey);
    margin-bottom: 48px;
    animation: bounceIn 0.6s ease-out;
    border: 1px solid rgba(255, 183, 3, 0.2);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 1s both;
}

.trust li {
    background: rgba(255, 183, 3, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 183, 3, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: var(--ink);
}

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

.trust li:hover {
    background: rgba(255, 183, 3, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--honey);
}

.trust li:hover::before {
    left: 100%;
}

.trust li:nth-child(1) {
    animation: slideInUp 0.8s ease-out 1.2s both;
}
.trust li:nth-child(2) {
    animation: slideInUp 0.8s ease-out 1.4s both;
}
.trust li:nth-child(3) {
    animation: slideInUp 0.8s ease-out 1.6s both;
}

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

.footer {
    padding: 48px 24px;
    text-align: center;
    background: var(--gray-light);
    color: var(--gray-medium);
    border-top: 1px solid rgba(255, 183, 3, 0.1);
    animation: fadeIn 1s ease-out 1.8s both;
}

.footer a {
    color: var(--honey);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--honey);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: var(--honey-deep);
}

.footer a:hover::after {
    width: 100%;
}

.hidden {
    display: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .form {
        flex-direction: column;
        gap: 12px;
    }

    .form input {
        min-width: auto;
        width: 100%;
    }

    .trust {
        gap: 12px;
    }

    .trust li {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .sub {
        font-size: 1.125rem;
    }

    .form button {
        padding: 16px 24px;
    }

    .logo {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }
}
