:root {
    --bg-light: #f8f9fc;
    --text-main: #1a1a2e;
    --text-muted: #5a5a6e;
    --accent-primary: #8a2be2;
    --accent-secondary: #00ced1;
    /* Slightly darker cyan for visibility on light */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Sections */
section {
    padding: 6rem 0;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.logo {
    width: 64px;
    height: auto;
    margin-bottom: 2rem;
}

.hero-visual {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    justify-content: center;
}

.mascot {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(138, 43, 226, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1,
.hero h2 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h2 {
    font-size: 4rem;
}

.hero h1,
.hero h2 {
    font-size: 3.7rem;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* WHAT IS LISTPORA */
.intro {
    text-align: center;
}

.intro h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.intro p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}


/* HOW IT WORKS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); */
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
}

/* BENEFITS / SHOWCASE */
.showcase {
    display: grid;
    /* Fallback */
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    /* Adjusted for light theme - solid color or gradient that works on white */
    color: var(--text-main);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.showcase-image-container {
    position: relative;
    perspective: 1000px;
}

.showcase-image,
.showcase-image-left {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    /* Softer shadow */
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    transform: rotateY(-10deg) rotateX(5deg);
}

.showcase-image-left {
    transform: rotateY(15deg) rotateX(5deg);
}

.showcase-image:hover,
.showcase-image-left:hover {
    transform: rotateY(0) rotateX(0);
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    /* Slightly more opaque for cards */
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card .plan-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 1rem;
    display: inline-block;
    /* Center the list block but left align text */
    width: 100%;
}

.pricing-card .features li {
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.pricing-card .features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
    text-decoration: line-through;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

.faq-item p {
    color: var(--text-muted);
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.modal h2 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f0f2f5;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
}

.modal input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-image {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .intro h2,
    .showcase-text h2 {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .container {
        padding: 0 1.25rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Toggle & Pay As You Go Styles */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.toggle-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-main);
    font-weight: 700;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-primary);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Pay As You Go Panel */
.payg-panel {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.payg-header {
    margin-bottom: 3rem;
}

.payg-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.payg-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.credit-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.preset-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.preset-buttons .btn-outline {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
}

.preset-buttons .btn-outline small {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

.custom-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    max-width: 200px;
    margin: 0 auto;
}

.input-wrapper .currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 600;
}

.input-wrapper input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s;
    text-align: center;
}

.input-wrapper input:focus {
    border-color: var(--accent-primary);
}

.credit-result-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.credit-result-box .label {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.credit-result-box .credits {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: var(--font-heading);
}