/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-solid {
    background: var(--brand);
    color: white;
    box-shadow: var(--shadow);
}

.btn-solid:hover {
    background: var(--brand-600);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: white;
}

.btn-solid:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-ghost:hover {
    background: var(--brand);
    color: white;
    box-shadow: var(--shadow);
}

.btn-accent {
    background: var(--accent);
    color: var(--brand);
    box-shadow: var(--shadow);
}

.btn-accent:hover {
   background: #00d4ff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--brand);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* ==================== INPUTS ==================== */
.input,
.select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--card);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    outline: none;
}

.input:focus,
.select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(27, 14, 84, 0.1);
}

.input::placeholder {
    color: var(--muted);
}

.input:disabled,
.select:disabled {
    background: var(--bg);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.input-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}

.input-hint {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ==================== CARDS ==================== */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
}

.card-body {
    margin-bottom: 1.5rem;
}

.card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

.card-flat {
    box-shadow: none;
    border: 1px solid #E5E7EB;
}

/* ==================== BADGES & CHIPS ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--brand);
    color: white;
}

.badge-accent {
    background: var(--accent);
    color: var(--brand);
}

.badge-muted {
    background: #E5E7EB;
    color: var(--muted);
}

.badge-success {
    background: #10B981;
    color: white;
}

.badge-warning {
    background: #F59E0B;
    color: white;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg);
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    color: var(--ink);
    transition: all 0.2s ease;
}

.chip:hover {
    background: var(--card);
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.chip-active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* ==================== SECTIONS ==================== */
.section-pad {
    padding: var(--section-pad) 0;
}

.section-pad-sm {
    padding: var(--section-pad-sm) 0;
}

.section-pad-top {
    padding-top: var(--section-pad);
}

.section-pad-bottom {
    padding-bottom: var(--section-pad);
}

/* ==================== GRID UTILITIES ==================== */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

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

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

/* ==================== FLEX UTILITIES ==================== */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ==================== TEXT UTILITIES ==================== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--muted);
}

.text-brand {
    color: var(--brand);
}

.text-accent {
    color: var(--accent);
}

.font-heading {
    font-family: var(--font-heading);
}

.font-accent {
    font-family: var(--font-accent);
}

/* ==================== SPACING UTILITIES ==================== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #1B0E54 0%, #24126e 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero {
        padding: 4rem 0 3rem;
    }
}

/* ==================== CERTIFICATION BADGES ==================== */
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    min-width: 120px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cert-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 194, 255, 0.05) 0%, rgba(27, 14, 84, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-badge:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(0, 194, 255, 0.2);
    transform: translateY(-8px) scale(1.05);
}

.cert-badge:hover::before {
    opacity: 1;
}

.cert-badge-icon {
    font-size: 2.5rem;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.cert-badge:hover .cert-badge-icon {
    transform: scale(1.2) rotate(5deg);
}

.cert-badge-text {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* ==================== ICON GRID ==================== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.icon-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.icon-item-icon {
    font-size: 2.5rem;
}

.icon-item-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand);
    margin: 0;
}

.icon-item-desc {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* ==================== PRODUCT CARDS ==================== */
.product-card {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 50%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    border-color: var(--brand);
    box-shadow: 0 12px 32px rgba(27, 14, 84, 0.2);
    transform: translateY(-8px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.product-card:hover .product-card-icon {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) invert(1);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.product-card:hover .product-card-title {
    color: white;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.product-card:hover .product-card-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== INFO BOXES ==================== */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-box {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    text-align: center;
}

.info-box:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(0, 194, 255, 0.1);
}

.info-box-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.info-box-label {
    font-size: 0.9375rem;
    color: var(--brand);
    font-weight: 600;
}

.info-box-desc {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox:checked {
    background: var(--brand);
    border-color: var(--brand);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
}

.checkbox-label a {
    color: var(--brand);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--brand-600);
}
