@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Crimson+Pro:wght@400;500;600&display=swap');

/* Kalkulator Standalone Styles - NO TAILWIND */

/* Reset / Base */
.tk-section * {
    box-sizing: border-box;
}

.tk-section {
    background-color: #ffffff;
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.tk-header {
    text-align: center;
    margin-bottom: 64px;
}

.tk-title {
    font-family: 'Crimson Pro', serif;
    font-size: 36px;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.2;
}
@media (min-width: 1024px) {
    .tk-title { font-size: 48px; }
}

.tk-subtitle {
    font-family: 'Inter', sans-serif;
    color: #6b7280;
    margin: 0 auto;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.625;
}

.tk-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}
@media (min-width: 1024px) {
    .tk-layout { flex-direction: row; }
}

.tk-main-col {
    width: 100%;
}
@media (min-width: 1024px) {
    .tk-main-col { width: 66.666%; }
}

.tk-sidebar-col {
    width: 100%;
    margin-top: 32px;
}
@media (min-width: 1024px) {
    .tk-sidebar-col { width: 33.333%; margin-top: 0; }
}

/* Steps */
.tk-step-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.tk-step-nav::-webkit-scrollbar {
    display: none;
}

.tk-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
}
.tk-step-num--active {
    background-color: #8a9a83;
    color: #fff;
}
.tk-step-num--inactive {
    background-color: #f0f3ef;
    color: #777;
}

.tk-step-line {
    width: 32px;
    height: 1px;
    background-color: #e2e7df;
    flex-shrink: 0;
}

/* Content Area */
.tk-content {
    min-height: 400px;
}

.tk-content-title {
    font-family: 'Crimson Pro', serif;
    font-size: 24px;
    color: #333;
    margin: 0 0 24px 0;
}

.tk-content-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #777;
    margin: 0 0 24px 0;
}

/* Grids */
.tk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .tk-grid { grid-template-columns: repeat(3, 1fr); }
}

.tk-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.tk-grid-addons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
@media (min-width: 640px) {
    .tk-grid-addons { grid-template-columns: repeat(2, 1fr); }
}

.tk-grid-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .tk-grid-form { grid-template-columns: repeat(2, 1fr); }
}

/* Cards */
.tk-card {
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 12px;
    border: 1px solid #e2e7df;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tk-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.tk-card--active {
    border-color: #8a9a83;
    box-shadow: 0 0 0 1px #8a9a83;
}

.tk-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #8a9a83;
    color: #fff;
    padding: 4px;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tk-card-img-wrap {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #faf8f5;
    aspect-ratio: 4 / 3;
}
.tk-card-img-wrap--square {
    aspect-ratio: 4 / 3;
}

.tk-card-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}
.tk-card:hover .tk-card-img {
    transform: scale(1.05);
}
.tk-card-img--active {
    transform: scale(1.05);
}

.tk-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-grow: 1;
}
@media (min-width: 640px) {
    .tk-card-body { padding: 20px; }
}
.tk-card-body--center {
    align-items: center;
    text-align: center;
}

.tk-w-full {
    width: 100%;
}

.tk-card-title {
    font-family: 'Crimson Pro', serif;
    color: #333;
    margin: 0 0 4px 0;
    font-size: 18px;
    line-height: 1.2;
}
.tk-card-title--small {
    font-size: 16px;
}
@media (min-width: 640px) {
    .tk-card-title--small { font-size: 18px; }
}

.tk-card-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    color: #777;
    margin: 0 0 12px 0;
    line-height: 1.625;
}

.tk-card-price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #8a9a83;
    margin-top: 8px;
    display: block;
    width: 100%;
}
.tk-card-price--center {
    text-align: center;
}

/* Addon list */
.tk-addon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e2e7df;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}
.tk-addon-item:hover {
    background-color: #f9fafb;
}
.tk-addon-item--active {
    border-color: #8a9a83;
    background-color: #f8fbf7;
}

.tk-addon-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #e2e7df;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    display: inline-block;
}
.tk-addon-checkbox:checked {
    background-color: #8a9a83;
    border-color: #8a9a83;
}
.tk-addon-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.tk-addon-name {
    flex: 1;
    font-family: 'Inter', sans-serif;
    color: #374151;
    font-size: 14px;
}

.tk-addon-price {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #8a9a83;
}

/* Nav */
.tk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #f0ebe1;
}

.tk-btn {
    padding: 12px 32px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
}
.tk-btn--prev {
    background-color: transparent;
    color: #8a9a83;
    padding-left: 0;
}
.tk-btn--prev:hover {
    color: #5c5c5c;
}
.tk-btn--disabled {
    background-color: transparent;
    color: #d1d5db;
    cursor: not-allowed;
}
.tk-btn--next {
    background-color: #8a9a83;
    color: #fff;
}
.tk-btn--next:hover {
    background-color: #72826a;
}
.tk-btn--next:disabled {
    background-color: #d0d6cc;
    cursor: not-allowed;
}
.tk-btn--submit {
    background-color: #d4a373;
    color: #fff;
}
.tk-btn--submit:hover {
    background-color: #c49262;
}

/* Sidebar */
.tk-sidebar {
    position: sticky;
    top: 112px;
    background-color: #faf8f5;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e2e7df;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.tk-sidebar-title {
    font-family: 'Crimson Pro', serif;
    font-size: 20px;
    border-bottom: 1px solid #e5e0d8;
    padding-bottom: 16px;
    margin: 0 0 24px 0;
    color: #333;
}

.tk-summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e0d8;
}

.tk-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tk-summary-label {
    color: #777;
}

.tk-summary-val {
    color: #333;
    font-weight: 500;
    text-align: right;
    max-width: 150px;
}

.tk-summary-addons {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.tk-summary-addon {
    color: #333;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 4px;
}

.tk-summary-total-row {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tk-summary-total-label {
    font-family: 'Crimson Pro', serif;
    font-size: 18px;
    color: #333;
}

.tk-summary-total-val {
    font-family: 'Crimson Pro', serif;
    font-size: 30px;
    color: #8a9a83;
    font-weight: 700;
}

.tk-disclaimer {
    margin-top: 32px;
    background-color: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #f0ebe1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tk-disclaimer-icon {
    color: #b89b72;
    margin-top: 2px;
    flex-shrink: 0;
}

.tk-disclaimer-text {
    font-size: 11px !important;
    color: #777;
    line-height: 1.625;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Form */
.tk-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tk-label {
    display: block;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #374151;
    margin-bottom: 4px;
}

.tk-input, .tk-textarea {
    width: 100%;
    border: 1px solid #e2e7df;
    border-radius: 8px;
    padding: 12px 16px;
    background-color: #faf8f5;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    font-size: 14px;
}
.tk-textarea {
    min-height: 100px;
    resize: vertical;
}
.tk-input:focus, .tk-textarea:focus {
    outline: none;
    border-color: #8a9a83;
    box-shadow: 0 0 0 1px #8a9a83;
}
.tk-input--white {
    background-color: #fff;
}

.tk-captcha {
    margin-bottom: 24px;
    padding: 20px;
    background-color: #f1f4f0;
    border-radius: 8px;
    border: 1px solid #e2e7df;
}

/* Success Box */
.tk-success-box {
    background-color: #faf8f5;
    padding: 48px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #e2e7df;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.tk-success-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e2e7df;
}

.tk-success-title {
    font-family: 'Crimson Pro', serif;
    font-size: 30px;
    color: #333;
    margin: 0 0 12px 0;
}

.tk-success-desc {
    font-family: 'Inter', sans-serif;
    color: #777;
    margin: 0 auto 32px auto;
    line-height: 1.625;
    max-width: 448px;
}

.tk-text-highlight {
    color: #b89b72;
}
.tk-error-msg { color: #ef4444; text-align: center; font-family: 'Inter', sans-serif; }