/* ==========================================================================
   LoricaVallo Signup Landing Page Styles
   ========================================================================== */

:root {
    --color-primary: #0f172a;
    --color-primary-dark: #020617;
    --color-primary-light: #1e293b;
    --color-gold: #c5a059;
    --color-gold-dark: #a68845;
    --color-gold-light: #d4b76a;
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    --color-error: #ef4444;
    --color-success: #10b981;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
}

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

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
    min-height: 100vh;
    color: var(--color-white);
    overflow-x: hidden;
}

/* Navigation */
.signup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-white);
}

.logo-icon {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-primary);
    font-weight: 800;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
}

.nav-link {
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link strong {
    color: var(--color-gold);
}

/* Main Layout */
.signup-main {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: 100vh;
    padding-top: 72px;
}

/* Pain Point Slider Section */
.pain-slider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.pain-slider-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.slider-track {
    position: relative;
    min-height: 450px;
}

/* Individual Slides */
.slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.slide-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slide-time {
    display: inline-block;
    background: rgba(197, 160, 89, 0.2);
    color: var(--color-gold);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
}

.slide-headline {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
}

.slide-description {
    font-size: 16px;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.slide-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ef4444;
}

.stat-text {
    font-size: 14px;
    color: var(--color-gray-300);
}

.slide-solution {
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--color-success);
    border-radius: var(--radius-md);
}

.solution-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-success);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.solution-text {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.5;
}

/* Slide Visuals */
.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notification Stack Visual */
.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.notif {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.notif:nth-child(1) { animation-delay: 0.1s; }
.notif:nth-child(2) { animation-delay: 0.2s; }
.notif:nth-child(3) { animation-delay: 0.3s; }
.notif:nth-child(4) { animation-delay: 0.4s; }

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

.notif-icon {
    font-size: 16px;
}

/* Time Theft List */
.time-theft-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theft-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    font-size: 13px;
}

.theft-time {
    color: #ef4444;
    font-weight: 700;
}

/* Battery Drain Visual */
.battery-drain {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.battery-level {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-gray-400);
}

.battery-level .bar {
    flex: 1;
    height: 24px;
    background: var(--color-gray-800);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.battery-level .bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
}

.battery-level .bar.full::after { width: 100%; background: var(--color-success); }
.battery-level .bar.medium::after { width: 65%; background: #fbbf24; }
.battery-level .bar.low::after { width: 25%; background: #f97316; }
.battery-level .bar.critical::after { width: 8%; background: #ef4444; }

/* Phone Pings Visual */
.phone-pings {
    display: flex;
    gap: 20px;
    font-size: 32px;
}

.ping {
    animation: ping 1.5s ease-in-out infinite;
}

.ping.delay-1 { animation-delay: 0.3s; }
.ping.delay-2 { animation-delay: 0.6s; }
.ping.delay-3 { animation-delay: 0.9s; }
.ping.delay-4 { animation-delay: 1.2s; }

@keyframes ping {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Task Chaos Visual */
.task-chaos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.task {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 12px;
    animation: float 3s ease-in-out infinite;
}

.task.t1 { animation-delay: 0s; }
.task.t2 { animation-delay: 0.5s; }
.task.t3 { animation-delay: 1s; }
.task.t4 { animation-delay: 1.5s; }
.task.t5 { animation-delay: 2s; }

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

/* Calendar Hell Visual */
.calendar-hell {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meeting-block {
    background: rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.meeting-block.long {
    padding: 20px 16px;
}

/* Inbox Flood Visual */
.inbox-flood {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.email-line {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--color-gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-line.unread {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-weight: 500;
}

/* Interruption Visual */
.interruption-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.focus-block {
    background: rgba(16, 185, 129, 0.2);
    border-left: 3px solid var(--color-success);
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-success);
}

.focus-block.small {
    padding: 10px 16px;
}

.interrupt {
    background: rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #ef4444;
    text-align: center;
}

.recovery {
    font-size: 11px;
    color: var(--color-gray-500);
    text-align: center;
    padding: 4px 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dot.active {
    background: var(--color-gold);
    width: 30px;
    border-radius: 10px;
}

/* Progress Bar */
.slider-progress {
    max-width: 400px;
    margin: 16px auto 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-gold);
    border-radius: 10px;
    transition: width 0.1s linear;
}

/* Signup Form Section */
.signup-form-section {
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-container {
    width: 100%;
    max-width: 320px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--color-gray-500);
    font-size: 14px;
}

/* Form Styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-gray-900);
    transition: all 0.2s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

.form-group input::placeholder {
    color: var(--color-gray-400);
}

.form-error {
    font-size: 12px;
    color: var(--color-error);
    margin-top: 6px;
    display: none;
}

.form-error.visible {
    display: block;
}

.global-error {
    text-align: center;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
}

/* Signup Button */
.signup-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
}

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

.signup-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-sub {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.8;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 24px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.success-message h2 {
    font-size: 20px;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.success-message p {
    color: var(--color-gray-600);
    font-size: 14px;
    margin-bottom: 4px;
}

.success-message .hint {
    color: var(--color-gray-400);
    font-size: 13px;
}

.resend-button {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-600);
    background: var(--color-gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.resend-button:hover {
    background: var(--color-gray-200);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-gray-500);
}

.badge-icon {
    font-size: 14px;
}

/* Social Proof */
.social-proof {
    margin-top: 32px;
    padding: 20px;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
}

.social-proof p {
    font-size: 14px;
    color: var(--color-gray-700);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 8px;
}

.proof-author {
    font-size: 12px;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* Footer */
.signup-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 40px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-gray-500);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .signup-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .pain-slider-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .slide {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .slider-track {
        min-height: auto;
    }

    .slide-visual {
        display: none;
    }

    .signup-form-section {
        padding: 40px 20px 100px;
    }
}

@media (max-width: 640px) {
    .signup-nav {
        padding: 16px 20px;
    }

    .logo-text {
        display: none;
    }

    .nav-link {
        font-size: 12px;
    }

    .slide-headline {
        font-size: 22px;
    }

    .stat-number {
        font-size: 24px;
    }

    .signup-footer {
        padding: 12px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
