:root {
    --aws-orange: #FF9900;
    --aws-orange-dark: #EC7211;
    --aws-squid-ink: #232F3E;
    --aws-dark-blue: #1A2433;
    --aws-light-gray: #F7F8FA;
    --text-primary: #16191F;
    --text-secondary: #545B64;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--aws-squid-ink);
    color: white;
    overflow-x: hidden;
}

/* Animated Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 153, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 153, 0, 0.08) 0%, transparent 40%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* Floating clouds */
.cloud {
    position: absolute;
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

.cloud:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 300px;
    animation-delay: 0s;
}

.cloud:nth-child(2) {
    top: 60%;
    right: 10%;
    width: 250px;
    animation-delay: -5s;
}

.cloud:nth-child(3) {
    bottom: 20%;
    left: 30%;
    width: 200px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(0) translateX(20px); }
    75% { transform: translateY(20px) translateX(10px); }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

/* Logo */
.logo {
    animation: fadeInDown 1s ease-out;
}

.logo svg {
    height: 48px;
    width: auto;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Content */
.content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.badge {
    display: inline-block;
    background: rgba(255, 153, 0, 0.2);
    border: 1px solid rgba(255, 153, 0, 0.3);
    color: var(--aws-orange);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h1 span {
    background: linear-gradient(135deg, var(--aws-orange), #FFB84D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Newsletter Form */
.newsletter-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.newsletter-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-form p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: var(--aws-orange);
    background: rgba(255, 153, 0, 0.05);
}

.btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--aws-orange), var(--aws-orange-dark));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.form-note svg {
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Success Message (hidden by default) */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #2ECC71;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: rgba(255, 255, 255, 0.6);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 153, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--aws-orange);
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Social Links */
.social-links {
    margin-top: 4rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aws-orange);
    border-color: var(--aws-orange);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1.1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form {
        padding: 1.5rem;
    }
}

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

    .header {
        padding: 1rem;
    }

    .logo svg {
        height: 40px;
    }
}
