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

body {
    font-family: 'Poppins', sans-serif;
    background: #020617;
    color: #e5e7eb;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ============================= */
/*            HEADER             */
/* ============================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #020617 0%, #0b1120 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(8px);
}

/* Container header */
.header-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(56,189,248,0.45));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo span {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: #e0f2fe;
}

/* NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    color: #cbd5f5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.25s ease;
}

/* underline animat */
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #7dd3fc;
}

.main-nav a:hover::after {
    width: 100%;
}

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

@media (max-width: 900px) {
    .header-inner {
        min-height: 90px;
    }

    .logo img {
        height: 65px;
    }

    .main-nav {
        display: none; /* meniu mobil putem face ulterior */
    }
}

/* ============================= */
/*            SECTIUNI           */
/* ============================= */

main {
    padding-bottom: 40px;
}

.hero {
    padding: 60px 0 30px;
    background: radial-gradient(circle at top, #1e293b 0, #020617 60%);
}

.hero-inner {
    text-align: left;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #93c5fd;
}

.hero-text p {
    font-size: 14px;
    max-width: 520px;
    line-height: 1.6;
    color: #e5e7eb;
}

.section {
    padding: 30px 0;
}

.section-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.info-card {
    background: #0b1120;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.info-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: #e5e7eb;
}

/* HERO METRICS */

.hero-metrics {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.hero-metric {
    background: #0b1120;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-metric-label {
    font-size: 11px;
    color: #9ca3af;
}

.hero-metric-value {
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

/* CTA BOX */

.cta-box {
    background: radial-gradient(circle at top, rgba(56,189,248,0.18), #020617 70%);
    border-radius: 16px;
    padding: 22px 20px 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-align: left;
}

.cta-box h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 14px;
    color: #e5e7eb;
    line-height: 1.6;
}

.cta-note {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

/* ============================= */
/*         PANEL CLOUDCASA       */
/* ============================= */

.hero-card {
    margin-top: 24px;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.16), #020617 70%);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 14px 16px 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.hero-card-header {
    font-size: 13px;
    margin-bottom: 10px;
    color: #e5e7eb;
    font-weight: 500;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding-bottom: 6px;
}

.hero-card-body {
    font-size: 13px;
    margin-top: 4px;
}

.panel-section-title {
    margin: 18px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #93c5fd;
}

/* 4 carduri pe rand */

.hero-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

.panel-card {
    background: #0b1120;
    border-radius: 14px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    transition: 0.25s ease;
    text-align: left;
}

.panel-card:hover {
    transform: translateY(-3px);
    border-color: #38bdf8;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.panel-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.panel-title {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 2px;
}

.panel-value {
    font-size: 17px;
    font-weight: 600;
    margin: 2px 0 4px;
}

.panel-meta {
    font-size: 11px;
    color: #a5b4fc;
}

/* status colors */

.status-ok {
    color: #4ade80;
    font-weight: 600;
}

.status-warn {
    color: #fbbf24;
    font-weight: 600;
}

/* text sub panou */

.hero-card-footer {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 6px;
    line-height: 1.5;
}

/* ============================= */
/*            FOOTER             */
/* ============================= */

.footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 14px 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: center;
}

/* ============================= */
/*            HERO – ENTERPRISE  */
/* ============================= */

.hero {
    padding: 90px 0 70px;
    background: radial-gradient(circle at top left, #0f172a 0%, #020617 60%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: flex-start;
}

/* STÂNGA */

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.08);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 15px;
    color: #cbd5f5;
}

.hero-description {
    font-size: 14px;
    color: #9ca3af;
    max-width: 620px;
    line-height: 1.7;
}

.hero-cta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.hero-btn-primary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    background: #38bdf8;
    color: #020617;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.8);
}

.hero-btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.92);
}

.hero-cta-note {
    font-size: 12px;
    color: #9ca3af;
}

.hero-meta-line {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

/* STATS */

.hero-stats {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-value {
    font-size: 15px;
    font-weight: 600;
}

/* DREAPTA – CARD ENTERPRISE */

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-highlight-card {
    background: #020617;
    border-radius: 18px;
    padding: 22px 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.95);
    max-width: 360px;
    width: 100%;
}

.hero-highlight-card h3 {
    font-size: 17px;
    margin-bottom: 14px;
    color: #e5e7eb;
}

.hero-highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.highlight-item {
    padding: 8px 10px;
    border-radius: 10px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.highlight-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.highlight-value {
    font-size: 13px;
    color: #e5e7eb;
}

.hero-highlight-footnote {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

/* RESPONSIVE HERO */

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .hero-title {
        font-size: 30px;
    }
}

.paypal-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 28px;
    border-radius: 999px;
    border: none;

    background: linear-gradient(135deg, #0070ba, #003087);
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.2s ease;

    box-shadow: 0 18px 45px rgba(15,23,42,0.95);
}

.paypal-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(15,23,42,1);
    background: linear-gradient(135deg, #0085d1, #004a8f);
}

.paypal-btn-large:active {
    transform: translateY(0px);
}
.site-footer {
    background: #020617;
    border-top: 1px solid rgba(148,163,184,0.35);
    padding: 20px 0 24px;
    margin-top: 30px;
    color: #e5e7eb;
    font-size: 13px;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 18px;
    align-items: flex-start;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.footer-text {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 6px;
}
.footer-text-small {
    font-size: 11px;
    color: #6b7280;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 4px;
}
.footer-links a {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: none;
}
.footer-links a:hover {
    color: #e5e7eb;
    text-decoration: underline;
}

.footer-anpc-logos {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.footer-anpc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.35);
    transition: 0.15s ease;
}
.footer-anpc-link span {
    font-size: 11px;
    color: #e5e7eb;
}
.footer-anpc-link:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 26px rgba(15,23,42,0.9);
}

.footer-anpc-img {
    width: 40px;
    height: auto;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === COOKIE BANNER BARĂ JOS === */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #050816;          /* fundal închis */
    color: #ffffff;
    padding: 16px 24px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    display: none;                 /* ascunsă by default, o arătăm din JS */
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    margin: 0;
}

.cookie-banner-link a {
    color: #66b2ff;
    text-decoration: underline;
}

/* Butoane */
.cookie-btn {
    border-radius: 6px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #3b82f6;
    color: #ffffff;
}

.cookie-btn-muted {
    background: #1f2933;
    color: #ffffff;
}

.cookie-btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid #4b5563;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
}

/* === PANOU DETALIAT === */
.cookie-panel {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-panel[hidden] {
    display: none;
}

.cookie-panel-inner {
    background: #0b1020;
    color: #ffffff;
    max-width: 560px;
    width: 100%;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.cookie-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookie-panel-title {
    font-size: 18px;
    font-weight: 600;
}

.cookie-panel-close {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

.cookie-panel-intro {
    font-size: 14px;
    margin-bottom: 16px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.cookie-option-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.cookie-option-desc {
    font-size: 13px;
    color: #cbd5f5;
}

.cookie-option-badge {
    font-size: 12px;
    background: #1f2933;
    border-radius: 999px;
    padding: 4px 10px;
}

/* Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #4b5563;
    transition: 0.2s;
    border-radius: 999px;
}

.cookie-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-switch-slider {
    background-color: #3b82f6;
}

.cookie-switch input:checked + .cookie-switch-slider:before {
    transform: translateX(20px);
}

.cookie-panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}