/* --- Font --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/font.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


/* --- CSS Variables --- */
:root {
    --primary-color: #007AFF; 
    --primary-hover: #005bb5;
    --bg-color: #ffffff;
    --text-main: #000000;
    --text-muted: #555555;
    --border-color: #eaeaea;
    --card-bg: #f9f9fb;
}

/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Utilities --- */
.text-primary { color: var(--primary-color); }
.text-center { text-align: center; }

/* --- Navbar --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    background-color: rgba(255, 255, 255, 0.85); /* rgba in loc de solid pentru blur */
    min-height: 4.5rem;
    padding: 10px 5%; 
    align-items: center;
    justify-content: space-between; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
}

/* --- Buttons --- */
.navbar-btn {
    display: inline-flex;
    padding: 4px 16px;
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
}

/* --- Layout --- */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 4rem;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    margin: 6rem 1rem 4rem 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* --- About & Sections --- */
.about-container {
    width: 100%;
    max-width: 900px;
    margin: 1px auto;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 1px;
   
}

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

.about-logo {
    flex-shrink: 0; 
}

.text-about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-about p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.custom-hr {
    border: none;          
    height: 2px;      
    background-color: var(--primary-color); 
    width: 60px;            
    margin: 15px auto 25px auto; 
    border-radius: 2px;
}


.price-card {
    width: 40rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    justify-self: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 3px;
    margin-left: auto;
    margin-right: auto;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.price-card h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.price-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.price-card.popular {
    border-color: var(--primary-color);
    background-color: #f4f9ff;
    position: relative;
}

/* --- Footer --- */
.footer-home {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.socials {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: all 0.3s ease;
}

.social-icon img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.social-icon:hover img {
    filter: brightness(0) invert(1); 
}

.copyy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-logo {
        width: 80%;
        max-width: 250px;
    }
    
    .custom-hr {
        margin: 10px auto;
    }

  
    .pricing-grid {
        flex-direction: column; 
        align-items: center;   
    }

    .price-card {
        width: 100%;           
        max-width: 350px;       
    }
}

/* =========================================
   DOCS PAGE STYLES (API Documentation)
   ========================================= */

.docs-body {
    background-color: var(--bg-color);
}

.docs-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 5rem); /* Scade inaltimea navbar-ului */
}

/* Sidebar Navigation */
.docs-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    position: sticky;
    top: 5rem; /* Ramane fix sub navbar */
    height: calc(100vh - 5rem);
    overflow-y: auto;
    background-color: #fafafa;
}

.docs-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.docs-sidebar h3:first-child {
    margin-top: 0;
}

.docs-sidebar ul {
    list-style: none;
    padding: 0;
}

.docs-sidebar ul li {
    margin-bottom: 0.5rem;
}

.docs-sidebar ul li a {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    display: block;
    padding: 5px 0;
}

.docs-sidebar ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Efect fin de hover */
}

/* Main Content Area */
.docs-content {
    flex: 1;
    padding: 3rem 4rem;
    max-width: 900px;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.docs-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.docs-content p {
    margin-bottom: 1rem;
    color: #444;
}

.docs-content code {
    background-color: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #e83e8c;
}

.docs-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 3rem 0;
}

/* Code Blocks (Dark Mode) */
.code-block {
    background-color: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.code-header {
    background-color: #2d2d2d;
    color: #aaaaaa;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-family: sans-serif;
    border-bottom: 1px solid #444;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block pre code {
    background-color: transparent;
    color: #d4d4d4; /* Text alb/gri pentru cod */
    padding: 0;
    font-size: 0.95rem;
}

/* API Endpoints Badges */
.endpoint {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-family: monospace;
    font-size: 1.1rem;
}

.method {
    font-weight: bold;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 0.9rem;
}

.method.get { background-color: #10b981; } /* Verde pentru GET */
.method.post { background-color: #3b82f6; } /* Albastru pentru POST */

/* Parameters Table */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem 0;
}

.docs-table th, .docs-table td {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.docs-table th {
    background-color: #f9f9fb;
    font-weight: 600;
    color: var(--text-muted);
}

/* Alerts / Warnings */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 5px solid;
}

.alert-warning {
    background-color: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

/* Docs Footer */
.footer-docs {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--card-bg);
}

/* Docs Responsive */
@media (max-width: 900px) {
    .docs-wrapper {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
    }

    .docs-content {
        padding: 2rem 1.5rem;
    }
}


        .search-wrapper {
            width: 100%;
            max-width: 500px;
            text-align: center;
            
        }

        

        
        #searchBar {
            width: 100%;
            padding: 15px 20px;
            font-size: 18px;
            border-radius: 30px;
            border: 1px solid #2a2a2a;
            background: var(--bg-color);
            color: rgb(0, 0, 0);
            outline: none;
            box-sizing: border-box;
        
        }

        #searchBar:focus { border-color: #007bff; }

 
        #resultsList {
            margin-top: 20px;
            width: 100%;
            max-width: 500px;
            display: none;
        }

        .list-item {
            display: flex;
            align-items: center;
            padding: 10px;
            background: var(--bg-color);
            margin-bottom: 5px;
            border-radius: 8px;
            border: 1px solid #333;
        }


        .list-item img {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 15px;
            background: #333;
        }

        .list-item span {
            font-size: 16px;
            font-weight: bold;
        }

        .no-match {
            color: #888;
            text-align: center;
            margin-top: 20px;
        }



.apis-container {
    width: 100%;
    max-width: 900px;
    margin: 0.5rem auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.text-price{

margin: 10px;


}




.footer-links {
    display: flex; 
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap; 
   
}

.footer-link:hover {
    color: var(--primary-color)
}


@media (max-width: 600px) {
    .footer-links {
        flex-direction: column; 
        align-items: center;    
        gap: 15px;              
    }
}


a.disabled {
  pointer-events: none;
  cursor: default;
  background-color:#0000005e;
  border-style:none;


}


.img-mobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
    .img-mobile {
        display: block;
        width: 16rem; 

    }
}

.hide-on-mobile{

margin: 10px;

}

.product{

border-style: none;



}

.table-features{

border-color:#005bb5;
border-style:solid;
background-color:#ffffff;
width:100%;

}


.flex-grid{

background-color:#f9f9fb;
padding: 2rem;
border-style:solid;
border-radius:10px;
border-width: 0.1px;
border-color:#c8c1c1 

}

.flex-grid .col{

background-color: #066bb93f ;
border-style: solid;
border-width:1px;
margin:10px;
border-radius: 10px;
border-color:#b4afaf;
padding: 1rem;
color: var(--primary-color);
transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.flex-grid .col:hover{

background-color: #e4e4e4 ;
border-style: solid;
border-width:1px;
margin:10px;
border-radius: 10px;
border-color:#b4afaf;
padding: 1rem;
color: var(--primary-color);
transform: translateY(-5px);

}