@font-face {
    font-family: "Atlas Grotesk Web Regular Regular";
    src: url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.eot");
    src: url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.eot?#iefix")format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.woff2")format("woff2"),
        url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.woff")format("woff"),
        url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.ttf")format("truetype"),
        url("https://db.onlinewebfonts.com/t/0a5fbb91dc4a457f5945dca11d44517d.svg#Atlas Grotesk Web Regular Regular")format("svg");
}

@font-face {
    font-family: "Sharp Grotesk PE Trial Book 23";
    src: url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.eot");
    src: url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.eot?#iefix")format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.woff2")format("woff2"),
        url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.woff")format("woff"),
        url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.ttf")format("truetype"),
        url("https://db.onlinewebfonts.com/t/5d469c8602fefc7a185991bd076a5e93.svg#Sharp Grotesk PE Trial Book 23")format("svg");
}

:root {
    --primary: #3984ff;
    --primary-glow: rgba(57, 132, 255, 0.1);
    --bg-main: #ffffff;
    --card-bg: #ffffff;
    --text-main: #1e1919;
    --text-muted: #637282;
    --border: rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Atlas Grotesk Web Regular Regular", -apple-system, system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sharp Grotesk PE Trial Book 23", sans-serif;
    color: var(--primary);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    height: 100vh;
    overflow-x: hidden;
    display: flex;
}

/* Split Layout */
.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

.preview-side {
    flex: 1.2;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    border-right: 1px solid var(--border);
    animation: fadeIn 1.5s var(--transition);
}

@media (max-width: 968px) {
    .preview-side {
        display: none;
    }
}

.action-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background: var(--bg-main);
    animation: slideRight 0.8s var(--transition);
}

@media (max-width: 640px) {
    .action-side {
        padding: 40px 24px;
    }

    .header h1 {
        font-size: 32px;
    }

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

/* Preview Image styling removed as requested */

/* Action Area */
.logo {
    width: 120px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.header {
    margin-bottom: 40px;
}

.header h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Button */
.cta-button {
    background: var(--primary);
    color: white;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    box-shadow: 0 0 20px var(--primary-glow);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--primary-glow);
    background: #7DD3FC;
}

.secondary-action {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.secondary-action a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.secondary-action a:hover {
    border-color: var(--primary);
}

/* Modals - Top Right Popup Style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 40px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s var(--transition);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: translateY(-40px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 16px;
    }

    .modal-content {
        padding: 24px;
    }
}

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

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 20px;
}

/* Provider Grid */
.provider-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.provider-btn {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.provider-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(5px);
}

.provider-btn img {
    width: 30px;
    margin-right: 16px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 2000;
}

.toast {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: slideUpToast 0.5s var(--transition);
}

@media (max-width: 480px) {
    .toast-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .toast {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUpToast {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loader */
.loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(15, 23, 42, 0.2);
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}