/* LeteSheet Brand Styles */
:root {
    /* Brand Colors */
    --electric-purple: #7A3EFF;
    --aqua-blue: #22D4F2;
    --neon-coral: #FF5E7E;
    --charcoal: #141414;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #404040;
    --white: #FFFFFF;
    
    /* Typography */
    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--charcoal);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(122, 62, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 212, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 94, 126, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    padding: var(--spacing-md) 0;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.logo {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 20px rgba(122, 62, 255, 0.5));
}

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

.logo-text {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--electric-purple), var(--aqua-blue), var(--neon-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-xl);
    animation: fadeInUp 1s ease-out;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.headline {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--electric-purple), var(--aqua-blue), var(--neon-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

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

.subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--aqua-blue);
    box-shadow: 0 10px 30px rgba(34, 212, 242, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: var(--spacing-lg);
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-headline {
    font-family: var(--font-headline);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

/* Email Form */
.email-form {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.input-group {
    display: flex;
    gap: var(--spacing-sm);
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--aqua-blue);
    box-shadow: 0 0 0 3px rgba(34, 212, 242, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: var(--font-headline);
    font-weight: 600;
    background: linear-gradient(135deg, var(--electric-purple), var(--aqua-blue));
    border: none;
    border-radius: 12px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 62, 255, 0.4);
}

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

.btn-secondary {
    background: linear-gradient(135deg, var(--medium-gray), var(--light-gray));
}

.btn-secondary:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Privacy Text */
.privacy-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-md);
}

.unsubscribe-link {
    color: var(--aqua-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.unsubscribe-link:hover {
    color: var(--neon-coral);
    text-decoration: underline;
}

/* Thank You Page */
.thank-you-content,
.unsubscribe-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--electric-purple), var(--aqua-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto var(--spacing-lg);
    animation: scaleIn 0.5s ease-out;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: shake 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.thank-you-message,
.unsubscribe-message,
.unsubscribe-intro {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.thank-you-submessage,
.unsubscribe-submessage {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.error-message {
    font-size: 1.25rem;
    color: var(--neon-coral);
    margin-bottom: var(--spacing-sm);
}

.error-submessage {
    color: rgba(255, 255, 255, 0.7);
}

/* Next Steps */
.next-steps {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.next-steps h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.steps-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.steps-list li {
    padding: var(--spacing-sm);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Action Buttons */
.action-buttons {
    margin-top: var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-family: var(--font-headline);
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-purple), var(--aqua-blue));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 62, 255, 0.4);
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xl);
}

.tagline {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .cta-headline {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }
    
    .container {
        padding: var(--spacing-sm);
    }
    
    .cta-section {
        padding: var(--spacing-md);
    }
}
