/* ============================================
   CloudAcropolis - Reusable BEM Components
   ============================================ */

/* ============================================
   Page Header Component
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(8, 145, 178, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 145, 178, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.page-header__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    color: #475569;
}

.page-header__breadcrumb {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.875rem;
    color: #64748b;
}

.page-header__breadcrumb a {
    color: #0891b2;
    text-decoration: none;
}

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

.page-header__breadcrumb span {
    margin: 0 0.5rem;
}

/* ============================================
   Pricing Card Component
   ============================================ */
.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 145, 178, 0.15);
    border-color: #0891b2;
}

.pricing-card--featured {
    border: 2px solid #0891b2;
    transform: scale(1.05);
}

.pricing-card--featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card--featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card__name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0891b2;
}

.pricing-card__price span {
    font-size: 1rem;
    color: #64748b;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-card__feature {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Exo 2', sans-serif;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card__feature::before {
    content: '\2713';
    color: #0891b2;
    font-weight: bold;
}

.pricing-card__feature:last-child {
    border-bottom: none;
}

.pricing-card__feature--disabled {
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-card__feature--disabled::before {
    content: '\2717';
    color: #94a3b8;
}

.pricing-card__cta {
    width: 100%;
}

/* ============================================
   Service Card Component
   ============================================ */
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 145, 178, 0.1);
    border-color: #0891b2;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
    color: #0891b2;
}

.service-card__icon i {
    font-size: 1.5rem;
    color: #0891b2;
}

.service-card__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.service-card__description {
    font-family: 'Exo 2', sans-serif;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card__link {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #0891b2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-card__link:hover {
    color: #0e7490;
    gap: 0.75rem;
}

.service-card--horizontal {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-card--horizontal .service-card__icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

.service-card--horizontal .service-card__content {
    flex: 1;
}

/* ============================================
   Feature List Component
   ============================================ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Exo 2', sans-serif;
    color: #475569;
}

.feature-list__item:last-child {
    border-bottom: none;
}

.feature-list__icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 0.75rem;
}

.feature-list__text {
    flex: 1;
    line-height: 1.6;
}

.feature-list__text strong {
    color: #1e293b;
}

/* ============================================
   News Card Component
   ============================================ */
.news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 145, 178, 0.1);
}

.news-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card__image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0891b2;
    font-size: 3rem;
}

.news-card__content {
    padding: 1.5rem;
}

.news-card__tag {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0891b2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card__title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card__title a:hover {
    color: #0891b2;
}

.news-card__excerpt {
    font-family: 'Exo 2', sans-serif;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-card__meta {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    gap: 1rem;
    font-family: 'Exo 2', sans-serif;
}

.news-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   CTA Section Component
   ============================================ */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section--primary {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
}

.cta-section--light {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.cta-section--dark {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
}

.cta-section__container {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section--primary .cta-section__title {
    color: white;
}

.cta-section--light .cta-section__title {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section__subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ============================================
   Stats Component
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item__number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #0891b2;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    font-family: 'Exo 2', sans-serif;
    color: #64748b;
    font-size: 1rem;
}

.stat-item--light .stat-item__number {
    color: white;
}

.stat-item--light .stat-item__label {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Accordion Component
   ============================================ */
.accordion-cyber {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-cyber__item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-cyber__item:last-child {
    border-bottom: none;
}

.accordion-cyber__header {
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-cyber__header:hover {
    background: #f8fafc;
    color: #0891b2;
}

.accordion-cyber__header.active {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0891b2;
}

.accordion-cyber__icon {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

.accordion-cyber__header.active .accordion-cyber__icon {
    transform: rotate(180deg);
}

.accordion-cyber__body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.accordion-cyber__body.active {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-cyber__content {
    font-family: 'Exo 2', sans-serif;
    color: #64748b;
    line-height: 1.7;
}

.accordion-cyber__content p {
    margin-bottom: 1rem;
}

.accordion-cyber__content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Button Variants
   ============================================ */
.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(8, 145, 178, 0.3);
    color: white;
}

.btn-cyber--outline {
    background: transparent;
    border: 2px solid #0891b2;
    color: #0891b2;
}

.btn-cyber--outline:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
    border-color: transparent;
}

.btn-cyber--dark {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.btn-cyber--dark:hover {
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.btn-cyber--white {
    background: #ffffff;
    color: #0891b2;
}

.btn-cyber--white:hover {
    background: #f8fafc;
    color: #0e7490;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.btn-cyber--glow {
    box-shadow: 0 0 20px rgba(8, 145, 178, 0.4);
}

.btn-cyber--glow:hover {
    box-shadow: 0 0 30px rgba(8, 145, 178, 0.6);
}

.btn-cyber--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-cyber--lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-cyber--full {
    width: 100%;
}

.btn-cyber:disabled,
.btn-cyber--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   Info Box Component
   ============================================ */
.info-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-family: 'Exo 2', sans-serif;
}

.info-box--info {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #0891b2;
    color: #0e7490;
}

.info-box--success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #059669;
    color: #047857;
}

.info-box--warning {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #d97706;
    color: #b45309;
}

.info-box--error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 1px solid #dc2626;
    color: #b91c1c;
}

.info-box__title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-box__content {
    line-height: 1.6;
}

/* ============================================
   Badge Component
   ============================================ */
.badge-cyber {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-cyber--primary {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
}

.badge-cyber--light {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0891b2;
}

.badge-cyber--success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.badge-cyber--warning {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
}

.badge-cyber--error {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

/* ============================================
   Table Component
   ============================================ */
.table-cyber {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Exo 2', sans-serif;
}

.table-cyber thead {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.table-cyber th {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #0891b2;
    padding: 1rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table-cyber td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.table-cyber tbody tr:hover {
    background: #f8fafc;
}

.table-cyber--striped tbody tr:nth-child(even) {
    background: #f8fafc;
}

/* ============================================
   Form Components
   ============================================ */
.form-cyber__group {
    margin-bottom: 1.5rem;
}

.form-cyber__label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-cyber__input,
.form-cyber__textarea,
.form-cyber__select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-cyber__input:focus,
.form-cyber__textarea:focus,
.form-cyber__select:focus {
    outline: none;
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-cyber__input::placeholder,
.form-cyber__textarea::placeholder {
    color: #94a3b8;
}

.form-cyber__textarea {
    min-height: 120px;
    resize: vertical;
}

.form-cyber__hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.form-cyber__error {
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.5rem;
}

/* ============================================
   Card Grid Layout
   ============================================ */
.card-grid {
    display: grid;
    gap: 2rem;
}

.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1199px) {
    .card-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .card-grid--2,
    .card-grid--3,
    .card-grid--4 {
        grid-template-columns: 1fr;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .cta-section__title {
        font-size: 1.75rem;
    }

    .stat-item__number {
        font-size: 2.5rem;
    }
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 575px) {
    .pricing-card--featured {
        transform: scale(1);
    }

    .pricing-card--featured:hover {
        transform: translateY(-10px);
    }

    .service-card--horizontal {
        flex-direction: column;
    }

    .cta-section__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-section__buttons .btn-cyber {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Feature Icon Large Component
   ============================================ */
.feature-icon-lg {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, rgba(14, 116, 144, 0.15) 100%);
    border: 2px solid rgba(8, 145, 178, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon-lg::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-icon-lg:hover::before {
    opacity: 1;
}

.feature-icon-lg i {
    font-size: 3rem;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-icon-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(8, 145, 178, 0.2);
}

/* Variant - White background */
.feature-icon-lg--white {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Variant - Colored background */
.feature-icon-lg--primary {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-color: transparent;
}

.feature-icon-lg--primary i {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

/* Feature icon inside primary CTA section - white background for visibility */
.cta-section--primary .feature-icon-lg {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-section--primary .feature-icon-lg:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Also apply to feature-list icons inside primary CTA */
.cta-section--primary .feature-list__icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section--primary .feature-list__icon i {
    color: white;
}

/* Back to Top Button - positioned above Tidio chat widget */
.back-to-top {
    bottom: 130px !important;
}
