@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #05070a;
    --surface-color: rgba(15, 23, 42, 0.5);
    --primary-color: #00f2fe;
    --primary-alt: #4facfe;
    --primary-glow: rgba(0, 242, 254, 0.4);
    --accent-color: #ff1e56;
    --accent-glow: rgba(255, 30, 86, 0.4);
    --success-color: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(255, 30, 86, 0.03) 0%, transparent 40%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-main);
}

/* Phone Mockup Frame */
.phone-frame {
    width: 375px;
    height: 812px;
    background: #0b0f19;
    background-image: radial-gradient(circle at 50% 0%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 50% 100%, rgba(255, 30, 86, 0.05) 0%, transparent 50%);
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 10px #1e293b, inset 0 0 20px rgba(0,242,254,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
}

/* Fake Status Bar */
.status-bar {
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
}

/* Main Content Area */
.app-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

/* Scrollbar Customization */
.app-content::-webkit-scrollbar {
    width: 6px;
}
.app-content::-webkit-scrollbar-track {
    background: transparent;
}
.app-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

header {
    margin-bottom: 32px;
    animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

h1 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

p.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
}

/* Screens */
.screen {
    display: none;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.screen.active {
    display: block;
}

/* Glassmorphism Cards */
.card {
    background: var(--surface-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}

.card:hover::before {
    left: 150%;
}

.card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 15px 30px -10px var(--primary-glow);
}

.card.danger {
    border-left: 4px solid var(--accent-color);
}

.card.danger:hover {
    background: rgba(255, 30, 86, 0.05);
    border-color: rgba(255, 30, 86, 0.3);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 15px 30px -10px var(--accent-glow);
}

.card-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    color: #ffffff;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
    letter-spacing: 0.2px;
}

input,
textarea,
select {
    width: 100%;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

select option {
    background: #0f172a;
    color: white;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15), inset 0 2px 4px rgba(0,0,0,0.1);
    background: rgba(15, 23, 42, 0.6);
}

/* Operator Selector */
.operator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.operator-btn {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 16px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.operator-btn.selected {
    color: #05070a;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-alt));
    border-color: transparent;
    box-shadow: 0 8px 20px -5px var(--primary-glow);
    transform: translateY(-2px);
}

.operator-btn:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

/* Interaction Group */
.chk-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.chk-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    padding: 0;
    accent-color: var(--primary-color);
}

/* Action Plan Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
    margin-bottom: 32px;
    margin-top: 16px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 16px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
}

.step {
    position: relative;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.step.completed {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.step-checkbox {
    position: absolute;
    left: -28px;
    top: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    box-shadow: 0 0 0 4px var(--bg-color);
}

.step.completed .step-checkbox {
    background: var(--success-color);
    border-color: var(--success-color);
    box-shadow: 0 0 0 4px var(--bg-color), 0 0 15px rgba(16, 185, 129, 0.4);
}

.step-checkbox svg {
    opacity: 0;
    transform: scale(0.5);
    color: white;
    width: 14px;
    height: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step.completed .step-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #f8fafc;
    font-weight: 700;
}

.step.completed .step-content h3 {
    text-decoration: line-through;
    color: var(--text-muted);
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Teleprompter box */
.teleprompter {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--primary-color);
    padding: 16px;
    border-radius: 0 12px 12px 0;
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 16px;
    font-style: italic;
    line-height: 1.5;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* Copyable Text Box */
.copy-box {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.copy-box textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    padding: 0;
    min-height: 90px;
    box-shadow: none;
}

.copy-box textarea:focus {
    box-shadow: none;
}

.btn-copy {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.btn-copy:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* Buttons (Premium Glass) */
.btn {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.15));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #00f2fe;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.3), rgba(79, 172, 254, 0.3));
    box-shadow: 0 8px 25px var(--primary-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-alt));
    color: #000;
    border: none;
}
.btn.primary:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #000;
}

.btn.outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    box-shadow: none;
    margin-top: 16px;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.4);
}

.btn.danger {
    background: linear-gradient(135deg, rgba(255, 30, 86, 0.15), rgba(225, 29, 72, 0.15));
    border-color: rgba(255, 30, 86, 0.4);
    color: #ff1e56;
}

.btn.danger:hover {
    background: linear-gradient(135deg, rgba(255, 30, 86, 0.3), rgba(225, 29, 72, 0.3));
    box-shadow: 0 8px 25px var(--accent-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

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

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

/* Top Nav */
.top-nav {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    margin-right: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-2px);
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.reassuring-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    backdrop-filter: blur(12px);
}

.reassuring-header h2 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

/* Premium Enhancements */
.premium-title {
    background: linear-gradient(135deg, #00f2fe, #4facfe, #00f2fe);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(0, 242, 254, 0.05);
    border-radius: 20px;
    padding: 6px 14px;
    margin: 0 auto 20px auto;
    width: fit-content;
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 0 10px rgba(0,242,254,0.1);
}

.holographic-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(0, 242, 254, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(24px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}

.holographic-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 20%, rgba(0, 242, 254, 0.1) 40%, rgba(0, 242, 254, 0.2) 50%, rgba(0, 242, 254, 0.1) 60%, transparent 80%);
    background-size: 200% 200%;
    animation: holographic 6s infinite linear;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: color-dodge;
}

@keyframes holographic {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.btn-glow {
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.5);
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
    }
}