/* Reset & Core Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #ffffff;
    --text-primary: #101828;
    --text-secondary: #475467;
    --accent-color: #00d982;
    --accent-glow: rgba(0, 217, 130, 0.25);
    --border-color: #f2f4f7;
    --card-shadow: 0 10px 30px -10px rgba(16, 24, 40, 0.06);
    --font-family: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-family);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Pulsing Top-Right Guidance Glow & Arrow */
.pointer-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.glow-effect {
    position: absolute;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(-10px, -10px);
    animation: glowPulse 2s infinite ease-in-out;
}

.pulsing-arrow {
    width: 44px;
    height: 66px;
    color: var(--accent-color);
    filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.arrow-imposing {
    animation: arrowFloatImposing 1.8s infinite ease-in-out;
}

/* Main Premium Card Wrapper */
.main-card {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 24px 32px 24px;
    position: relative;
}

/* Simulated Header Bar to match Screenshot */
.header {
    padding-top: 16px;
    padding-bottom: 24px;
}

.simulated-bar-link, .step-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.simulated-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: background var(--transition-speed);
}

.simulated-bar:hover {
    background: rgba(243, 244, 246, 0.95);
}

.simulated-bar .back-btn {
    font-size: 26px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.simulated-bar .domain-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.simulated-bar .domain-info .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.simulated-bar .domain-info .url {
    font-size: 11px;
    color: var(--text-secondary);
}

.simulated-bar .more-btn {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: bold;
    cursor: pointer;
}

/* Main Content Styles */
.content-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.main-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Steps List styling */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 0;
    transition: transform var(--transition-speed) ease;
}

.step-card:hover {
    transform: translateX(4px);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.03);
}

.step-text {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

.badge {
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.badge-dots {
    letter-spacing: 1px;
    font-weight: 700;
}

.badge-action {
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-speed);
}

/* Copy Direct Link CTA */
.fallback-wrapper {
    margin-top: 10px;
}

.copy-btn {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px var(--accent-glow);
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-btn:hover {
    background-color: #00be72;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 130, 0.4);
}

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

.copy-icon {
    width: 20px;
    height: 20px;
}

/* Footer Section */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 16px;
}

.footer span {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.footer .brand {
    color: var(--accent-color);
    font-weight: 700;
}

/* Toast alert */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(16, 24, 40, 0.95);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Keyframe Animations */
@keyframes glowPulse {
    0%, 100% {
        transform: translate(-10px, -10px) scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: translate(-10px, -10px) scale(1.25);
        opacity: 0.8;
    }
}

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

/* Responsive / Screen sizes */
@media (max-width: 480px) {
    .main-card {
        padding: 0 16px 24px 16px;
    }
    
    .main-title {
        font-size: 32px;
    }
}

/* Premium Guidance Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 24, 40, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.15);
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.modal-icon {
    font-size: 24px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.modal-body p {
    margin-bottom: 14px;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    background-color: var(--border-color);
    padding: 16px;
    border-radius: 16px;
}

.modal-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.modal-step .num {
    background-color: var(--text-primary);
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-step p {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.modal-footer-text {
    font-size: 12px;
    color: #667085;
    margin-top: 12px;
    text-align: center;
}

.modal-close-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--text-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.modal-close-btn:hover {
    background-color: #222;
}

