/* -------------------------------------------------------
   GLOBAL STYLES
------------------------------------------------------- */
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #1c1f26;
    color: #ddd;
}

img {
    max-width: 100%;
    border-radius: 10px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.text-center { text-align: center; }


/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
header {
    background: #111318;
    padding: 15px 0;
    border-bottom: 1px solid #2b2f38;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo img {
    height: 45px;
}

/* Logo text style */
.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.logo-text span {
    color: #ffcc00;
}


nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #ccc;
    font-size: 16px;
}

nav a:hover {
    color: #fff;
}


/* -------------------------------------------------------
   HERO SECTION
------------------------------------------------------- */
.hero-section {
    padding: 90px 20px;
    color: #fff;
    text-align: center;
}

.hero-section .title {
    font-size: 2.6rem;
    font-weight: bold;
}

.hero-section .highlight {
    color: #ffc107;
}

.hero-section .subtitle {
    margin: 20px auto;
    max-width: 700px;
    font-size: 1.2rem;
}

.hero-buttons {
    margin-top: 25px;
}

.hero-image {
    margin-top: 20px;
    border-radius: 12px;
}


.about-image {
    width: 30rem;
    height: auto;
}
/* -------------------------------------------------------
   BUTTONS
------------------------------------------------------- */
.btn {
    padding: 12px 26px;
    margin: 8px;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.btn.primary {
    background: #ffc107;
    color: #000;
}

.btn.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}


/* -------------------------------------------------------
   FEATURES SECTION
------------------------------------------------------- */
.features-section {
    padding: 70px 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    background: #2b2f38;
    border: 1px solid #3a3f4b;
    padding: 35px;
    width: 30%;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.feature-card img {
    width: 120px;
    margin-bottom: 15px;
}

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


/* -------------------------------------------------------
   ABOUT SECTION
------------------------------------------------------- */


.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ccc;
}

.about-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 15px;
    color: #bbb;
}

.about-section.alt .about-text {
    text-align: left;
}

.about-list {
    list-style: none!important;
    padding-left: 0;
    margin-top: 20px;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #cfcfcf;
    line-height: 1.5;
}

/* Green check icon */
.about-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #28c76f;   /* modern green */
    font-weight: bold;
    font-size: 1.1rem;
}


/* Reverse layout */
.reverse {
    flex-direction: row-reverse;
}


/* -------------------------------------------------------
   TESTIMONIALS SECTION
------------------------------------------------------- */
.testimonials-section {
    background: #1c1f26;
    padding: 20px 20px;
}

.testimonial-card {
    background: #2b2f38;
    border: 1px solid #3a3f4b;
    padding: 25px;
    width: 30%;
    border-radius: 12px;
    transition: 0.3s;
}

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

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    margin-bottom: 5px;
    color: #fff;
}


/* -------------------------------------------------------
   CONTACT SECTION
------------------------------------------------------- */
.contact-section {
    padding: 70px 20px;
    background: #1c1f26;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: #2b2f38;
    border: 1px solid #3a3f4b;
    padding: 14px;
    border-radius: 8px;
    color: #fff;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    margin-top: 10px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-image {
    margin-top: 20px;
}


/* -------------------------------------------------------
   CTA SECTION
------------------------------------------------------- */
.cta-section {
    padding: 70px 20px;
    text-align: center;
    color: #fff;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}


/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
footer {
    background: #111318;
    padding: 25px 0;
    border-top: 1px solid #2b2f38;
    text-align: center;
    margin-top: 40px;
}

footer p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Shared link styling */
footer a {
    color: #ffc107;
    text-decoration: none;
    padding: 0 5px;
}

footer a:hover {
    text-decoration: underline;
}

/* Footer link container */
footer .footer-links {
    margin-top: 10px;
}

/* Mobile footer layout */
@media (max-width: 600px) {
    footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    footer .footer-links .separator {
        display: none;
    }
}

/* Mobile cleanup */
@media (max-width: 600px) {
    footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    footer .footer-links .separator {
        display: none;
    }
}


/* -------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------- */
@media (max-width: 900px) {
    .feature-card { width: 45%; }
    .testimonial-card { width: 45%; }
}

@media (max-width: 700px) {

    .about-container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .about-text {
        text-align: left !important;
    }

    .reverse {
        flex-direction: column;
    }

    .about-list {
        margin-left: 0;
    }

    .feature-card,
    .testimonial-card {
        width: 100%;
    }
}


@media (max-width: 550px) {
    nav { display: none; }
}


/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 1rem;
}

.alert.success {
    background: #0f5132;
    color: #d1e7dd;
    border: 1px solid #0f5132;
}

.alert.error {
    background: #842029;
    color: #f8d7da;
    border: 1px solid #842029;
}


/* ---------- Static Pages (Terms, Privacy, etc.) ---------- */


.page-card {
    max-width: 900px;
    margin: 0 auto;
    background: #2b2f38;
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid #3a3f4b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.page-card h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-card h2 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.page-card p,
.page-card ul {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #d5d5d5;
}

.page-card ul {
    margin-left: 20px;
}

.page-meta {
    font-size: 0.9rem;
    color: #9a9a9a;
    margin-bottom: 20px;
}

.page-card a {
    color: #ffc107;
    text-decoration: none;
}

.page-card a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .page-card {
        padding: 20px 15px;
    }
}

/* Desktop nav default */
nav {
    display: flex;
    gap: 20px;
}

nav a.active {
    color: #ffc107;
    font-weight: bold;
    /*border-bottom: 2px solid #ffc107;*/
}


/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #1c1f26;
        width: 100%;
        text-align: center;
        display: none;
        flex-direction: column;
        padding: 20px 0;
        border-top: 1px solid #333;
    }

    nav a {
        padding: 12px 0;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }
}


@media (min-width: 768px) {
    .about-section {
        padding: 40px 15px;
    }

}


/* ------------------------------
   DEMO PAGE
------------------------------ */
.demo-section {
    padding: 70px 20px;
    text-align: center;
}

.device-selector {
    margin: 25px 0;
}

.device-selector select {
    background: #2b2f38;
    border: 1px solid #3a3f4b;
    padding: 12px;
    color: #fff;
    font-size: 1rem;
    border-radius: 6px;
}

.preview-frame {
    margin: 20px auto;
    background: #111318;
    border: 2px solid #3a3f4b;
    border-radius: 16px;
    height: 600px;
    overflow: hidden;
    transition: width 0.3s ease;
}

.preview-content {
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.preview-content img {
    width: 100%;
    height: auto;
}


/* ------------------------------
   DOWNLOAD PAGE
------------------------------ */

.download-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.download-card {
    background: #2b2f38;
    border: 1px solid #3a3f4b;
    width: 30%;
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    transition: 0.3s;
}

.download-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.download-card h3 {
    color: #fff;
    margin-top: 10px;
}

.dl-icon {
    width: 90px;
    height: auto;
    margin-bottom: 15px;
}

.download-card p {
    color: #ccc;
    margin-bottom: 15px;
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Mobile */
@media (max-width: 900px) {
    .download-card {
        width: 45%;
    }
}

@media (max-width: 600px) {
    .download-card {
        width: 100%;
    }
}
