body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding: 40px;
}

h1 {
    color: #6c63ff;
}
.project-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card h3 {
    margin-top: 0;
    color: #6c63ff;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #6c63ff;
    text-decoration: none;
    font-weight: bold;
}

.project-card a:hover {
    text-decoration: underline;
}


.analytics-number {
    font-size: 36px;
    font-weight: bold;
    color: #6c63ff;
    margin: 10px 0;
}


.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.analytics-box {
    background: #f8f7ff;
    border-radius: 12px;
    padding: 20px;
}

.analytics-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.analytics-number {
    display: block;
    font-size: 30px;
    color: #6c63ff;
}

@media (max-width: 600px) {

    .analytics-grid {
        grid-template-columns: 1fr;
    }

}



.goal-progress {
    width: 100%;
    height: 18px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    margin: 15px 0;
}

.goal-progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        #6c63ff,
        #a78bfa
    );
    border-radius: 20px;
    transition: width 0.5s ease;
}

.goal-complete {
    color: #16a34a;
    font-weight: bold;
    font-size: 18px;
}


.rewards-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 20px;
    margin-top: 20px;
}

.reward-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.12);
}

.reward-icon {
    font-size: 60px;
    margin-bottom: 10px;
}


.reward-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 9999;
}

.reward-modal.show {
    opacity: 1;
    visibility: visible;
}

.reward-modal-content {
    width: min(90%, 450px);

    background: white;

    border-radius: 25px;

    padding: 40px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    transform: scale(0.7);

    transition:
        transform 0.35s ease;
}

.reward-modal.show
.reward-modal-content {

    transform: scale(1);

}

.reward-modal-icon {
    font-size: 90px;

    animation:
        reward-bounce 0.8s ease;
}

.reward-modal-content button {

    background: #6c63ff;

    color: white;

    border: none;

    border-radius: 12px;

    padding: 12px 25px;

    font-size: 16px;

    cursor: pointer;

    margin-top: 15px;
}

.reward-modal-content button:hover {

    background: #574fd6;

}

@keyframes reward-bounce {

    0% {
        transform: scale(0.2);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }

}


.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20px;

    background: white;

    border-bottom: 1px solid #eee;

    margin-bottom: 30px;
}

.nav-brand a {
    color: #6c63ff;

    text-decoration: none;

    font-size: 20px;

    font-weight: bold;
}

.nav-links {
    display: flex;

    gap: 20px;

    align-items: center;
}

.nav-links a {
    color: #444;

    text-decoration: none;

    font-size: 14px;
}

.nav-links a:hover {
    color: #6c63ff;
}

@media (max-width: 700px) {

    .main-nav {
        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;
    }

}

.growth-positive {
    color: #16a34a;
}

.growth-negative {
    color: #dc2626;
}

.social-stats {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(120px, 1fr)
        );

    gap: 15px;

    margin: 20px 0;
}

.social-stat {
    background: #f8f8ff;

    border-radius: 12px;

    padding: 15px;

    text-align: center;
}

.social-stat span {
    display: block;

    color: #666;

    font-size: 13px;

    margin-bottom: 6px;
}

.social-stat strong {
    display: block;

    font-size: 22px;
}

.social-stat small {
    display: block;

    color: #777;

    margin-top: 4px;
}


.project-summary {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 15px;

    margin: 20px 0 30px;
}

.summary-card {
    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 14px;

    padding: 20px;

    text-align: center;

    box-shadow:
        0 3px 12px
        rgba(0, 0, 0, 0.05);
}

.summary-card span {
    display: block;

    color: #777;

    font-size: 14px;

    margin-bottom: 8px;
}

.summary-card strong {
    font-size: 20px;

    color: #6c63ff;
}


/* ========================================
   PIDDLEY LANDING PAGE
======================================== */

.landing-page {
    margin: 0;
    background: #fafaff;
    color: #17172a;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.landing-page a {
    text-decoration: none;
}


/* HEADER */

.landing-header {
    max-width: 1180px;
    margin: 0 auto;

    padding: 24px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #17172a;
}

.landing-logo span {
    color: #7667f7;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.landing-nav a {
    color: #55556b;
    font-size: 14px;
    font-weight: 600;
}

.nav-button {
    background: #17172a !important;
    color: white !important;

    padding: 11px 19px;

    border-radius: 9px;
}


/* HERO */

.hero-section {
    max-width: 1180px;
    margin: 0 auto;

    padding: 80px 30px 100px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hero-badge {
    display: inline-block;

    background: #efedff;
    color: #6558db;

    padding: 8px 13px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: clamp(48px, 6vw, 76px);

    line-height: .98;

    letter-spacing: -4px;

    margin: 0 0 28px;

    max-width: 650px;
}

.hero-content h1 span {
    display: block;
    color: #7667f7;
}

.hero-text {
    max-width: 570px;

    color: #67677d;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.primary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    background: #7667f7;

    color: white;

    padding: 15px 23px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 12px 30px
        rgba(118, 103, 247, .25);

    transition: .2s;
}

.primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 35px
        rgba(118, 103, 247, .32);
}

.secondary-button {
    color: #343449;

    border: 1px solid #dedee9;

    background: white;

    padding: 14px 21px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
}

.hero-note {
    margin-top: 18px;

    font-size: 12px;

    color: #9696a8;
}


/* DASHBOARD PREVIEW */

.hero-dashboard {
    position: relative;
}

.preview-window {
    background: white;

    border-radius: 18px;

    box-shadow:
        0 30px 80px
        rgba(43, 38, 88, .14);

    overflow: hidden;

    border: 1px solid #e9e8f1;

    transform: rotate(1deg);
}

.preview-topbar {
    height: 45px;

    background: #f6f6fa;

    display: flex;
    align-items: center;

    padding: 0 15px;

    gap: 25px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d1d0da;
}

.preview-url {
    background: white;

    border-radius: 5px;

    padding: 5px 40px;

    font-size: 9px;

    color: #999;
}

.preview-content {
    padding: 28px;
}

.preview-welcome {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}

.preview-welcome small {
    font-size: 8px;

    color: #999;

    letter-spacing: 1px;
}

.preview-welcome h3 {
    margin: 5px 0 0;

    font-size: 18px;
}

.preview-avatar {
    width: 34px;
    height: 34px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #efedff;

    color: #7667f7;
}

.preview-stats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.preview-card {
    background: #fafaff;

    border: 1px solid #eeeef5;

    border-radius: 10px;

    padding: 15px;
}

.preview-card span {
    display: block;

    font-size: 9px;

    color: #888;
}

.preview-card strong {
    display: block;

    font-size: 21px;

    margin: 7px 0;
}

.preview-card em {
    font-size: 9px;

    color: #19a566;

    font-style: normal;
}

.preview-progress {
    margin-top: 14px;

    padding: 16px;

    border-radius: 10px;

    background: #f8f7ff;
}

.preview-progress-header {
    display: flex;

    justify-content: space-between;

    font-size: 10px;

    margin-bottom: 9px;
}

.preview-progress-header strong {
    color: #7667f7;
}

.preview-progress-bar {
    height: 6px;

    background: #e4e2f5;

    border-radius: 10px;

    overflow: hidden;
}

.preview-progress-bar div {
    height: 100%;

    width: 72%;

    background: #7667f7;
}

.preview-progress small {
    display: block;

    margin-top: 8px;

    color: #999;

    font-size: 8px;
}

.preview-reward {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 15px;

    padding: 12px;

    background: #fffaf0;

    border: 1px solid #f4e9ca;

    border-radius: 10px;
}

.reward-star {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #ffe9a9;

    color: #c98d00;
}

.preview-reward strong {
    display: block;

    font-size: 10px;
}

.preview-reward span {
    display: block;

    margin-top: 3px;

    font-size: 8px;

    color: #999;
}


/* TRUST */

.trust-section {
    max-width: 1000px;

    margin: 0 auto;

    padding: 25px 30px 80px;

    text-align: center;
}

.trust-section p {
    font-size: 10px;

    color: #a0a0b0;

    letter-spacing: 2px;

    font-weight: 700;
}

.trust-items {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 45px;

    margin-top: 25px;

    color: #a0a0b0;

    font-size: 14px;

    font-weight: 700;
}


/* SECTIONS */

.section-heading {
    max-width: 650px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-eyebrow {
    color: #7667f7;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 800;

    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: 46px;

    line-height: 1.05;

    letter-spacing: -2px;

    margin: 0 0 20px;
}

.section-heading h2 span {
    color: #7667f7;
}

.section-heading p {
    color: #77778b;

    line-height: 1.7;

    font-size: 16px;
}


/* FEATURES */

.features-section {
    max-width: 1180px;

    margin: 0 auto;

    padding: 100px 30px;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.feature-card {
    background: white;

    border: 1px solid #ececf3;

    border-radius: 18px;

    padding: 32px;

    box-shadow:
        0 8px 30px
        rgba(40, 38, 70, .04);
}

.feature-large {
    grid-row: span 2;
}

.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #efedff;

    color: #7667f7;

    margin-bottom: 25px;
}

.feature-icon.green {
    background: #e9f9f1;
    color: #19a566;
}

.feature-icon.purple {
    background: #f2ebff;
    color: #965eea;
}

.feature-icon.gold {
    background: #fff4d7;
    color: #d59a00;
}

.feature-icon.pink {
    background: #ffedf5;
    color: #df6699;
}

.feature-card h3 {
    font-size: 22px;

    margin: 0 0 10px;

    letter-spacing: -.5px;
}

.feature-card > p {
    color: #77778b;

    line-height: 1.6;

    font-size: 14px;
}

.feature-visual {
    margin-top: 35px;
}

.feature-visual div {
    display: flex;

    justify-content: space-between;

    padding: 14px 0;

    border-bottom: 1px solid #eeeef3;

    font-size: 12px;
}

.feature-visual span {
    color: #888;
}

.feature-visual strong {
    color: #333;
}

.mini-growth {
    margin-top: 25px;
}

.mini-growth strong {
    display: block;

    color: #19a566;

    font-size: 32px;
}

.mini-growth span {
    color: #999;

    font-size: 11px;
}

.mini-goal {
    margin-top: 25px;

    font-size: 11px;

    color: #777;
}

.mini-goal div {
    height: 8px;

    background: #eeeef7;

    margin-top: 9px;

    border-radius: 20px;
}

.mini-goal i {
    display: block;

    width: 72%;

    height: 100%;

    background: #7667f7;

    border-radius: 20px;
}

.mini-rewards {
    margin-top: 25px;

    font-size: 30px;

    letter-spacing: 8px;
}


/* HOW IT WORKS */

.how-section {
    background: #17172a;

    color: white;

    padding: 110px 30px;
}

.how-section .section-heading p {
    color: #9c9caf;
}

.steps-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 35px;
}

.step-number {
    color: #7667f7;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 20px;
}

.step h3 {
    font-size: 17px;

    margin-bottom: 10px;
}

.step p {
    color: #9696aa;

    line-height: 1.6;

    font-size: 13px;
}


/* PRICING */

.pricing-section {
    padding: 120px 30px;

    background: #fafaff;
}

.pricing-card {
    max-width: 620px;

    margin: 0 auto;

    padding: 55px;

    background: white;

    border: 1px solid #e7e6f0;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 25px 70px
        rgba(35, 31, 78, .08);
}

.pricing-card h2 {
    font-size: 40px;

    letter-spacing: -2px;

    line-height: 1.05;
}

.pricing-card h2 span {
    display: block;

    color: #7667f7;
}

.pricing-card > p {
    color: #77778b;

    line-height: 1.6;
}

.price {
    display: flex;

    justify-content: center;

    align-items: baseline;

    margin: 35px 0;
}

.price-dollar {
    font-size: 22px;
}

.price strong {
    font-size: 72px;

    letter-spacing: -5px;
}

.price-period {
    color: #888;

    font-size: 14px;
}

.pricing-list {
    list-style: none;

    padding: 0;

    margin: 0 0 30px;

    text-align: left;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    color: #555568;

    font-size: 13px;
}

.pricing-button {
    width: 100%;

    box-sizing: border-box;
}

.pricing-card > small {
    display: block;

    margin-top: 14px;

    color: #aaa;
}


/* FINAL CTA */

.final-cta {
    padding: 120px 30px;

    background:
        linear-gradient(
            135deg,
            #7667f7,
            #5c4ee0
        );

    color: white;

    text-align: center;
}

.final-cta > div {
    max-width: 720px;

    margin: 0 auto;
}

.final-cta .section-eyebrow {
    color: #dcd8ff;
}

.final-cta h2 {
    font-size: 52px;

    line-height: 1;

    letter-spacing: -3px;

    margin: 15px 0 20px;
}

.final-cta p {
    color: #dedbff;

    line-height: 1.7;

    margin-bottom: 30px;
}

.final-cta .primary-button {
    background: white;

    color: #6354e7;

    box-shadow: none;
}


/* FOOTER */

.landing-footer {
    max-width: 1180px;

    margin: 0 auto;

    padding: 45px 30px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 20px;

    align-items: center;
}

.landing-footer p {
    color: #9999a8;

    font-size: 12px;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #666679;

    font-size: 12px;

    font-weight: 600;
}

.copyright {
    grid-column: 1 / -1;

    border-top: 1px solid #eeeef3;

    padding-top: 20px;
}


/* MOBILE */

@media (max-width: 800px) {

    .hero-section {
        grid-template-columns: 1fr;

        padding-top: 50px;

        gap: 50px;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-row: auto;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-list {
        grid-template-columns: 1fr;
    }

    .final-cta h2 {
        font-size: 40px;
    }

}

@media (max-width: 550px) {

    .landing-header {
        padding: 18px 20px;
    }

    .landing-nav {
        gap: 12px;
    }

    .hero-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .preview-content {
        padding: 18px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 35px 22px;
    }

    .pricing-card h2 {
        font-size: 32px;
    }

    .price strong {
        font-size: 60px;
    }

    .landing-footer {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   GROWTH CALCULATOR
======================================== */

.calculator-page {
    max-width: 1100px;

    margin: 0 auto;

    padding: 40px 25px 80px;
}

.calculator-header {
    max-width: 700px;

    margin: 50px auto;

    text-align: center;
}

.calculator-header h1 {
    font-size: 48px;

    line-height: 1.05;

    letter-spacing: -2px;

    margin: 15px 0 20px;
}

.calculator-header h1 span {
    display: block;

    color: #7667f7;
}

.calculator-header p {
    color: #77778b;

    line-height: 1.7;
}


.growth-calculator {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    max-width: 900px;

    margin: 0 auto;
}


.calculator-form {
    background: white;

    border: 1px solid #e7e6f0;

    border-radius: 18px;

    padding: 35px;

    box-shadow:
        0 10px 35px
        rgba(35, 31, 78, .06);
}


.calculator-form label {
    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #444457;

    margin-bottom: 8px;

    margin-top: 20px;
}

.calculator-form label:first-child {
    margin-top: 0;
}


.calculator-form input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid #dddde7;

    border-radius: 9px;

    font-size: 15px;

    outline: none;
}

.calculator-form input:focus {
    border-color: #7667f7;

    box-shadow:
        0 0 0 3px
        rgba(118, 103, 247, .1);
}


.percentage-input {
    position: relative;
}

.percentage-input input {
    padding-right: 40px;
}

.percentage-input span {
    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #888;

    font-weight: 700;
}


.calculator-form .primary-button {
    border: none;

    cursor: pointer;

    width: 100%;

    margin-top: 30px;

    font-family: inherit;
}


.calculator-result {
    background:
        linear-gradient(
            145deg,
            #7667f7,
            #5c4ee0
        );

    color: white;

    border-radius: 18px;

    padding: 40px;

    box-shadow:
        0 20px 50px
        rgba(92, 78, 224, .25);
}


.result-label {
    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 800;

    color: #dcd8ff;
}


#projectedTraffic {
    display: block;

    font-size: 55px;

    line-height: 1;

    letter-spacing: -3px;

    margin-top: 15px;
}

.calculator-result > p {
    color: #dcd8ff;

    margin-top: 8px;
}


.result-divider {
    height: 1px;

    background: rgba(255,255,255,.2);

    margin: 30px 0;
}


.result-stat {
    display: flex;

    justify-content: space-between;

    padding: 13px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);

    font-size: 13px;
}

.result-stat span {
    color: #d0ccf8;
}

.result-stat strong {
    color: white;
}


.growth-explanation {
    max-width: 700px;

    margin: 70px auto 0;

    text-align: center;
}

.growth-explanation h2 {
    font-size: 28px;

    letter-spacing: -1px;
}

.growth-explanation p {
    color: #77778b;

    line-height: 1.7;

    font-size: 14px;
}


@media (max-width: 700px) {

    .growth-calculator {
        grid-template-columns: 1fr;
    }

    .calculator-header h1 {
        font-size: 38px;
    }

    #projectedTraffic {
        font-size: 45px;
    }

}



