/* ===============================
   PRAGIA WEBSITE – GLOBAL STYLES
================================ */
:root {
    --primary: #6239F7;
    --secondary: #9B7CFF;
    --dark: #0F1225;
    --light: #F6F7FB;
    --text: #1A1A1A;
}


/* ===============================
   MOBILE: LEFT ALIGN ALL HEADERS
================================ */
@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        text-align: left !important;
    }

    /* Optional: keep paragraphs readable */
    p {
        text-align: left;
    }
}

/* ********************************************************************************************************** */

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}


/* ************************************************************************************************** */
/* ===============================
   HERO SECTION
================================ */

.hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;

    background-image: url("/website/images/pragia-hero.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Dark premium overlay — MATCHES cards background */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(12, 14, 33, 0.92) 0%,
        rgba(18, 16, 46, 0.88) 40%,
        rgba(24, 22, 66, 0.75) 65%,
        rgba(24, 22, 66, 0.55) 100%
    );

    z-index: 1;
}

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

/* ===============================
   HERO CONTENT
================================ */

.hero-content h1 {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content h1 span {
    color: #6239F7;
}

.hero-content p {
    font-size: 18px;
    max-width: 520px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content .btn-primary {
    padding: 14px 28px;
    border-radius: 10px;
    background: #6239F7;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(98, 57, 247, 0.25);
}

/* ===============================
   HERO IMAGE
================================ */

.hero-image img {
    width: 100%;
    max-width: 420px;
    animation: float 5s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0); }
}

/* ===============================
   RESPONSIVE — MOBILE POLISHED
================================ */

@media (max-width: 900px) {

    .hero {
        min-height: 52vh;            /* 🔥 Reduced height */
        padding: 60px 0 40px;
        background-position: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 15.5px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        display: none; /* ✅ Clean mobile hero */
    }
}

/* Extra-small phones */
@media (max-width: 480px) {
    .hero {
        min-height: 48vh;
    }
}

/* ******************************************************************************************** */

/* ===============================
   FEATURES
================================ */

.features {
    padding: 90px 0;
    background: #faf8ff;
}

/* GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* CARD */
.feature-card {
    padding: 34px 30px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(98, 57, 247, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Hover — desktop only feel */
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 10, 60, 0.08);
    border-color: rgba(98, 57, 247, 0.25);
}

/* TITLE */
.feature-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #12132d;

    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON (emoji or svg safe) */
.feature-card h3 span,
.feature-card h3 i {
    font-size: 18px;
}

/* TEXT */
.feature-card p {
    font-size: 15.5px;
    line-height: 1.65;
    color: #4b4d6a;
    margin: 0;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px) {
    .features {
        padding: 70px 0;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        padding: 26px 22px;
        border-radius: 14px;
    }

    .feature-card h3 {
        font-size: 16.5px;
    }

    .feature-card p {
        font-size: 14.8px;
    }
}


/* ********************************************************************************************************************************** */

/* ===============================
   FOOTER
================================ */
.site-footer {
    background: var(--dark);
    color: #dcdcdc;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand h3 {
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #dcdcdc;
    transition: color 0.2s ease;
}

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

/* ===============================
   FOOTER BOTTOM (LEFT / RIGHT)
================================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 18px 0;
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===============================
   BRAND TEXT COLOR
================================ */
.text-primary {
    color: var(--primary);
}

/* ===============================
   HERO TITLE
================================ */
.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--primary);
}


/* ********************************************************************************************************************************* */

/* ===============================
   ABOUT PRAGIA – DARK SECTION
================================ */
.about-pragia-dark {
    background: radial-gradient(
        circle at top,
        #1a1d3b 0%,
        #0b0e1a 60%,
        #000000 100%
    );
    color: #ffffff;
    padding: 120px 0;
}

.about-inner {
    display: grid;
    grid-template-columns: 1.2fr;
    max-width: 900px;
}

.about-content h2 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: left;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 18px;
    color: #ffffff;
}

/* BUTTON */
.btn-outline-light {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 26px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #000000;
}

/* MOBILE */
@media (max-width: 900px) {
    .about-pragia-dark {
        padding: 90px 0;
        text-align: left; /* ✅ LEFT on mobile only */
    }

    .about-inner {
        padding: 0 20px; /* better mobile breathing space */
    }

    .about-content h2 {
        font-size: 34px;
        text-align: left;
    }

    .about-content p,
    .about-lead {
        text-align: left;
    }

    .btn-outline-light {
        margin-left: 0;   /* button aligns left */
        margin-right: 0;
    }
}



/* ************************************************************************************************************** */


/* ===============================
   HOW IT WORKS (DARK SECTION)
================================ */
.how-it-works {
    background: #0f1225;
    padding: 100px 0;
    color: #ffffff;
}

.how-header {
    max-width: 640px;
    margin: 0 auto 60px; /* center container */
    text-align: center;  /* center h2 and p */
}


.how-header h2 {
    font-size: 42px;
    margin-bottom: 14px;
    font-weight: 700;
    
}

.how-header h2 span {
    color: var(--primary);
}

.how-header p {
    color: #cfcfe6;
    font-size: 17px;
    line-height: 1.6;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Cards */
.how-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.how-card.highlight {
    background: linear-gradient(
        135deg,
        rgba(98, 57, 247, 0.18),
        rgba(98, 57, 247, 0.08)
    );
}

.how-card h3 {
    font-size: 26px;
    margin-bottom: 24px;
}

/* Steps */
.how-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.how-card li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #e6e6f0;
}

.how-card li span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Button */
.how-btn {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.how-btn:hover {
    color: var(--secondary);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {

    .how-grid {
        grid-template-columns: 1fr;
    }

    /* ✅ LEFT align header on mobile */
    .how-header {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .how-header h2 {
        font-size: 34px;
    }
}


/* ***************************************************************************************************** */


/* ===============================
   WHY CHOOSE PRAGIA
================================ */

.why-pragia {
    background: #ffffff;
    padding: 100px 0;
}

/* HEADER */
.why-header {
    max-width: 640px;
    margin: 0 auto 70px;
    text-align: center;
}

.why-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f1225;
}

.why-header h2 span {
    color: var(--primary);
}

.why-header p {
    font-size: 17px;
    line-height: 1.6;
    color: #5a5d7a;
}

/* GRID */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.why-card {
    background: #faf8ff;
    border-radius: 18px;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid rgba(98, 57, 247, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 10, 60, 0.08);
    border-color: rgba(98, 57, 247, 0.25);
}

/* ICON */
.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(98, 57, 247, 0.12);
    color: var(--primary);
    font-size: 26px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* TEXT */
.why-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #12132d;
}

.why-card p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #4b4d6a;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px) {
    .why-pragia {
        padding: 80px 0;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .why-header h2 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .why-pragia {
        padding: 70px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 32px 22px;
        text-align: left;
    }

    .why-icon {
        margin-left: 0;
    }
}


/* ********************************************************************************************************************* */


/* ===============================
   APP DOWNLOAD / PREVIEW (DARK GRADIENT)
================================ */

.app-preview {
    background: radial-gradient(
        circle at top,
        #1a1d3b 0%,
        #0b0e1a 60%,
        #000000 100%
    );
    padding: 110px 0;
    color: #ffffff;
}

.app-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* CONTENT */
.app-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
}

.app-content h2 span {
    color: var(--primary);
}

.app-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #d6d6e8;
    margin-bottom: 26px;
    max-width: 520px;
}

/* POINTS */
.app-points {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.app-points li {
    font-size: 15.8px;
    margin-bottom: 12px;
    color: #e6e6f2;
}

/* BUTTONS */
.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-buttons .btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}

.app-buttons .btn-outline {
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.app-buttons .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

/* IMAGE */
.app-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin-left: auto;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px) {
    .app-preview {
        padding: 90px 0;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .app-image img {
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .app-preview {
        padding: 80px 0;
    }

    .app-content h2 {
        font-size: 34px;
    }

    .app-lead,
    .app-points li {
        text-align: left;
    }

    .app-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-buttons a {
        width: 100%;
        text-align: center;
    }
}


/* ************************************************************************************************************* */

/* ===============================
   TESTIMONIALS (WHITE SECTION)
================================ */

.testimonials {
    background: #ffffff;
    padding: 110px 0;
}

/* HEADER */
.testimonials-header {
    max-width: 640px;
    margin: 0 auto 70px;
    text-align: center;
}

.testimonials-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f1225;
}

.testimonials-header h2 span {
    color: var(--primary);
}

.testimonials-header p {
    font-size: 17px;
    line-height: 1.6;
    color: #5a5d7a;
}

/* GRID */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.testimonial-card {
    background: #faf8ff;
    border-radius: 18px;
    padding: 34px 30px;
    border: 1px solid rgba(98, 57, 247, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 10, 60, 0.08);
}

/* TEXT */
.testimonial-text {
    font-size: 15.8px;
    line-height: 1.65;
    color: #2e3055;
    margin-bottom: 26px;
}

/* USER */
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-user strong {
    display: block;
    color: #0f1225;
    font-size: 15px;
}

.testimonial-user span {
    font-size: 13.5px;
    color: #6b6f8f;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px) {
    .testimonials {
        padding: 90px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .testimonials-header h2 {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        text-align: left;
    }

    .testimonials-header {
        text-align: left;
    }
}

/* *********************************************************************************************** */

/* ===============================
   FINAL CTA (GRADIENT)
================================ */

.final-cta {
    background: radial-gradient(
        circle at top,
        #1a1d3b 0%,
        #0b0e1a 60%,
        #000000 100%
    );
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
}

.final-cta-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ===============================
   TEXT
================================ */

.final-cta h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.25;
}

.final-cta h2 span {
    color: var(--primary);
}

.final-cta p {
    font-size: 18px;
    line-height: 1.6;
    color: #d6d6e8;
    margin-bottom: 40px;
}

/* ===============================
   CTA BUTTON WRAPPER
================================ */

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

/* ===============================
   STORE BUTTONS
================================ */

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Base Store Button */
.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

/* Store Icons */
.store-btn i {
    font-size: 26px;
}

/* Store Text */
.store-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-btn small {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

/* Google Play Button */
.store-btn.playstore {
    background: linear-gradient(135deg, #00c853, #00b0ff);
    box-shadow: 0 10px 25px rgba(0, 176, 255, 0.35);
}

/* App Store Button */
.store-btn.appstore {
    background: linear-gradient(135deg, #2c2c2c, #000000);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Hover Effect */
.store-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* ===============================
   SECONDARY CTA BUTTON
================================ */

.cta-buttons .btn-outline {
    padding: 16px 38px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.45);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.cta-buttons .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .final-cta {
        padding: 90px 20px;
    }

    .final-cta h2 {
        font-size: 34px;
    }

    .final-cta p {
        font-size: 16px;
    }
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px) {
    .final-cta {
        padding: 100px 0;
    }

    .final-cta h2 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .final-cta {
        padding: 90px 0;
        text-align: left;
    }

    .final-cta-inner {
        padding: 0 20px;
    }

    .final-cta h2 {
        font-size: 32px;
    }

    .final-cta p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}
