/**
 * Hero Subscription Page Styles
 * Styles for hero-style subscription page
 */

/* === HERO SECTION === */
.hero-subscription {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* === HERO TEXT SECTION === */
.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #171717;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #525252;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.subtitle-text {
    color: #737373;
}

.subtitle-highlight {
    color: #6366f1;
    font-weight: 600;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO FORM === */
.hero-form-wrapper {
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.6s forwards;
}

.hero-subscription-form {
    background: none;
    padding: 0;
}

.hero-form-group {
    margin-bottom: 0;
}

.hero-input-wrapper {
    display: flex;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.hero-input-wrapper:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hero-input-wrapper.focused {
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.hero-email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 24px;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
    border-radius: 12px;
    color: #171717;
}

.hero-email-input::placeholder {
    color: #a3a3a3;
    font-weight: 400;
}

.hero-submit-btn {
    background: #171717;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.hero-submit-btn:hover:not(:disabled) {
    background: #404040;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 23, 23, 0.25);
}

.hero-submit-btn:active {
    transform: translateY(0);
}

.hero-submit-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-submit-btn.loading {
    background: #6366f1;
}

.btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    color: currentColor;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === TRUST INDICATORS === */
.hero-info {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

.trust-indicators {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #737373;
    font-weight: 500;
}

/* === HERO VISUAL === */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.4s forwards;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* === SVG MOCKUP === */
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mockup-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.phone {
    transition: all 0.3s ease;
}

.phone:hover {
    transform: scale(1.02) !important;
}

/* === FORM MESSAGES === */
.hero-form-messages {
    margin-top: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero-form-messages.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-message {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero-message.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-message-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.hero-message-error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.hero-message-info {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* === FEATURES SECTION === */
.subscription-features {
    padding: 100px 0;
    background: #ffffff;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.features-header p {
    font-size: 18px;
    color: #737373;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.feature-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #171717;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-description {
    color: #737373;
    line-height: 1.6;
}

/* === SOCIAL PROOF === */
.social-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.testimonial blockquote {
    font-size: 24px;
    font-weight: 500;
    color: #171717;
    line-height: 1.4;
    margin-bottom: 24px;
    quotes: """ """ "'" "'";
    font-style: italic;
}

.testimonial blockquote::before {
    content: open-quote;
    color: #6366f1;
    font-size: 1.5em;
}

.testimonial blockquote::after {
    content: close-quote;
    color: #6366f1;
    font-size: 1.5em;
}

.testimonial cite {
    display: block;
    font-style: normal;
}

.testimonial cite strong {
    display: block;
    color: #171717;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial cite span {
    color: #737373;
    font-size: 14px;
}

.stats {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-item span {
    color: #737373;
    font-size: 14px;
    font-weight: 500;
}

/* === ANIMATIONS === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subscription.animate-in .hero-title,
.hero-subscription.animate-in .hero-subtitle,
.hero-subscription.animate-in .hero-form-wrapper,
.hero-subscription.animate-in .hero-info,
.hero-subscription.animate-in .hero-visual {
    animation-play-state: running;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content {
        gap: 60px;
    }
    
    .hero-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 32px;
    }
    
    .social-proof {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-subscription {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: none;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-input-wrapper {
        flex-direction: column;
        padding: 8px;
        border-radius: 8px;
    }
    
    .hero-email-input {
        padding: 8px 20px;
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .hero-submit-btn {
        padding: 8px 24px;
        border-radius: 8px;
        width: 100%;
    }
    
    .trust-indicators {
        justify-content: center;
        gap: 16px;
    }
    
    .trust-item {
        font-size: 13px;
    }
    
    .subscription-features {
        padding: 60px 0;
    }
    
    .features-header {
        margin-bottom: 60px;
    }
    
    .features-header h2 {
        font-size: 32px;
    }
    
    .features-header p {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .feature-item {
        padding: 32px 20px;
    }
    
    .social-proof {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
        text-align: center;
    }
    
    .testimonial blockquote {
        font-size: 20px;
    }
    
    .stats {
        gap: 24px;
    }
    
    .stat-item strong {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
        
    .hero-content {
        gap: 32px;
    }
    
    .hero-title {
        font-size: clamp(24px, 7vw, 32px);
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .hero-form-wrapper {
        margin-bottom: 24px;
    }
    
    .hero-email-input {
        padding: 8px 16px;
        font-size: 15px;
    }
    
    .hero-submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .features-header h2 {
        font-size: 28px;
    }
    
    .feature-item {
        padding: 24px 16px;
    }
    
    .feature-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .social-proof {
        padding: 32px 20px;
    }
    
    .testimonial blockquote {
        font-size: 18px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* === ADDITIONAL CONTENT === */
.subscription-additional-content {
    padding: 80px 0;
    background: #ffffff;
}

.subscription-additional-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.subscription-additional-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.subscription-additional-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #525252;
    margin-bottom: 20px;
}

/* === SHORTCODE STYLES === */
.shortcode-hero-form {
    margin: 40px 0;
    padding: 40px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.shortcode-style-compact {
    padding: 24px;
    margin: 24px 0;
}

.shortcode-style-minimal {
    background: transparent;
    border: none;
    padding: 20px 0;
}

.shortcode-hero-title {
    font-size: 24px;
    font-weight: 600;
    color: #171717;
    margin-bottom: 12px;
    text-align: center;
}

.shortcode-hero-subtitle {
    color: #737373;
    text-align: center;
    margin-bottom: 24px;
}

.shortcode-style-compact .shortcode-hero-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.shortcode-style-compact .shortcode-hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
}

/* === DARK MODE SUPPORT (optional) === */
@media (prefers-color-scheme: dark) {
    
    
    .hero-title {
        color: #ffffff;
    }
    
    .hero-subtitle {
        color: #d1d5db;
    }
    
    .subtitle-text {
        color: #9ca3af;
    }
    
    .hero-email-input {
        color: #ffffff;
    }
    
    .hero-email-input::placeholder {
        color: #6b7280;
    }
}