:root {
    --krdt-orange: #f27a24;
    --krdt-blue: #4e73df;
    --krdt-dark: #222;
    --krdt-light: #f8f9fc;
    --krdt-gradient: linear-gradient(90deg, #f27a24 0%, #4e73df 100%);
    --krdt-primary-light: #e3f2fd;
    --krdt-warning-light: #fff3e0;
    --krdt-success-light: #e8f5e8;
}
body {
    background: var(--krdt-light);
    color: var(--krdt-dark);
}

.hero-section {
    background: var(--krdt-gradient);
    color: #fff;
    padding: 80px 0 60px 0;
    position: relative;
}
.hero-section .display-4 {
    font-weight: 700;
    letter-spacing: -1px;
}
.hero-section .btn-primary {
    background: #fff;
    color: #F27A24;
    border: none;
}
.hero-section .btn-primary:hover {
    background: #F27A24;
    color: #fff;
}
.hero-section .btn-outline-primary {
    border-color: #fff;
    color: #fff;
}
.hero-section .btn-outline-primary:hover {
    background: #fff;
    color: #F27A24;
}
.device-card {
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    margin: 0.5rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: inline-block;
    min-width: 120px;
}
.device-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item {
    padding: 1rem;
}
.hero-stats .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.hero-stats .stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}
.hero-buttons {
    margin-top: 2rem;
}
.text-white {
    color: #fff !important;
}
.lead {
    font-size: 1.1rem;
    font-weight: 300;
}
.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}
.display-5 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}
.fw-bold {
    font-weight: 700 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.me-2 {
    margin-right: 0.5rem !important;
}
.me-3 {
    margin-right: 1rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.w-100 {
    width: 100% !important;
}
.h-100 {
    height: 100% !important;
}
.text-center {
    text-align: center !important;
}
.align-items-center {
    align-items: center !important;
}
.justify-content-center {
    justify-content: center !important;
}
.bg-light {
    background-color: #f8f9fa !important;
}
.small {
    font-size: 0.875em;
}
.dropdown-menu {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}
.dropdown-item {
    color: var(--krdt-dark);
    padding: 0.5rem 1rem;
    transition: background 0.2s;
}
.dropdown-item:hover {
    background: var(--krdt-light);
    color: #F27A24;
}
.dropdown-item.active {
    background: #F27A24;
    color: #fff;
}

.card {
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card-body {
    padding: 1.5rem;
}
.card-title {
    color: var(--krdt-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}
.card-text {
    color: #666;
    line-height: 1.6;
}
.fa-3x {
    font-size: 3em;
}
.fa-2x {
    font-size: 2em;
}
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}
.g-4 > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: calc(var(--bs-gutter-y) * 0.5);
    margin-bottom: calc(var(--bs-gutter-y) * 0.5);
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
}
.col-4, .col-6, .col-lg-3, .col-lg-4, .col-lg-6, .col-md-6 {
    flex: 0 0 auto;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}
@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}
@media (min-width: 576px) {
    .col-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}
.feature-section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
}
.feature-icon {
    font-size: 2.2rem;
    color: #F27A24;
    margin-bottom: 1rem;
}
.feature-item {
    text-align: center;
    padding: 1rem;
}
.features-included {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.container-fluid, .container { margin: 40px auto; }
.min-vh-75 {
    min-height: 75vh;
}
.text-gradient {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.hero-waves svg {
    width: 100%;
    height: auto;
}
.floating-devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.download-section {
    background: #f8f9fa;
}
.download-stats {
    margin-top: 2rem;
}
.download-stats .stat-item {
    padding: 1rem;
    text-align: center;
}
.download-stats .stat-item h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.download-stats .stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}
.download-content {
    padding-right: 2rem;
}
.version-info .alert {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.version-info .btn {
    margin: 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.version-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.requirements-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    overflow: hidden;
}
.requirements-card .card-header {
    background: var(--krdt-gradient);
    color: #fff;
    padding: 1.5rem;
    border: none;
}
.requirements-card .card-body {
    padding: 1.5rem;
}
.requirement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.requirement-icon {
    width: 40px;
    height: 40px;
    background: var(--krdt-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F27A24;
    font-size: 1.2rem;
}
.requirement-content h6 {
    margin: 0;
    font-weight: 600;
}
.requirement-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}
.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 0.5rem;
    transition: background 0.3s;
}
.social-icon:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
}
.footer {
    background: var(--krdt-gradient);
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
    margin-top: 3rem;
    flex-shrink: 0;
}
.footer a { color: #fff; text-decoration: underline; }
.bg-primary-light {
    background-color: var(--krdt-primary-light) !important;
}
.bg-warning-light {
    background-color: var(--krdt-warning-light) !important;
}
.bg-info-light {
    background-color: #e3f2fd !important;
}
.text-primary {
    color: #F27A24 !important;
}
.text-warning {
    color: #ffc107 !important;
}
.text-success {
    color: #28a745 !important;
}
.text-danger {
    color: #dc3545 !important;
}
.text-info {
    color: #17a2b8 !important;
}
.text-secondary {
    color: #6c757d !important;
}
.text-muted {
    color: #6c757d !important;
}
.btn-outline-primary, 
button.btn-outline-primary, 
a.btn-outline-primary {
    color: #fff !important;
    border-color: #fff !important;
    background-color: transparent !important;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background-color: #e66a1f !important;
    border-color: #e66a1f !important;
    color: #fff !important;
}
.btn-outline-primary,
button.btn-outline-primary,
a.btn-outline-primary {
    color: #F27A24 !important;
    border-color: #F27A24 !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover,
button.btn-outline-primary:hover,
a.btn-outline-primary:hover {
    background-color: #F27A24 !important;
    border-color: #F27A24 !important;
    color: #fff !important;
}

/* Form Elements - High specificity overrides */
.form-control,
input.form-control,
select.form-control,
textarea.form-control {
    border: 1px solid #e1e5e9 !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #F27A24 !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 122, 36, 0.25) !important;
    outline: none !important;
}
.form-control::placeholder {
    color: #6c757d !important;
}
.form-label,
label.form-label {
    color: var(--krdt-dark) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}
.form-select,
select.form-select {
    border: 1px solid #e1e5e9 !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-select:focus,
select.form-select:focus {
    border-color: #F27A24 !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 122, 36, 0.25) !important;
    outline: none !important;
}
.input-group-text,
span.input-group-text {
    background-color: var(--krdt-light) !important;
    border: 1px solid #e1e5e9 !important;
    color: #F27A24 !important;
}

/* Alert Messages - High specificity */
.alert,
div.alert {
    border: none !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1rem !important;
}
.alert-success,
div.alert-success {
    background-color: var(--krdt-success-light) !important;
    color: #155724 !important;
    border-left: 4px solid #28a745 !important;
}
.alert-danger,
div.alert-danger {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 4px solid #dc3545 !important;
}
.alert-warning,
div.alert-warning {
    background-color: var(--krdt-warning-light) !important;
    color: #856404 !important;
    border-left: 4px solid #ffc107 !important;
}
.alert-info,
div.alert-info {
    background-color: var(--krdt-primary-light) !important;
    color: #0c5460 !important;
    border-left: 4px solid #17a2b8 !important;
}

/* Form Validation */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
}
.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
}

/* Form Groups and Layout */
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.form-footer {
    margin-top: 2rem;
    text-align: center;
}
.form-check {
    margin-bottom: 0.5rem;
}
.form-check-input:checked {
    background-color: var(--krdt-blue);
    border-color: var(--krdt-blue);
}
.form-check-input:focus {
    border-color: #F27A24;
    box-shadow: 0 0 0 0.2rem rgba(242, 122, 36, 0.25);
}
.form-check-input:checked {
    background-color: #F27A24;
    border-color: #F27A24;
}
.form-check-label {
    color: var(--krdt-dark);
    margin-left: 0.5rem;
}

/* Tabler-specific overrides - High specificity */
.border-primary,
*[class*="border-primary"] {
    border-color: #F27A24 !important;
}
.text-primary,
*[class*="text-primary"] {
    color: #F27A24 !important;
}
.text-muted,
*[class*="text-muted"] {
    color: #6c757d !important;
}
.card,
*[class*="card"] {
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}
.rounded-pill {
    border-radius: 50rem;
}
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}
.badge {
    font-size: 0.875em;
    font-weight: 500;
}
.bg-primary {
    background-color: var(--krdt-blue) !important;
}
.bg-success {
    background-color: #28a745 !important;
}
.bg-warning {
    background-color: #ffc107 !important;
}
.bg-danger {
    background-color: #dc3545 !important;
}
.bg-info {
    background-color: #17a2b8 !important;
}
.bg-secondary {
    background-color: #6c757d !important;
}
@media (max-width: 767px) {
    .hero-section { padding: 40px 0 30px 0; }
    .feature-section { padding: 1.2rem 0.7rem; }
    .floating-devices {
        flex-direction: column;
        align-items: center;
    }
    .device-card {
        min-width: 200px;
    }
}