/* =========================================
   1. BASE & TYPOGRAPHY
   ========================================= */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background: linear-gradient(-45deg, #0b1120, #1e3a8a, #0f766e, #4c1d95);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientWave 15s ease infinite;
    display: flex;
    flex-direction: column;
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.highlight {
    color: #2dd4bf;
}

/* =========================================
   2. HEADER & NAVIGATION (Responsive)
   ========================================= */
header {
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.main-menu {
    display: flex;
    gap: clamp(15px, 3vw, 40px);
    align-items: center;
}

.main-menu a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.main-menu a:hover:not(.btn-contact) {
    color: #2dd4bf;
}

.btn-contact {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    white-space: nowrap;
}

.btn-contact:hover {
    background: #2dd4bf;
    border-color: #2dd4bf;
    color: #0b1120;
    transform: translateY(-2px);
}

/* Mobile Menu Fix */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }
}

/* =========================================
   3. HERO SECTION (Index.html Fixes)
   ========================================= */
.hero-section {
    padding: clamp(40px, 10vh, 100px) 20px !important;
}

.hero-section h2 {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    line-height: 1.2;
}

.hero-section p {
    font-size: clamp(1rem, 3vw, 1.2rem) !important;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns a {
        width: 80%;
        margin: 0 !important;
    }
}

/* =========================================
   4. LAYOUT, PRICING & FOOTER
   ========================================= */
.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

/* Pricing Grid Responsive */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
}

/* --- Διόρθωση Καρτών Τιμοκαταλόγου --- */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Κεντράρει τον τίτλο και την τιμή */
    text-align: center;
    transition: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #2dd4bf;
}

/* Η ΛΙΣΤΑ: Στοιχισμένη αριστερά αλλά κεντραρισμένη ως μπλοκ */
.card-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    /* Τα κείμενα να ξεκινούν από αριστερά */
    width: 100%;
    max-width: 320px;
    /* Περιορίζει το πλάτος για να φαίνεται κεντραρισμένο το γκρουπ */
}

.card-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Προσθήκη εικονιδίου ✓ μπροστά από κάθε παροχή */
.card-features li::before {
    content: "✓";
    color: #2dd4bf;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-note {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: -10px;
    margin-bottom: 15px;
    margin-left: 22px;
    /* Για να στοιχίζεται κάτω από το κείμενο του li */
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    /* Τα bullets να είναι στοιχισμένα αριστερά αλλά το γκρουπ στο κέντρο */
}

.card-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-features li::before {
    content: "✓";
    color: #2dd4bf;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 15px 25px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* =========================================
   5. MODAL & COOKIE BAR (Mobile Ready)
   ========================================= */
.modal-content {
    background: #0f172a;
    margin: 5% auto;
    padding: clamp(20px, 5vw, 50px);
    width: 90%;
    max-height: 80vh;
    border-radius: 20px;
}

/* promland-style.css */

#cookie-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    /* Πολύ υψηλό για να είναι πάνω από όλα */
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(45, 212, 191, 0.4);
    border-radius: 20px;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    pointer-events: all;
    /* Διασφαλίζει ότι τα κλικ περνάνε */
}

.cookie-btns-container button {
    cursor: pointer;
    /* Δείχνει ότι είναι κλικάσιμο */
    z-index: 10001;
}

.cookie-btns-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

@media (max-width: 480px) {
    .cookie-btns-container {
        flex-direction: column;
    }
}

/* Ενσωματωμένο Design για τα κουμπιά των Cookies */
.btn-cookie-accept-all {
    background: #2dd4bf;
    color: #0b1120;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
    transition: 0.3s;
}

.btn-cookie-essential {
    background: transparent;
    color: #2dd4bf;
    border: 1px solid #2dd4bf;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
    transition: 0.3s;
}

.btn-cookie-more {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
    width: 100%;
}

/* =========================================
   6. CONTACT FORM RESPONSIVENESS
   ========================================= */
.contact-container {
    gap: 20px !important;
}

.contact-form-wrapper {
    width: 100% !important;
    padding: 25px !important;
}

.contact-intro h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
}

/* Διόρθωση για τις κάρτες τιμών στο Pricing */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.pricing-card {
    z-index: 1;
}

/* Διόρθωση για το Portfolio Grid */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

/* Γενική διόρθωση για το Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}


/* promland-style.css */

.portfolio-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Αναγκάζει το κείμενο να πάει ΚΑΤΩ από το preview */
    transition: 0.3s;
}

/* promland-style.css */

.live-preview-container {
    width: 100%;
    height: 250px;
    /* Αυξάνουμε το ύψος για να φαίνεται καλύτερα το preview */
    position: relative;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-preview-container iframe {
    width: 1200px;
    height: 850px;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    /* Υπολογισμός scale για να γεμίσει το πλάτος: αν η κάρτα είναι π.χ. 360px, 360/1200 = 0.3 */
    transform: scale(0.35);
    transform-origin: 0 0;
    pointer-events: none;
}

.portfolio-info {
    padding: 25px;
    text-align: center;
    /* Κεντράρουμε το κείμενο */
    background: rgba(15, 23, 42, 0.4);
    flex-grow: 1;
}

.portfolio-card {
    min-height: 450px;
    /* Δίνουμε ένα ελάχιστο ύψος για να είναι ομοιόμορφες οι κάρτες */
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .main-menu {
        flex-direction: column;
        gap: 10px;
    }
}

/* Στυλ για το Αναδυόμενο Παράθυρο */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.modal-content {
    background: #0f172a;
    margin: 5% auto;
    padding: clamp(20px, 5vw, 50px);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    color: #2dd4bf;
    cursor: pointer;
}

.btn-view-live {
    color: #2dd4bf !important;
    /* Teal χρώμα */
    text-decoration: underline;
    font-weight: 600;
    transition: 0.3s;
}

.btn-view-live:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #2dd4bf;
}

/* Διασφάλιση εμφάνισης Cookie Bar */
#cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 450px;
    background: #0f172a;
    border: 1px solid #2dd4bf;
    padding: 20px;
    border-radius: 15px;
    z-index: 99999;
    /* Να είναι πάνω από όλα */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Διόρθωση για τα κουμπιά στο Pricing και Projects */
.pricing-card,
.portfolio-card {
    position: relative;
    z-index: 1;
    /* Χαμηλότερο από το modal και το cookie bar */
}

.btn-view-live,
.pricing-btn {
    pointer-events: auto !important;
    /* Επιτρέπει τα κλικ */
    cursor: pointer !important;
}

/* --- Pricing Upgrade --- */

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    /* Πολύ στρογγυλεμένες γωνίες */
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Το εφέ που λαμπιρίζει (Glow Effect) */
.featured-glow {
    background: rgba(45, 212, 191, 0.08);
    border: 2px solid #2dd4bf;
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.2);
    transform: scale(1.05);
    /* Λίγο μεγαλύτερο για να ξεχωρίζει */
}

.featured-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 40px;
    background: linear-gradient(45deg, transparent, rgba(45, 212, 191, 0.4), transparent);
    z-index: -1;
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* Recommended Badge */
.recommended-badge {
    position: absolute;
    top: -15px;
    background: linear-gradient(90deg, #2dd4bf, #0f766e);
    color: #0b1120;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(45, 212, 191, 0.3);
}

/* Στρογγυλεμένα Κουμπιά */
.btn-buy {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    border-radius: 100px;
    /* Τέρμα στρογγυλεμένο */
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.premium-btn {
    background: #2dd4bf;
    color: #0b1120 !important;
    box-shadow: 0 15px 30px rgba(45, 212, 191, 0.3);
}

.premium-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(45, 212, 191, 0.5);
    background: #ffffff;
}

/* Τιμές & Εκπτώσεις */
.card-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0;
    font-family: 'Inter', sans-serif;
}

.discount-badge {
    background: #ef4444;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-left: 10px;
    vertical-align: middle;
}

.old-price {
    color: #94a3b8;
    /* Γκρι χρώμα για να φαίνεται δευτερεύουσα η τιμή */
    text-decoration: line-through;
    /* Η γραμμή διαγραφής */
    text-decoration-color: #ef4444;
    /* Το κόκκινο χρώμα της γραμμής */
    text-decoration-thickness: 2px;
    /* Το πάχος της γραμμής */
    font-size: 1.1rem;
    margin-right: 5px;
}

/* Αν θέλεις να στοχεύσεις και τις τιμές συντήρησης που έχουν την κλάση .strike */
.strike {
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 1.5px;
    opacity: 0.8;
}

/* Προσθήκη για την ενότητα πληροφοριών */
.trust-box {
    transition: transform 0.3s ease;
}

.trust-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.15);
}

/* Ήδη έχεις το .featured-glow, θα εφαρμοστεί αυτόματα και εδώ! */