/* Design Tokens & Variables */
:root {
    --bg-page: #faf8f2;
    --color-primary: #101828;
    --color-secondary: #344054;
    --color-muted: #667085;
    --color-blue: #2b8fe7;
    --color-blue-hover: #659feb;
    --color-green: #059669;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --shadow-card: 0px 24px 48px -12px rgba(16, 24, 40, 0.08), 0px 0px 1px 0px rgba(16, 24, 40, 0.16);
    --shadow-badge: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-page);
    font-family: var(--font-primary);
    color: var(--color-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* Page Layout Container */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
    padding: 2rem 0;
}

/* --- Left Section Style --- */
.left-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Trial Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--shadow-badge);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeInSlide 0.6s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #f09e38;
    border-radius: 50%;
}

.badge-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
}

/* Main Heading */
.main-heading {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    animation: fadeInSlide 0.7s ease-out;
}

/* Description */
.description {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 90%;
    animation: fadeInSlide 0.8s ease-out;
}

/* Features List */
.features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 3rem;
    animation: fadeInSlide 0.9s ease-out;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
}

.features-list li:hover .check-icon {
    transform: scale(1.15);
}

.feature-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* Trusted Teams */
.trusted-teams {
    margin-top: 2rem;
    width: 100%;
    animation: fadeInSlide 1s ease-out;
}

.trusted-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.team-names {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-secondary);
    word-spacing: 0.1rem;
}

/* Partner Badges */
.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    animation: fadeInSlide 1.1s ease-out;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: var(--shadow-badge);
    border-radius: 100px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.partner-icon {
    width: 16px;
    height: 16px;
}

.partner-prefix {
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Blue Theme (Meta Style) */
.partner-meta {
    color: #0c64e6;
}
.partner-meta .partner-prefix {
    color: #0c64e6;
    background-color: #ebf3fe;
}
.partner-meta .partner-name {
    color: var(--color-secondary);
}

/* Orange Theme (AWS Style) */
.partner-aws {
    color: #f38f18;
}
.partner-aws .partner-prefix {
    color: #f38f18;
    background-color: #fef6ec;
}
.partner-aws .partner-name {
    color: var(--color-secondary);
}

/* Green Theme */
.badge-green {
    color: #059669;
}
.badge-green .partner-prefix {
    color: #059669;
    background-color: #edfcf6;
}
.badge-green .partner-name {
    color: var(--color-secondary);
}

/* Red Theme */
.badge-red {
    color: #d92d20;
}
.badge-red .partner-prefix {
    color: #d92d20;
    background-color: #fef3f2;
}
.badge-red .partner-name {
    color: var(--color-secondary);
}

/* Purple Theme */
.badge-purple {
    color: #7a5af8;
}
.badge-purple .partner-prefix {
    color: #7a5af8;
    background-color: #f4f3ff;
}
.badge-purple .partner-name {
    color: var(--color-secondary);
}

/* Gray Theme */
.badge-gray {
    color: #344054;
}
.badge-gray .partner-prefix {
    color: #344054;
    background-color: #f2f4f7;
}
.badge-gray .partner-name {
    color: var(--color-secondary);
}

/* Testimonial Box */
.testimonial-box {
    margin-top: 3.5rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    animation: fadeInSlide 1.2s ease-out;
}

.testimonial-box:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 30px rgba(16, 24, 40, 0.04);
    background: rgba(255, 255, 255, 0.8);
}

.testimonial-quote {
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar svg,
.author-avatar img {
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    font-style: normal;
}

.author-title {
    font-size: 0.82rem;
    color: var(--color-muted);
}

/* --- Right Section Style --- */
.right-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Signup Card */
.signup-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    padding: 3.25rem 3rem 2.5rem;
    width: 100%;
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(16, 24, 40, 0.04);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 2.25rem;
}

.login-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.login-link:hover {
    color: #f26f22;
}

/* Form Group */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--color-primary);
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: #98a2b3;
}

.form-input:focus {
    border-color: #f29c38;
    box-shadow: 0px 0px 0px 4px rgba(243, 189, 122, 0.25);
}

.form-input.invalid {
    border-color: #fda29b;
    box-shadow: 0px 0px 0px 4px #fee4e2;
}

/* Error Messages */
.error-message {
    font-size: 0.8rem;
    color: #d92d20;
    margin-top: 0.35rem;
    display: none;
    font-weight: 500;
}

/* Password Show Toggle */
.password-toggle-container {
    margin-top: 0.5rem;
}

.toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

.toggle-checkbox:checked ~ .toggle-custom-checkbox {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.toggle-custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.toggle-checkbox:checked ~ .toggle-custom-checkbox::after {
    display: block;
}

.toggle-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary);
}

/* Submit Button */
.submit-button {
    width: 100%;
    background-color: var(--color-blue);
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    padding: 0.9rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.submit-button:hover {
    background-color: var(--color-blue-hover);
    transform: translateY(-1px);
}

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

/* Card Specs */
.card-trial-specs {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Terms text */
.terms-text {
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.terms-text a {
    color: var(--color-secondary);
    text-decoration: underline;
    font-weight: 500;
}

.terms-text a:hover {
    color: var(--color-primary);
}

/* Enterprise Demo */
.enterprise-demo {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    padding-top: 1.5rem;
}

.demo-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.demo-link:hover {
    color: #f26f22;
}

/* Stats Row */
.stats-row {
    margin-top: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0px 2px 12px rgba(16, 24, 40, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1.25rem 1rem;
    animation: fadeInSlide 1.3s ease-out;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.rating-item {
    gap: 0.25rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star-icon {
    width: 14px;
    height: 14px;
    fill: #fdb022;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--color-secondary);
    line-height: 1.3;
}

.stat-label strong {
    color: var(--color-primary);
    font-weight: 800;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background-color: rgba(16, 24, 40, 0.08);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    body {
        padding: 3rem 1.5rem;
    }
    .page-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 0;
    }
    .left-section {
        align-items: center;
        text-align: center;
    }
    .description {
        max-width: 100%;
    }
    .features-list {
        display: inline-block;
        text-align: left;
        max-width: max-content;
        margin: 0 auto 2.5rem;
    }
    .partner-badges {
        justify-content: center;
    }
    .testimonial-box {
        margin: 3rem auto 0;
    }
    .signup-card {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .stats-row {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        width: 100%;
    }
}
