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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
    border-bottom: 1px solid #1a1a1a;
}

.left-panel {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #000;
    border-right: 1px solid #1a1a1a;
}

.brand {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.logo-img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 22px;
    margin-bottom: -4rem;
}

.hero {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
    max-width: 700px;
}

.gradient-text {
    background: linear-gradient(90deg, #f9ce34, #ee2a7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collage {
    width: 100%;
    max-width: 560px;
    margin: 40px auto 0;
}

.collage-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.phone {
    position: absolute;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.phone-center {
    width: 240px;
    height: 440px;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    background-image: linear-gradient(160deg, #2c4a6e 0%, #6b3a4a 60%, #b85c3a 100%);
    z-index: 3;
}

.phone-left {
    width: 200px;
    height: 380px;
    left: 8%;
    top: 50px;
    transform: rotate(-9deg);
    background-image: linear-gradient(160deg, #6a4a2a, #2a4a4a);
    z-index: 2;
}

.phone-right {
    width: 200px;
    height: 360px;
    right: 6%;
    top: 70px;
    transform: rotate(7deg);
    background-image: linear-gradient(160deg, #4a2a4a, #2a3a4a);
    z-index: 2;
}

.deco {
    position: absolute;
    z-index: 4;
}

.deco.bubble {
    width: 90px;
    height: 38px;
    border-radius: 20px;
    background: #fff;
    left: 26%;
    top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.deco.heart {
    width: 56px;
    height: 56px;
    left: 6%;
    top: 270px;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b);
    transform: rotate(-15deg);
    -webkit-mask: radial-gradient(circle at 30% 35%, #000 22%, transparent 23%) no-repeat,
                  radial-gradient(circle at 70% 35%, #000 22%, transparent 23%) no-repeat,
                  linear-gradient(#000, #000) no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%, 56% 56%;
    -webkit-mask-position: 0 0, 0 0, 50% 70%;
    -webkit-mask-composite: source-over;
            mask: radial-gradient(circle at 30% 35%, #000 22%, transparent 23%) no-repeat,
                  radial-gradient(circle at 70% 35%, #000 22%, transparent 23%) no-repeat,
                  linear-gradient(#000, #000) no-repeat;
            mask-size: 100% 100%, 100% 100%, 56% 56%;
            mask-position: 0 0, 0 0, 50% 70%;
}

.deco.star {
    width: 70px;
    height: 28px;
    border-radius: 14px;
    background: #2ecc71;
    color: #fff;
    right: 22%;
    top: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.deco.profile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    right: 4%;
    bottom: 80px;
    background:
        radial-gradient(circle at 50% 40%, #b8e068 18%, #9ec76b 40%, transparent 41%),
        linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    padding: 3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.right-panel {
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 28px;
}

.field {
    margin-bottom: 12px;
}

.field input {
    width: 100%;
    padding: 16px 14px;
    background: transparent;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease;
}

.field input::placeholder {
    color: #888;
}

.field input:focus {
    border-color: #6a6a6a;
}

.errors {
    color: #ff6b6b;
    font-size: 13px;
    margin: 8px 0 12px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1f3a8a;
    color: #c8c8c8;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.15s ease;
}

.btn-primary:hover {
    background: #2548a8;
    color: #fff;
}

.link-muted {
    display: block;
    text-align: center;
    margin-top: 24px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.link-muted:hover {
    text-decoration: underline;
}

.secondary-actions {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-secondary,
.btn-outline {
    padding: 12px;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #4a90e2;
}

.btn-secondary {
    border: 1px solid #3a3a3a;
}

.btn-outline {
    border: 1px solid #4a90e2;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(74, 144, 226, 0.05);
}

.footer-brand {
    text-align: center;
    margin-top: 32px;
    color: #888;
    font-size: 13px;
}

.page-footer {
    background: #0a0a0a;
    padding: 24px 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-meta {
    color: #666;
    font-size: 12px;
}

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.success-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.check-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-card h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.success-card p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.5;
}

.success-card .btn-primary {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
    text-decoration: none;
    text-align: center;
}

.g9-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(238, 42, 123, 0.12), transparent 60%),
        radial-gradient(900px 600px at 90% 90%, rgba(98, 40, 215, 0.18), transparent 60%),
        #000;
}

.g9-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.g9-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: transparent;
    background: linear-gradient(90deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 12px;
}

.g9-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.g9-sub {
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.g9-form .field {
    margin-bottom: 12px;
}

.g9-form .btn-primary {
    margin-top: 16px;
}

@media (max-width: 480px) {
    .g9-card {
        padding: 36px 24px;
    }
    .g9-title {
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .page {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .left-panel {
        padding: 28px 24px;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }
    .brand {
        margin-bottom: 0;
        justify-content: center;
    }
    .logo-img {
        width: 150px;
        height: 150px;
        border-radius: 18px;
        margin-bottom: -2rem;
    }
    .hero,
    .collage {
        display: none;
    }
    .right-panel {
        padding: 40px 20px;
    }
    .secondary-actions {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .left-panel {
        padding: 24px 16px;
    }
    .logo-img {
        width: 150px;
        height: 150px;
        border-radius: 16px;
        margin-bottom: -2rem;
    }
    .right-panel {
        padding: 32px 16px;
    }
    .field input { padding: 14px 12px; }
    .footer-links { gap: 12px; }
    .footer-links a { font-size: 11px; }
}
