/* WithU Landing Page - Updated Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #5F4B8B;
    --secondary: #A498BD;
    --tertiary: #E2DDEC;
    --bg-gradient-start: #E2DDEC;
    --bg-gradient-end: #5F4B8B;
    
    /* Text Colors */
    --text-primary: #2B2B2B;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.8);
    
    /* Background */
    --bg-white: #FFFFFF;
    
    /* Spacing */
    --margin-mobile: 20px;
    --margin-top: 60px;
}

/* Typography - Using SeoulAlrim TTF with Pretendard fallback */
@font-face {
    font-family: 'SeoulAlrim TTF';
    src: local('SeoulAlrim TTF'), local('서울알림 TTF');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SeoulAlrim TTF', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
}

/* Hero Section */
.hero {
    width: 100%;
    min-height: 844px;
    background: linear-gradient(180deg, #E2DDEC 12.5%, #5F4B8B 100%);
    padding-top: 50px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
}

/* Hero Header */
.hero-header {
    margin-bottom: 30px;
    text-align: left;
}

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

/* Eyebrow - Tag Style */
.eyebrow {
    display: inline-flex;
    height: 36px;
    padding: 8px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background: #A498BD;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Headlines */
.headline {
    color: var(--text-primary);
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: 140%;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    text-align: left;
}

.subheadline {
    color: var(--text-primary);
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.3px;
    margin-bottom: 50px;
    text-align: left;
}

/* Benefit Highlight Section */
.benefit-highlight {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-3d {
    width: 280px;
    height: 280px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0px 10px 30px rgba(123, 104, 166, 0.3));
    z-index: 1;
}

.coming-soon-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.coming-soon {
    color: var(--text-white);
    text-align: center;
    text-shadow: 0px 4px 20px rgba(123, 104, 166, 0.5);
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.benefit-text {
    color: var(--text-white);
    text-align: center;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.5px;
}

/* Form Elements */
.hero-cta {
    margin-top: auto;
    padding-top: 40px;
}

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

.email-input {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 16px;
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.email-input:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.2);
}

/* CTA Button */
.cta-button {
    width: 100%;
    height: 56px;
    padding: 16px;
    border-radius: 28px;
    border: none;
    background: var(--text-white);
    color: var(--primary);
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 104, 166, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* Privacy Notice */
.privacy-notice {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.3px;
    margin-top: 20px;
}

/* Problem Section */
.problem-section {
    background: var(--bg-white);
    padding: var(--margin-top) 0;
}

.problem-section h2 {
    color: var(--text-primary);
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 38.4px */
    letter-spacing: -1.2px;
    margin-bottom: 30px;
}

/* Pain Points */
.pain-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pain-point {
    display: flex;
    width: 100%;
    min-height: 99px;
    padding: 10px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: var(--bg-white);
    border: 1px solid #E2DDEC;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pain-point:hover {
    border-color: #A498BD;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pain-point .check-icon {
    display: none;
}

.pain-point p {
    color: var(--text-primary);
    text-align: center;
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 22.4px */
    letter-spacing: -0.7px;
    width: 100%;
}

/* Solution Section */
.solution-section {
    background: var(--bg-white);
    padding: var(--margin-top) 0;
}

.solution-section h2 {
    color: var(--text-primary);
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 38.4px */
    letter-spacing: -1.2px;
    margin-bottom: 30px;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-card {
    background: var(--bg-white);
    border: 1px solid #E2DDEC;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #A498BD;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    color: var(--text-primary);
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 25.6px */
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.benefit-card .benefit-description,
.benefit-card .benefit-result {
    color: var(--text-primary);
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 22.4px */
    letter-spacing: -0.7px;
}

.benefit-card .benefit-result {
    margin-top: 5px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.mobile-sticky-cta.show {
    transform: translateY(0);
}

.mobile-sticky-cta .container {
    padding: 0 var(--margin-mobile);
    max-width: 390px;
    width: 100%;
}

.mobile-sticky-cta .cta-button {
    width: 100%;
}

/* Remove all animations */
@keyframes none {
    from, to { opacity: 1; }
}

.hero-visual,
.visual-placeholder,
.check-icon,
.benefit-icon,
.counter-number,
.countdown,
.testimonial {
    animation: none !important;
}

/* Hide unnecessary elements */
.hero-visual,
.trust-text {
    display: none;
}

/* Social Proof Section Updates */
.social-proof {
    background: var(--bg-white);
    padding: var(--margin-top) 0;
}

/* Final CTA Section Updates */
.final-cta {
    background: #A498BD;
    border-radius: 20px 20px 0px 0px;
    padding: var(--margin-top) 0;
    text-align: center;
    margin-top: 40px; /* 위 섹션과의 간격 */
}

.final-cta h2 {
    color: var(--text-white);
    font-feature-settings: 'calt' off;
    font-family: "SeoulAlrim TTF", 'Pretendard', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: -1.2px;
    margin-bottom: 30px;
    text-align: center;
}

.final-cta .highlight {
    color: var(--text-white);
    font-weight: 700;
}

.final-form {
    max-width: 330px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.final-form .email-input {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.final-form .email-input::placeholder {
    color: rgba(43, 43, 43, 0.6);
}

.final-form .email-input:focus {
    outline: none;
    border-color: var(--text-white);
    background: var(--text-white);
}

.final-form .cta-button {
    width: 100%;
    height: 56px;
    padding: 16px;
    border-radius: 28px;
    border: none;
    background: var(--text-white);
    color: var(--primary);
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.final-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Final Benefits List */
.final-benefits {
    max-width: 400px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.final-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-white);
}

.final-benefit .check {
    font-size: 18px;
    color: var(--text-white);
}

/* Urgency Timer */
.urgency-timer {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.timer-label {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    min-width: 70px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'SeoulAlrim TTF', monospace;
}

.time-label {
    display: block;
    font-size: 12px;
    color: var(--primary);
    margin-top: 5px;
    font-weight: 600;
}

.countdown-message {
    font-size: 18px;
    color: var(--text-white);
    font-weight: 700;
}

/* Footer */
footer {
    background: #5F4B8B;
    padding: 20px 0;
    color: var(--text-white);
    margin-top: -1px; /* final-cta와 매끄럽게 연결 */
}

footer a {
    color: var(--text-white);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .coming-soon {
        font-size: 32px;
    }
}

/* Error states */
.email-input.error {
    border-color: #EF4444;
}

.error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 5px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Pulse animation for counter */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.6s ease;
}