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

:root {
    --primary: #8A61EC;
    --primary-light: #A384F4;
    --primary-lightest: #F3EEFF;
    --secondary: #FF8F8F;
    --text-dark: #1F1932;
    --text-muted: #6B6880;
    --white: #FFFFFF;
    --bg-gray: #F9FAFB;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(138, 97, 236, 0.3);
}

.btn-primary:hover {
    background-color: #724CCF;
    box-shadow: 0 12px 28px rgba(138, 97, 236, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
    border-radius: 16px;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-lightest);
}

.btn-outline:hover {
    background: var(--primary-lightest);
    color: var(--primary);
}

.cta-btn-inverse {
    background-color: var(--white) !important;
    color: var(--primary) !important;
}

.cta-btn-inverse:hover {
    background-color: var(--text-dark) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding-top: 60px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.hero-content p.subtitle {
    font-size: 1.05rem;
    padding: 16px;
    background: var(--primary-lightest);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 32px;
    border-left: 4px solid var(--primary);
}

.trust-badge {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stars {
    letter-spacing: 2px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(138, 97, 236, 0.15);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: float-delayed 7s ease-in-out infinite;
}

.top-right {
    top: 40px;
    right: 10px;
}

.bottom-left {
    bottom: 60px;
    left: 10px;
    animation-delay: 2s;
}

.card-icon {
    font-size: 24px;
    background: var(--primary-lightest);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Purple Backdrop (The Pill UI matching the reference image) */
.purple-backdrop {
    background: var(--primary);
    border-radius: 40px;
    padding: 80px 0;
    margin: 0 40px 80px 40px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 40px 80px rgba(138, 97, 236, 0.2);
}

/* Subtle background elements for aesthetic */
.purple-backdrop::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    blur: filter(40px);
}

.pain-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.pain-intro h2 {
    color: white;
    max-width: 600px;
    font-size: 2.2rem;
    margin-bottom: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px;
    border-radius: 20px;
    color: white;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
}

.solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-list li {
    display: flex;
    gap: 20px;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--primary-lightest);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content strong {
    font-size: 1.25rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

.feature-content p {
    margin: 0;
    font-size: 1rem;
}

.dashboard-mockup {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(138, 97, 236, 0.15);
    border: 1px solid rgba(138, 97, 236, 0.1);
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.dash-avatar {
    font-size: 3rem;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--primary-lightest);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.dash-header {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 32px;
    color: var(--text-dark);
    text-align: center;
}

.dash-item {
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-gray);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s;
    cursor: default;
}

.dash-item:hover {
    transform: translateX(10px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot.purple { background: var(--primary); }
.dot.blue { background: #4D9CFF; }
.dot.pink { background: #FF7BD1; }

.dash-total {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
}
.dash-total strong { color: var(--primary); font-size: 1.8rem; font-weight: 800;}

/* Feedback Section */
.feedback-section {
    padding: 80px 0;
    background: #1C4D2E;
    color: white;
}

.feedback-header {
    text-align: center;
    margin-bottom: 50px;
}

.feedback-header h2 {
    color: white;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.08); /* slightly transparent white over green */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.feedback-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.feedback-card .stars {
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.feedback-card .quote {
    font-size: 1rem;
    color: white;
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1; 
    margin-bottom: 24px;
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.bg-green-1 { background-color: #63C174; }
.bg-green-2 { background-color: #58B168; }
.bg-green-3 { background-color: #4DA15B; }
.bg-green-4 { background-color: #4CB861; }

.user-details {
    display: flex;
    flex-direction: column;
}

.user-details strong {
    font-size: 1.05rem;
    color: white;
    font-weight: 700;
}

.user-details span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

/* Target Section */
.target-section {
    padding: 60px 0;
}

.target-box {
    background: var(--bg-gray);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    border: 1px solid #E5E7EB;
}

.target-box h2 {
    max-width: 800px;
    margin: 0 auto 20px;
}

.target-box p {
    max-width: 700px;
    margin: 0 auto;
}

.target-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.target-item {
    background: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--primary-lightest);
}

/* Bottom CTA Section */
.cta-section {
    padding: 80px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), #724CCF);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 40px 80px rgba(138, 97, 236, 0.25);
}

.cta-box h2 {
    color: white;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
}

/* Footer */
footer {
    border-top: 1px solid #E5E7EB;
    padding: 40px 0;
    background: var(--bg-gray);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.25rem;
}
.footer-links a {
    margin-left: 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--primary);
}

/* Crossroads Section */
.crossroads-dark {
    padding: 100px 0;
    background: #0A0A0A;
    color: white;
}

.text-white h2 {
    color: white;
}

.text-light {
    color: #A0A0A0;
}

.crossroads-header {
    text-align: center;
    margin-bottom: 60px;
}

.crossroads-header .subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.crossroads-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.modern-card {
    background: #141414;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.inactive-card {
    color: #888;
}

.card-title-group h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    border-bottom: none;
}

.inactive-card h3 {
    color: #888;
}

.inactive-card h3 span {
    font-size: 1.8rem;
    font-weight: 800;
    color: #666;
}

.active-card {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(138, 97, 236, 0.2), inset 0 0 20px rgba(138, 97, 236, 0.05);
}

.active-card h3 {
    color: white;
}

.active-card h3 span.highlight-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(138, 97, 236, 0.4);
}

.modern-list {
    list-style: none;
    margin-bottom: 40px;
}

.modern-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.inactive-list li {
    color: #777;
}

.active-list li {
    color: #E2E8F0;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 3px;
    font-weight: bold;
}

.cross-icon {
    color: #555;
    font-size: 1.2rem;
}

.check-icon {
    background: #10B981;
    color: white;
    border-radius: 6px;
}

.card-footer-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #666;
    margin-top: auto;
    padding-top: 20px;
}

.card-button-wrapper {
    margin-top: auto;
}

.glow-btn {
    background: linear-gradient(90deg, var(--primary), #D946EF);
    border: none;
    box-shadow: 0 10px 25px rgba(217, 70, 239, 0.4);
    color: white !important;
}

.glow-btn:hover {
    background: linear-gradient(90deg, var(--primary), #D946EF);
    box-shadow: 0 15px 35px rgba(217, 70, 239, 0.6);
    transform: translateY(-2px);
    color: white !important;
}

/* Registration Section */
.registration-section {
    padding: 60px 0;
    background: var(--primary-lightest);
}

.registration-container {
    max-width: 900px;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(138, 97, 236, 0.08);
    align-items: center;
}

.form-wrapper h2 {
    margin-bottom: 24px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lightest);
}

.btn-block {
    width: 100%;
}

.qr-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-box-outline {
    border: 3px dashed var(--primary);
    padding: 16px;
    border-radius: 20px;
    display: inline-block;
    background: white;
    margin-bottom: 16px;
}

.qr-box-outline img {
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 8px;
}

.qr-text {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Payment Section */
.payment-section {
    padding: 80px 0;
    background: var(--white);
}

.payment-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.payment-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-gray);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
}

.payment-qr {
    flex-shrink: 0;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.payment-qr img {
    width: 200px;
    height: 200px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background-color: #EEE;
}

.payment-info {
    flex: 1;
}

.payment-info p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.payment-info p strong {
    color: var(--text-muted);
}

.highlight-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
}

.mt-4 {
    margin-top: 24px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .solution-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-container {
        gap: 40px;
    }

    .trust-badge {
        justify-content: center;
    }

    .floating-card {
        display: none; /* Hide floating cards on smaller screens for cleaner look */
    }

    .purple-backdrop {
        margin: 0 20px 60px 20px;
        padding: 60px 24px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }

    .registration-content {
        grid-template-columns: 1fr;
    }
    

    .payment-box {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .crossroads-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .feedback-grid {
        grid-template-columns: 1fr;
    }
}
