/* =============================================================================
   Proaspăt — Modern Minimalist Design System
   Palette: Light Aqua (#87e4f9), Primary Blue (#33bde4), Navy (#00327a)
   ============================================================================= */

:root {
    --cd-primary: #33bde4;
    --cd-primary-hover: #1f9ac9;
    --cd-primary-light: #87e4f9;
    --cd-navy: #00327a;
    --cd-secondary: #10b981;
    --cd-secondary-hover: #059669;
    --cd-dark: #00327a;
    --cd-dark-surface: #00225a;
    --cd-light: #f8fafc;
    --cd-border: #e2e8f0;
    --cd-text: #00327a;
    --cd-text-muted: #5a7099;
    --cd-text-heading: #00327a;
    --cd-radius: 16px;
    --cd-radius-lg: 24px;
    --cd-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --cd-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --cd-shadow-lg: 0 20px 45px rgba(51, 189, 228, 0.12);
}

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

body {
    font-family: 'Armin Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: var(--cd-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--cd-text-heading);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

a {
    color: var(--cd-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Navbar */
.cd-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.25s ease;
}

.cd-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cd-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--cd-dark);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.cd-logo-img {
    display: block;
    height: 40px;
    width: auto;
}

.cd-nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.cd-nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cd-text-muted);
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
}

.cd-nav-link:hover, .cd-nav-link.active {
    color: var(--cd-primary);
}

.cd-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cd-primary);
    border-radius: 2px;
}

/* Submeniu / Dropdown Servicii */
.cd-dropdown {
    position: relative;
}

.cd-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 330px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
    padding: 0.65rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 150;
}

.cd-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.cd-dropdown:hover .cd-dropdown-menu,
.cd-dropdown.is-open .cd-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cd-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    color: var(--cd-text);
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.cd-dropdown-item:hover {
    background: #f8fafc;
    color: var(--cd-dark);
    transform: translateX(2px);
}

.cd-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Buttons */
.cd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
}

.cd-btn-primary {
    background: var(--cd-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(31, 154, 201, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-btn-primary:hover {
    background: var(--cd-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(31, 154, 201, 0.4);
    color: white;
}

.cd-btn-secondary {
    background: var(--cd-secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-btn-secondary:hover {
    background: var(--cd-secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
    color: white;
}

.cd-btn-outline {
    background: white;
    color: var(--cd-text-heading);
    border: 1.5px solid var(--cd-border);
}

.cd-btn-outline:hover {
    border-color: var(--cd-primary);
    color: var(--cd-primary);
    background: #eefbfe;
    transform: translateY(-2px);
}

.cd-btn-dark {
    background: var(--cd-dark);
    color: white;
}

.cd-btn-dark:hover {
    background: #1e293b;
    transform: translateY(-2px);
    color: white;
}

.cd-btn-lg {
    padding: 1rem 1.85rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.cd-btn-icon-top {
    flex-direction: column;
    padding: 1.2rem 1.35rem !important;
    gap: 0.6rem !important;
}

.cd-btn-icon-top i {
    font-size: 1.8rem;
    display: block;
}

.cd-btn-icon-top span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .cd-btn-icon-top {
        flex-direction: row;
        align-items: center;
        padding: 0.9rem 1.1rem !important;
        gap: 0.8rem !important;
        justify-content: flex-start;
    }

    .cd-btn-icon-top i {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .cd-btn-icon-top span {
        display: inline;
        text-align: left;
    }
}

/* Badges */
.cd-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cd-badge-primary {
    background: #d7f6fd;
    color: #0f74a6;
}

.cd-badge-emerald {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.cd-badge-amber {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Hero Minimalist */
.cd-hero {
    position: relative;
    padding: 6rem 1.5rem 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #eefbfe 50%, #f8fafc 100%);
    overflow: hidden;
    text-align: center;
}

.cd-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 209, 239, 0.15) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cd-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cd-hero-title {
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    font-weight: 800;
    color: var(--cd-dark);
    margin: 1.25rem 0;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.cd-hero-gradient-text {
    background: linear-gradient(135deg, #33bde4 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cd-hero-lead {
    font-size: clamp(1.1rem, 2.2vw, 1.28rem);
    color: var(--cd-text-muted);
    max-width: 680px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.cd-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cd-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cd-text);
}

.cd-hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Containers */
.cd-section {
    padding: 5rem 1.5rem;
}

.cd-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cd-container-sm {
    max-width: 840px;
    margin: 0 auto;
}

.cd-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.cd-section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0.75rem 0 0.75rem;
}

.cd-section-desc {
    color: var(--cd-text-muted);
    font-size: 1.05rem;
}

/* Feature Cards Grid */
.cd-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cd-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cd-card {
    background: white;
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--cd-shadow-sm);
    transition: all 0.25s ease;
    position: relative;
}

.cd-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cd-shadow-lg);
    border-color: #b3eefb;
}

.cd-card-service {
    padding: 2rem 1.75rem;
    border: 1.5px solid var(--cd-border);
}

.cd-card-service:hover {
    border-color: #d7f6fd;
}

.cd-card-accent-blue {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #ffffff 0%, #eefbfe 100%);
}

.cd-card-accent-blue:hover {
    border-color: #33bde4;
    background: linear-gradient(135deg, #ffffff 0%, #d7f6fd 100%);
}

.cd-card-accent-green {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.cd-card-accent-green:hover {
    border-color: #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.cd-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(31, 154, 201, 0.15);
}

.cd-icon-sky {
    background: linear-gradient(135deg, #d7f6fd 0%, #d7f6fd 100%);
    color: #33bde4;
}

.cd-icon-sky:hover {
    box-shadow: 0 8px 24px rgba(31, 154, 201, 0.25);
}

.cd-icon-emerald {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #10b981;
}

.cd-icon-emerald:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.cd-icon-amber {
    background: #fef3c7;
    color: #f59e0b;
}

.cd-icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

/* Step Cards */
.cd-step-num {
    width: 36px;
    height: 36px;
    background: var(--cd-primary);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* Footer */
.cd-footer {
    background: var(--cd-dark);
    color: #94a3b8;
    padding: 4.5rem 1.5rem 2rem;
    border-top: 1px solid #334155;
}

.cd-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.cd-footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cd-footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.cd-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.92rem;
}

.cd-footer-links a {
    color: #94a3b8;
}

.cd-footer-links a:hover {
    color: white;
}

.cd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    font-size: 0.85rem;
}

/* Mobile Responsive */
.cd-mobile-btn {
    display: none;
}

#cd-mobile-menu {
    display: block;
    max-height: 100vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

#cd-mobile-menu[style*="display: none"] {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 100vh;
    }
}

@media (max-width: 900px) {
    .cd-nav-links { display: none !important; }
    .cd-mobile-btn { display: inline-flex !important; }
    .cd-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cd-hero { padding: 4rem 1rem 3.5rem; }

    .cd-card-service {
        padding: 1.75rem 1.5rem;
    }

    .cd-card-icon {
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .cd-hero-cta {
        gap: 1rem;
    }

    .cd-card-service {
        padding: 1.5rem 1.25rem;
    }

    .cd-card-service h3 {
        margin-bottom: 0.75rem;
    }

    .cd-btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }
}

