@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

:root {
    --ostazy-orange: var(--primary-color, #ff6633);
    --ostazy-orange-hover: var(--brand-orange-hover, #e55a2b);
    --ostazy-dark-blue: var(--brand-dark-blue, #162b45);
    --ostazy-yellow: var(--brand-yellow, #fce373);
    --ostazy-beige: var(--brand-beige, #faebd7);
    --ostazy-light-bg: var(--brand-light-bg, #fdf9f4);
}

[x-cloak] {
    display: none !important;
}

.ostazy-page {
    min-height: 100vh;
    background: #fff;
    color: #1f2937;
    font-family: "Cairo", sans-serif;
    overflow-x: hidden;
    position: relative;
}

.ostazy-body {
    min-height: 100vh;
    background: var(--ostazy-light-bg);
    color: var(--text-color, #1f2937);
    font-family: var(--font-main, "Cairo", sans-serif);
}

.dark .ostazy-body {
    background: #111827;
    color: #e5e7eb;
}

.ostazy-body main > .bg-c-bg,
.ostazy-body main > .bg-gray-50,
.ostazy-body main > .bg-gray-950 {
    background:
        radial-gradient(circle at top right, rgba(255, 102, 51, 0.08), transparent 28rem),
        radial-gradient(circle at bottom left, rgba(252, 227, 115, 0.2), transparent 24rem),
        var(--ostazy-light-bg) !important;
}

.dark .ostazy-body main > .bg-c-bg,
.dark .ostazy-body main > .bg-gray-50,
.dark .ostazy-body main > .bg-gray-950 {
    background:
        radial-gradient(circle at top right, rgba(255, 102, 51, 0.12), transparent 28rem),
        radial-gradient(circle at bottom left, rgba(252, 227, 115, 0.08), transparent 24rem),
        #111827 !important;
}

.ostazy-body .rounded-c-main,
.ostazy-body .rounded-c-lg {
    border-radius: 1.1rem !important;
}

.ostazy-body .shadow-claude-lg,
.ostazy-body .shadow-claude-xl,
.ostazy-body .shadow-claude-md {
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.13) !important;
}

.ostazy-body .bg-c-surface,
.ostazy-body .dark\:bg-c-surface:is(.dark *) {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px);
}

.dark .ostazy-body .bg-c-surface,
.dark .ostazy-body .dark\:bg-c-surface {
    background-color: rgba(31, 41, 55, 0.92) !important;
}

.ostazy-body .border-c-border {
    border-color: rgba(242, 217, 195, 0.95) !important;
}

.dark .ostazy-body .border-c-border {
    border-color: rgba(75, 85, 99, 0.9) !important;
}

.ostazy-body .text-c-primary {
    color: var(--ostazy-orange) !important;
}

.ostazy-body .bg-c-primary,
.ostazy-body .from-c-primary,
.ostazy-body .to-c-secondary {
    --tw-gradient-from: var(--ostazy-orange) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: var(--ostazy-dark-blue) var(--tw-gradient-to-position) !important;
    background-color: var(--ostazy-orange) !important;
}

.ostazy-body input,
.ostazy-body select,
.ostazy-body textarea {
    border-color: rgba(242, 217, 195, 0.95) !important;
    background-color: rgba(255, 255, 255, 0.88) !important;
}

.dark .ostazy-body input,
.dark .ostazy-body select,
.dark .ostazy-body textarea {
    background-color: rgba(17, 24, 39, 0.86) !important;
    border-color: rgba(75, 85, 99, 0.9) !important;
}

.dark .ostazy-page {
    background: #111827;
    color: #e5e7eb;
}

.ostazy-preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #fff;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.dark .ostazy-preloader {
    background: #111827;
}

.ostazy-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ostazy-preloader h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    color: #1f2937;
}

.dark .ostazy-preloader h1 {
    color: #fff;
}

.ostazy-preloader p {
    color: #6b7280;
    font-weight: 700;
}

.ostazy-logo-orbit,
.ostazy-image-orbit {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ostazy-logo-orbit {
    width: 8rem;
    height: 8rem;
    padding: 4px;
    border-radius: 999px;
    box-shadow: 0 24px 60px rgba(22, 43, 69, 0.18);
}

.ostazy-logo-orbit::before,
.ostazy-image-orbit::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 58%, var(--ostazy-orange) 78%, var(--ostazy-yellow) 100%);
    animation: ostazy-rotate 4s linear infinite;
    z-index: -1;
}

.ostazy-logo-core {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ostazy-light-bg);
    color: var(--ostazy-orange);
    font-size: 3.75rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.dark .ostazy-logo-core {
    background: #1f2937;
}

.ostazy-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1px 18px rgba(22, 43, 69, 0.08);
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(16px);
}

.dark .ostazy-header {
    background: rgba(17, 24, 39, 0.94);
    box-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
}

.ostazy-brand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #1f2937;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.dark .ostazy-brand {
    color: #fff;
}

.ostazy-brand strong,
.ostazy-kicker,
.ostazy-lead span,
.ostazy-section-copy h2 span,
.ostazy-footer h2 span {
    color: var(--ostazy-orange);
}

.ostazy-brand-logo {
    max-height: 46px;
    width: auto;
    object-fit: contain;
}

.ostazy-nav,
.ostazy-actions,
.ostazy-hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ostazy-actions .language-switcher {
    margin: 0;
}

.ostazy-nav {
    color: #6b7280;
    font-weight: 800;
}

.ostazy-nav a,
.ostazy-nav button {
    color: inherit;
    border: 0;
    background: transparent;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.ostazy-nav a:hover,
.ostazy-nav button:hover {
    color: var(--ostazy-orange);
}

.ostazy-icon-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    cursor: pointer;
}

.ostazy-cart-count {
    position: absolute;
    top: -0.25rem;
    inset-inline-end: -0.25rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: var(--ostazy-orange);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 900;
    display: none;
    place-items: center;
    padding: 0 0.2rem;
}

.dark .ostazy-icon-btn {
    background: #1f2937;
    color: var(--ostazy-yellow);
}

.ostazy-glow-btn,
.ostazy-soft-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 0.9rem;
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ostazy-glow-btn {
    color: #fff;
    background: transparent;
    box-shadow: 0 18px 35px rgba(255, 102, 51, 0.28);
}

.ostazy-glow-lg {
    padding: 0.95rem 2rem;
    font-size: 1.08rem;
}

.ostazy-glow-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    padding-bottom: 300%;
    background: conic-gradient(from 0deg, transparent 70%, var(--ostazy-yellow) 90%, #fff 100%);
    transform: translate(-50%, -50%);
    animation: ostazy-rotate 2.5s linear infinite;
    z-index: -2;
}

.ostazy-glow-btn::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: var(--ostazy-orange);
    border-radius: inherit;
    z-index: -1;
    transition: background 0.25s ease;
}

.ostazy-glow-btn:hover::after {
    background: var(--ostazy-orange-hover);
}

.ostazy-soft-btn {
    color: #ef4444;
    background: #fee2e2;
}

.dark .ostazy-soft-btn {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

.ostazy-glow-btn:hover,
.ostazy-soft-btn:hover,
.ostazy-course-card:hover,
.ostazy-grade-card:hover {
    transform: translateY(-4px);
}

.ostazy-hero,
.ostazy-stats-section,
.ostazy-courses,
.ostazy-grades,
.ostazy-cta,
.ostazy-footer {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.ostazy-footer-brand {
    max-width: 28rem;
}

.ostazy-footer-links {
    display: grid;
    gap: 0.6rem;
}

.ostazy-footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

.ostazy-footer-links a:hover {
    color: var(--ostazy-yellow);
}

.ostazy-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
    gap: 3rem;
    align-items: center;
    padding-top: clamp(3rem, 8vw, 6rem);
    padding-bottom: clamp(3rem, 8vw, 6rem);
    overflow: hidden;
}

.ostazy-blob {
    position: absolute;
    border-radius: 999px;
    mix-blend-mode: multiply;
    filter: blur(80px);
    opacity: 0.28;
    z-index: 0;
}

.ostazy-blob-orange {
    top: 3rem;
    right: 7%;
    width: 12rem;
    height: 12rem;
    background: var(--ostazy-orange);
}

.ostazy-blob-yellow {
    bottom: 2rem;
    left: 7%;
    width: 16rem;
    height: 16rem;
    background: var(--ostazy-yellow);
}

.ostazy-hero-copy,
.ostazy-hero-visual {
    position: relative;
    z-index: 1;
}

.ostazy-kicker {
    display: flex;
    margin-bottom: 1rem;
    font-weight: 900;
}

.ostazy-hero h1 {
    color: #1f2937;
    font-size: clamp(3rem, 7vw, 5.6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.dark .ostazy-hero h1,
.dark .ostazy-quote h2,
.dark .ostazy-section-copy h2,
.dark .ostazy-section-title h2,
.dark .ostazy-cta h2,
.dark .ostazy-cta h3 {
    color: #fff;
}

.ostazy-lead {
    max-width: 38rem;
    color: #4b5563;
    font-size: clamp(1.15rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.dark .ostazy-lead,
.dark .ostazy-section-copy p,
.dark .ostazy-section-title p,
.dark .ostazy-cta p {
    color: #d1d5db;
}

.ostazy-hero-visual {
    min-height: 26rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ostazy-letter {
    position: absolute;
    color: var(--ostazy-orange);
    opacity: 0.16;
    font-size: clamp(12rem, 26vw, 18rem);
    font-weight: 900;
    user-select: none;
    z-index: -1;
}

.ostazy-image-orbit {
    width: clamp(18rem, 35vw, 26rem);
    height: clamp(18rem, 35vw, 26rem);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 28px 90px rgba(22, 43, 69, 0.24);
}

.ostazy-image-mask {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: var(--ostazy-light-bg);
    position: relative;
    z-index: 1;
}

.dark .ostazy-image-mask {
    background: #1f2937;
}

.ostazy-image-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ostazy-stats-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 3rem;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.ostazy-quote h2 {
    color: #1f2937;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.65;
    font-weight: 900;
}

.ostazy-quote h2 span {
    display: block;
    color: var(--ostazy-orange);
}

.ostazy-quote p {
    color: #6b7280;
    margin-top: 1rem;
    font-weight: 700;
}

.ostazy-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ostazy-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 14px 30px rgba(22, 43, 69, 0.12);
}

.ostazy-stat-card i {
    font-size: 2.4rem;
    color: #ef4444;
}

.ostazy-stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
}

.ostazy-stat-card span {
    color: #4b5563;
    font-weight: 800;
}

.ostazy-stat-yellow {
    width: 82%;
    margin-inline-start: auto;
    background: var(--ostazy-yellow);
    transform: translateX(-1rem);
    z-index: 1;
}

.ostazy-stat-beige {
    margin-top: -1rem;
    padding-inline-start: 4rem;
    background: var(--ostazy-beige);
    border: 2px solid #fff;
}

.dark .ostazy-stat-beige,
.dark .ostazy-course-card,
.dark .ostazy-cta,
.dark .ostazy-cta-card,
.dark .ostazy-feature-row {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-courses {
    max-width: none;
    background-color: #fcf6f0;
    background-image: radial-gradient(#e5cdb8 1px, transparent 1px);
    background-size: 20px 20px;
    border-block: 1px solid #f3e2d2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.dark .ostazy-courses {
    background-color: #111827;
    background-image: radial-gradient(#374151 1px, transparent 1px);
    border-color: #1f2937;
}

.ostazy-courses > * {
    max-width: 80rem;
    margin-inline: auto;
}

.ostazy-section-copy,
.ostazy-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ostazy-section-copy h2,
.ostazy-section-title h2,
.ostazy-cta h2 {
    color: #1f2937;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.ostazy-section-copy p,
.ostazy-section-title p,
.ostazy-cta p {
    max-width: 42rem;
    color: #6b7280;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.9;
    margin: 1rem auto 0;
}

.ostazy-squiggle {
    display: block;
    width: 80px;
    height: 8px;
    margin: 0.65rem auto 0;
    border-top: 4px solid var(--ostazy-orange);
    border-radius: 999px;
    box-shadow: 22px 0 0 -1px var(--ostazy-yellow), -22px 0 0 -1px var(--ostazy-yellow);
}

.ostazy-course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .ostazy-course-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ostazy-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ostazy-course-grid {
        grid-template-columns: 1fr;
    }
}

.ostazy-course-card {
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.ostazy-course-card:hover {
    box-shadow: 0 30px 70px rgba(22, 43, 69, 0.2);
}

.ostazy-course-image {
    position: relative;
    height: 13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111827;
}

.ostazy-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.ostazy-course-image span {
    color: var(--ostazy-yellow);
    font-size: 5rem;
    font-weight: 900;
}

.ostazy-course-image em {
    position: absolute;
    bottom: 1rem;
    inset-inline-start: 1rem;
    border-radius: 999px;
    background: var(--ostazy-orange);
    color: #fff;
    padding: 0.35rem 0.8rem;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 900;
}

.ostazy-course-image b {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    padding: 0.35rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 900;
}

.ostazy-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ostazy-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}

.ostazy-card-actions .ostazy-glow-btn,
.ostazy-card-actions .ostazy-soft-btn {
    flex: 1;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
}

.ostazy-inner-hero {
    position: relative;
    max-width: 80rem;
    margin-inline: auto;
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
    text-align: center;
    overflow: hidden;
}

.ostazy-inner-hero::before {
    content: "A";
    position: absolute;
    inset-inline-start: 5%;
    top: -3rem;
    color: var(--ostazy-orange);
    opacity: 0.08;
    font-size: clamp(9rem, 18vw, 16rem);
    font-weight: 900;
    line-height: 1;
}

.ostazy-inner-hero h1 {
    position: relative;
    color: #1f2937;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.dark .ostazy-inner-hero h1 {
    color: #fff;
}

.ostazy-inner-hero p {
    position: relative;
    max-width: 44rem;
    margin-inline: auto;
    color: #6b7280;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.9;
}

.dark .ostazy-inner-hero p {
    color: #d1d5db;
}

.ostazy-filter-band {
    max-width: 80rem;
    margin: 0 auto 2rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.ostazy-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) auto;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #f2d9c3;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 36px rgba(22, 43, 69, 0.08);
}

.dark .ostazy-filter-form {
    background: rgba(31, 41, 55, 0.9);
    border-color: #374151;
}

.ostazy-filter-form label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-inline: 1rem;
    border-radius: 1rem;
    background: var(--ostazy-light-bg);
    color: var(--ostazy-orange);
}

.dark .ostazy-filter-form label {
    background: #111827;
}

.ostazy-filter-form input,
.ostazy-filter-form select,
.ostazy-form-card input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent !important;
    color: #1f2937;
    font-weight: 700;
}

.dark .ostazy-filter-form input,
.dark .ostazy-filter-form select,
.dark .ostazy-form-card input {
    color: #fff;
}

.ostazy-filter-form select {
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    background: var(--ostazy-light-bg) !important;
}

.dark .ostazy-filter-form select {
    background: #111827 !important;
}

.ostazy-pill-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 0 0.25rem;
}

.ostazy-pill-row a {
    flex: 0 0 auto;
    border: 1px solid #f2d9c3;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: #6b7280;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
}

.ostazy-pill-row a.is-active,
.ostazy-pill-row a:hover {
    color: #fff;
    background: var(--ostazy-orange);
    border-color: var(--ostazy-orange);
}

.ostazy-archive {
    padding-top: 2rem;
}

.ostazy-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.ostazy-empty-state {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.1);
}

.dark .ostazy-empty-state {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-empty-state i {
    color: var(--ostazy-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ostazy-empty-state h2 {
    color: #1f2937;
    font-size: 1.7rem;
    font-weight: 900;
}

.dark .ostazy-empty-state h2 {
    color: #fff;
}

.ostazy-empty-state p {
    color: #6b7280;
    margin: 0.5rem 0 1.5rem;
}

.ostazy-auth {
    max-width: 80rem;
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.ostazy-auth-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.ostazy-auth-brand,
.ostazy-form-card {
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.12);
}

.ostazy-auth-brand {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background: var(--ostazy-dark-blue);
    color: #fff;
}

.ostazy-auth-brand::before {
    content: "A";
    position: absolute;
    bottom: -4rem;
    inset-inline-end: -1rem;
    color: rgba(255, 255, 255, 0.08);
    font-size: 16rem;
    font-weight: 900;
}

.ostazy-auth-brand h1 {
    position: relative;
    margin: 1rem 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
}

.ostazy-auth-brand p {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
    font-weight: 700;
}

.ostazy-auth-forms {
    display: grid;
    gap: 1rem;
}

.ostazy-form-card {
    padding: 1.5rem;
}

.dark .ostazy-form-card {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-form-card h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.dark .ostazy-form-card h2 {
    color: #fff;
}

.ostazy-form-card label {
    display: grid;
    gap: 0.45rem;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
}

.ostazy-form-card input {
    min-height: 2.9rem;
    border: 1px solid #f2d9c3;
    border-radius: 0.9rem;
    padding-inline: 1rem;
    background: var(--ostazy-light-bg) !important;
}

.dark .ostazy-form-card input {
    background: #111827 !important;
    border-color: #374151;
}

.ostazy-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 0.5rem !important;
}

.ostazy-check input {
    width: auto;
    min-height: auto;
}

.ostazy-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.ostazy-alert {
    border-radius: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-weight: 800;
}

.ostazy-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.ostazy-product-detail {
    max-width: 80rem;
    margin-inline: auto;
    padding: 2rem clamp(1rem, 4vw, 2rem) 4rem;
}

.ostazy-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.ostazy-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.ostazy-breadcrumb a:hover,
.ostazy-breadcrumb strong {
    color: var(--ostazy-orange);
}

.ostazy-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.ostazy-product-gallery,
.ostazy-product-info,
.ostazy-product-tabs article,
.ostazy-review-card {
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.11);
}

.dark .ostazy-product-gallery,
.dark .ostazy-product-info,
.dark .ostazy-product-tabs article,
.dark .ostazy-review-card {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-product-gallery {
    padding: 1rem;
}

.ostazy-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(22rem, 45vw, 34rem);
    border-radius: 1.2rem;
    background: var(--ostazy-light-bg);
    overflow: hidden;
}

.dark .ostazy-product-image {
    background: #111827;
}

.ostazy-product-image img {
    width: 100%;
    height: 100%;
    max-height: 32rem;
    object-fit: contain;
}

.ostazy-product-image span {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    border-radius: 999px;
    background: var(--ostazy-orange);
    color: #fff;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 900;
}

.ostazy-product-thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    margin-top: 1rem;
}

.ostazy-product-thumbs img {
    width: 5rem;
    height: 5rem;
    flex: 0 0 5rem;
    border: 1px solid #f2d9c3;
    border-radius: 1rem;
    object-fit: contain;
    background: #fff;
    padding: 0.4rem;
}

.ostazy-product-info {
    padding: 1.5rem;
}

.ostazy-product-info h1 {
    color: #1f2937;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.dark .ostazy-product-info h1 {
    color: #fff;
}

.ostazy-rating,
.ostazy-price-row,
.ostazy-product-actions,
.ostazy-trust-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.ostazy-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.ostazy-rating span {
    color: #6b7280;
}

.ostazy-price-row {
    margin: 1.25rem 0;
    padding-block: 1.25rem;
    border-block: 1px solid #f2d9c3;
}

.ostazy-price-row strong {
    color: var(--ostazy-orange);
    font-size: 2.4rem;
    font-weight: 900;
}

.ostazy-price-row span {
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 800;
}

.ostazy-option-list {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.ostazy-option-list b {
    display: block;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.dark .ostazy-option-list b {
    color: #fff;
}

.ostazy-option-list p {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ostazy-option-list span {
    border-radius: 999px;
    background: var(--ostazy-light-bg);
    color: #6b7280;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 900;
}

.ostazy-product-actions {
    align-items: stretch;
}

.ostazy-product-actions .ostazy-glow-btn,
.ostazy-product-actions .ostazy-soft-btn {
    min-height: 3.25rem;
    text-decoration: none;
}

.ostazy-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.25rem;
}

.ostazy-trust-row div {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    border-radius: 1rem;
    background: var(--ostazy-light-bg);
    padding: 0.85rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.74rem;
    font-weight: 900;
}

.ostazy-trust-row i {
    color: var(--ostazy-orange);
    font-size: 1.2rem;
}

.ostazy-product-tabs {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.ostazy-product-tabs article {
    padding: 1.5rem;
}

.ostazy-product-tabs h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.dark .ostazy-product-tabs h2 {
    color: #fff;
}

.ostazy-product-tabs article,
.ostazy-product-tabs p {
    color: #6b7280;
    line-height: 1.9;
}

.ostazy-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.ostazy-review-card {
    padding: 1rem;
    box-shadow: none;
}

.ostazy-review-card strong,
.ostazy-review-card span {
    display: block;
    font-weight: 900;
}

.ostazy-review-card span {
    color: var(--ostazy-orange);
}

.ostazy-content-page {
    max-width: 58rem;
    margin: 0 auto 4rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.ostazy-content-page article {
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.11);
    color: #4b5563;
    line-height: 1.95;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.dark .ostazy-content-page article {
    background: #1f2937;
    border-color: #374151;
    color: #d1d5db;
}

.ostazy-content-page article h1,
.ostazy-content-page article h2,
.ostazy-content-page article h3 {
    color: #1f2937;
    font-weight: 900;
    margin: 1.2rem 0 0.65rem;
}

.dark .ostazy-content-page article h1,
.dark .ostazy-content-page article h2,
.dark .ostazy-content-page article h3 {
    color: #fff;
}

.ostazy-content-page article a {
    color: var(--ostazy-orange);
    font-weight: 900;
}

.ostazy-field-error {
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 800;
    margin: -0.4rem 0 0.75rem;
}

.ostazy-dashboard {
    max-width: 80rem;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.ostazy-dashboard-card {
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 45px rgba(22, 43, 69, 0.11);
    padding: 1.25rem;
}

.dark .ostazy-dashboard-card {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-profile-card {
    align-self: start;
    position: sticky;
    top: 6rem;
    text-align: center;
}

.ostazy-avatar {
    width: 5rem;
    height: 5rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 1.25rem;
    background: var(--ostazy-orange);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.ostazy-profile-card h2,
.ostazy-dashboard-head h2 {
    color: #1f2937;
    font-size: 1.35rem;
    font-weight: 900;
}

.dark .ostazy-profile-card h2,
.dark .ostazy-dashboard-head h2 {
    color: #fff;
}

.ostazy-profile-card p {
    color: #6b7280;
    margin: 0.4rem 0 1rem;
}

.ostazy-dashboard-main {
    display: grid;
    gap: 1.5rem;
}

.ostazy-dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ostazy-dashboard-head span {
    border-radius: 999px;
    background: var(--ostazy-light-bg);
    color: var(--ostazy-orange);
    padding: 0.35rem 0.75rem;
    font-weight: 900;
}

.ostazy-order-list {
    display: grid;
    gap: 0.75rem;
}

.ostazy-order-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #f2d9c3;
    border-radius: 1rem;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ostazy-order-list a:hover {
    transform: translateY(-2px);
    border-color: var(--ostazy-orange);
}

.ostazy-order-list strong,
.ostazy-order-list b {
    display: block;
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-order-list strong,
.dark .ostazy-order-list b {
    color: #fff;
}

.ostazy-order-list span {
    color: #6b7280;
    font-size: 0.85rem;
}

.ostazy-inline-form {
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
}

@media (max-width: 980px) {
    .ostazy-dashboard {
        grid-template-columns: 1fr;
    }

    .ostazy-profile-card {
        position: static;
    }
}

.ostazy-order-page {
    max-width: 80rem;
    margin: 0 auto 4rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.ostazy-maintenance {
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.ostazy-maintenance h1 {
    color: #1f2937;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
}

.dark .ostazy-maintenance h1 {
    color: #fff;
}

.ostazy-maintenance p {
    max-width: 34rem;
    color: #6b7280;
    font-weight: 800;
    line-height: 1.9;
}

.ostazy-invoice,
.ostazy-checkout {
    max-width: 80rem;
    margin: 0 auto 4rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.ostazy-invoice-card {
    overflow: hidden;
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 43, 69, 0.14);
}

.dark .ostazy-invoice-card {
    background: #1f2937;
    border-color: #374151;
}

.ostazy-invoice-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: var(--ostazy-dark-blue);
    color: #fff;
}

.ostazy-invoice-card h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
}

.ostazy-invoice-brand {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    font-weight: 900;
    text-align: center;
}

.ostazy-invoice-brand img,
.ostazy-invoice-brand strong {
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.14);
    color: var(--ostazy-yellow);
    object-fit: contain;
    font-size: 2.5rem;
}

.ostazy-invoice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f2d9c3;
}

.ostazy-invoice-grid article {
    border-radius: 1rem;
    background: var(--ostazy-light-bg);
    padding: 1.25rem;
}

.dark .ostazy-invoice-grid article {
    background: #111827;
}

.ostazy-invoice-grid h2 {
    color: var(--ostazy-orange);
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
}

.ostazy-invoice-grid strong,
.ostazy-invoice-grid span,
.ostazy-invoice-grid p {
    display: block;
}

.ostazy-invoice-grid strong {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 900;
}

.dark .ostazy-invoice-grid strong {
    color: #fff;
}

.ostazy-invoice-grid span,
.ostazy-invoice-grid p {
    color: #6b7280;
    line-height: 1.8;
}

.ostazy-invoice-items {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem;
}

.ostazy-invoice-items div {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid #f2d9c3;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.ostazy-invoice-items span {
    color: var(--ostazy-orange);
    font-weight: 900;
}

.ostazy-invoice-items strong,
.ostazy-invoice-items b {
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-invoice-items strong,
.dark .ostazy-invoice-items b {
    color: #fff;
}

.ostazy-invoice-total {
    max-width: 34rem;
    margin-inline-start: auto;
    padding: 1.5rem;
}

.ostazy-invoice-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ostazy-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.5rem;
    align-items: start;
}

.ostazy-checkout-form {
    display: grid;
    gap: 1.25rem;
}

.ostazy-form-card textarea,
.ostazy-form-card select {
    width: 100%;
    min-height: 2.9rem;
    border: 1px solid #f2d9c3;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    background: var(--ostazy-light-bg) !important;
    color: #1f2937;
    font-weight: 700;
    outline: 0;
}

.ostazy-form-card textarea {
    min-height: 6rem;
    resize: vertical;
}

.dark .ostazy-form-card textarea,
.dark .ostazy-form-card select {
    background: #111827 !important;
    border-color: #374151;
    color: #fff;
}

.ostazy-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.ostazy-payment-grid label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
    align-items: start;
    border: 1px solid #f2d9c3;
    border-radius: 1rem;
    padding: 1rem;
    cursor: pointer;
}

.ostazy-payment-grid strong,
.ostazy-payment-grid span {
    display: block;
}

.ostazy-payment-grid strong {
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-payment-grid strong {
    color: #fff;
}

.ostazy-payment-grid span {
    grid-column: 2;
    color: #6b7280;
    font-size: 0.82rem;
}

.ostazy-checkout-summary {
    position: sticky;
    top: 6rem;
}

.ostazy-checkout-items {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ostazy-checkout-items div {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.ostazy-checkout-items img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.8rem;
    object-fit: cover;
    background: var(--ostazy-light-bg);
}

.ostazy-checkout-items strong,
.ostazy-checkout-items b {
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-checkout-items strong,
.dark .ostazy-checkout-items b {
    color: #fff;
}

.ostazy-checkout-items span {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
}

.ostazy-checkout-message {
    color: #b91c1c;
    font-weight: 900;
}

@media print {
    .ostazy-header,
    .ostazy-footer,
    .ostazy-floating,
    .ostazy-invoice-actions,
    .chat-widget,
    .no-print {
        display: none !important;
    }

    .ostazy-body {
        background: #fff;
    }

    .ostazy-invoice {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .ostazy-invoice-card {
        box-shadow: none;
        border: 0;
    }
}

@media (max-width: 980px) {
    .ostazy-checkout,
    .ostazy-invoice-grid {
        grid-template-columns: 1fr;
    }

    .ostazy-checkout-summary {
        position: static;
    }
}

.ostazy-status-card {
    margin-bottom: 1.5rem;
}

.ostazy-status-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.ostazy-status-steps div {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    border-radius: 1rem;
    background: var(--ostazy-light-bg);
    color: #6b7280;
    padding: 1rem;
    text-align: center;
    font-weight: 900;
}

.dark .ostazy-status-steps div {
    background: #111827;
}

.ostazy-status-steps strong {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: inherit;
}

.ostazy-status-steps .is-active {
    background: var(--ostazy-orange);
    color: #fff;
}

.ostazy-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;
    align-items: start;
}

.ostazy-order-items {
    display: grid;
    gap: 0.75rem;
}

.ostazy-order-items > div {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid #f2d9c3;
    border-radius: 1rem;
    padding: 0.85rem;
}

.ostazy-order-items img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.85rem;
    object-fit: cover;
    background: var(--ostazy-light-bg);
}

.ostazy-order-items strong,
.ostazy-order-items b,
.ostazy-shipping-box h3,
.ostazy-shipping-box strong {
    display: block;
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-order-items strong,
.dark .ostazy-order-items b,
.dark .ostazy-shipping-box h3,
.dark .ostazy-shipping-box strong {
    color: #fff;
}

.ostazy-order-items span,
.ostazy-order-items small,
.ostazy-shipping-box span,
.ostazy-shipping-box p {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
}

.ostazy-summary-list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.ostazy-summary-list p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #6b7280;
}

.ostazy-summary-list p:last-child {
    border-top: 1px solid #f2d9c3;
    padding-top: 0.85rem;
    color: var(--ostazy-orange);
}

.ostazy-shipping-box {
    border-radius: 1rem;
    background: var(--ostazy-light-bg);
    padding: 1rem;
    margin-bottom: 1rem;
}

.dark .ostazy-shipping-box {
    background: #111827;
}

@media (max-width: 980px) {
    .ostazy-order-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ostazy-status-steps {
        grid-template-columns: 1fr 1fr;
    }

    .ostazy-order-items > div {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .ostazy-order-items b {
        grid-column: 2;
    }
}

.ostazy-course-body {
    padding: 1.25rem;
}

.ostazy-course-body span {
    color: var(--ostazy-orange);
    font-size: 0.75rem;
    font-weight: 900;
}

.ostazy-course-body h3 {
    color: #1f2937;
    margin: 0.35rem 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.dark .ostazy-course-body h3 {
    color: #fff;
}

.ostazy-course-body p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.8;
}

.ostazy-grades {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.ostazy-grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.ostazy-grade-card {
    position: relative;
    min-height: 13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1.5rem;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 18px 38px rgba(22, 43, 69, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.ostazy-grade-card::before {
    content: "A";
    position: absolute;
    top: -4.2rem;
    left: -1.8rem;
    color: rgba(255, 255, 255, 0.11);
    font-size: 14rem;
    font-weight: 900;
    line-height: 1;
}

.ostazy-grade-card div {
    position: relative;
    z-index: 1;
}

.ostazy-grade-card strong {
    display: block;
    color: var(--ostazy-yellow);
    font-size: 3.4rem;
    font-weight: 900;
}

.ostazy-grade-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
    font-weight: 900;
}

.ostazy-grade-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.8;
}

.ostazy-grade-1 {
    background: linear-gradient(135deg, #f97316, #b45309);
}

.ostazy-grade-2 {
    background: linear-gradient(135deg, #1d4ed8, #312e81);
}

.ostazy-grade-3 {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
}

.ostazy-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: clamp(2rem, 5vw, 3rem);
    border: 1px solid #fed7aa;
    border-radius: 2rem;
    background: #faeedd;
    overflow: hidden;
}

.ostazy-calligraphy {
    position: absolute;
    inset: 0;
    color: var(--ostazy-orange);
    opacity: 0.06;
    font-size: clamp(4rem, 14vw, 10rem);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.ostazy-cta-card,
.ostazy-cta-info {
    position: relative;
    z-index: 1;
}

.ostazy-cta-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #fff;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #fdf6ec, #f8e1c6);
    box-shadow: 0 14px 30px rgba(22, 43, 69, 0.11);
}

.ostazy-cta-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--ostazy-orange);
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(22, 43, 69, 0.1);
}

.ostazy-cta-info h3 {
    color: #1f2937;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.7;
}

.ostazy-feature-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.55);
}

.ostazy-feature-row i {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ostazy-orange);
}

.ostazy-feature-row strong,
.ostazy-feature-row span {
    display: block;
}

.ostazy-feature-row strong {
    color: #1f2937;
    font-weight: 900;
}

.dark .ostazy-feature-row strong {
    color: #fff;
}

.ostazy-feature-row span {
    color: #6b7280;
    font-size: 0.9rem;
}

.ostazy-footer {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
    gap: 2.5rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-inline: max(1rem, calc((100vw - 80rem) / 2 + 2rem));
    background: var(--ostazy-dark-blue);
    color: #fff;
    border-top: 4px solid var(--ostazy-orange);
}

.ostazy-footer h2 {
    font-size: 1.9rem;
    font-weight: 900;
}

.ostazy-footer p {
    color: #d1d5db;
    max-width: 30rem;
    margin-top: 0.5rem;
    line-height: 1.8;
}

.ostazy-footer-col {
    display: grid;
    gap: 0.7rem;
}

.ostazy-footer-col h3 {
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ostazy-yellow);
    margin-bottom: 0.2rem;
}

.ostazy-footer-col a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.ostazy-footer-col a:hover {
    color: #fff;
}

.ostazy-footer-col:first-child {
    text-align: start;
}

.ostazy-socials {
    display: flex;
    gap: 0.75rem;
}

.ostazy-socials a,
.ostazy-floating {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--ostazy-orange);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ostazy-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.ostazy-auth-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ostazy-modal-open {
    overflow: hidden;
}

.ostazy-auth-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(4px);
}

.ostazy-auth-dialog {
    max-height: calc(100vh - 2rem);
    overflow: auto;
    position: relative;
    z-index: 2;
    width: min(46rem, 100%);
    margin: 0;
    border: 1px solid #f2d9c3;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 43, 69, 0.22);
    padding: 1.25rem;
}

.dark .ostazy-auth-dialog {
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: #1f2937;
    border-color: #374151;
}

.ostazy-auth-close {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    display: grid;
    place-items: center;
    margin-inline-start: auto;
}

.ostazy-auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.ostazy-auth-tabs button {
    border: 1px solid #f2d9c3;
    border-radius: 999px;
    background: #fff;
    color: #6b7280;
    padding: 0.45rem 0.9rem;
    font-weight: 900;
    font-size: 0.8rem;
}

.ostazy-auth-tabs button.is-active {
    background: var(--ostazy-orange);
    color: #fff;
    border-color: var(--ostazy-orange);
}

.ostazy-auth-pane.is-hidden {
    display: none;
}

.ostazy-auth-pane label {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #4b5563;
}

.ostazy-auth-pane input {
    width: 100%;
    min-height: 2.75rem;
    border: 1px solid #f2d9c3 !important;
    border-radius: 0.8rem;
    background: #fff !important;
    color: #111827;
    padding: 0.7rem 0.9rem;
    outline: 0;
}

.dark .ostazy-auth-pane label {
    color: #d1d5db;
}

.dark .ostazy-auth-pane input {
    background: #111827 !important;
    color: #f9fafb;
    border-color: #374151 !important;
}

/* Auth modal visual parity with provided HTML design */
.ostazy-auth-dialog {
    border-radius: 1.4rem;
    box-shadow: 0 30px 70px rgba(22, 43, 69, 0.28);
    padding: 0;
}

.ostazy-auth-close {
    position: absolute;
    top: 0.85rem;
    inset-inline-start: 0.85rem;
    margin-inline-start: 0;
    z-index: 3;
}

.ostazy-auth-tabs {
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e7eb;
    padding-inline: 2.75rem 0.6rem;
    background: #fff;
}

.ostazy-auth-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #6b7280;
    padding: 0.95rem 1rem 0.85rem;
    font-size: 0.86rem;
}

.ostazy-auth-tabs button.is-active {
    background: transparent;
    color: var(--ostazy-orange);
    border-color: var(--ostazy-orange);
}

.ostazy-auth-pane:not(.is-hidden) {
    display: grid;
    gap: 0.75rem;
    padding: 1.3rem 1.2rem 1.2rem;
}

.ostazy-auth-pane input {
    border: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
}

.dark .ostazy-auth-tabs {
    border-color: #374151;
    background: #1f2937;
}

.dark .ostazy-auth-tabs button {
    color: #9ca3af;
}

.dark .ostazy-auth-tabs button.is-active {
    color: #ff8a5c;
    border-color: #ff8a5c;
}

.ostazy-socials a:hover,
.ostazy-floating:hover {
    transform: translateY(-3px);
    background: var(--ostazy-orange-hover);
}

.ostazy-floating {
    position: fixed;
    bottom: 5.5rem;
    left: 1.5rem;
    z-index: 90;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.4rem;
    background: #3b82f6;
    box-shadow: 0 18px 36px rgba(59, 130, 246, 0.34);
}

@keyframes ostazy-rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .ostazy-nav {
        display: none;
    }

    .ostazy-hero,
    .ostazy-stats-section,
    .ostazy-cta {
        grid-template-columns: 1fr;
    }

    .ostazy-hero-copy,
    .ostazy-quote,
    .ostazy-section-copy,
    .ostazy-section-title,
    .ostazy-cta-info {
        text-align: center;
    }

    .ostazy-hero-buttons {
        justify-content: center;
    }

    .ostazy-footer {
        grid-template-columns: 1fr 1fr;
        text-align: start;
    }

    .ostazy-filter-form,
    .ostazy-auth-panel,
    .ostazy-product-grid {
        grid-template-columns: 1fr;
    }

    .ostazy-auth-brand {
        min-height: 20rem;
    }
}

@media (max-width: 640px) {
    .ostazy-actions {
        gap: 0.5rem;
    }

    .ostazy-glow-btn span,
    .ostazy-soft-btn span {
        display: none;
    }

    .ostazy-hero-buttons .ostazy-glow-btn span,
    .ostazy-hero-buttons .ostazy-soft-btn span,
    .ostazy-cta .ostazy-glow-btn span {
        display: inline;
    }

    .ostazy-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .ostazy-stat-yellow {
        width: 92%;
    }

    .ostazy-filter-form {
        padding: 0.75rem;
    }

    .ostazy-filter-form .ostazy-glow-btn {
        width: 100%;
    }

    .ostazy-form-grid,
    .ostazy-trust-row {
        grid-template-columns: 1fr;
    }

    .ostazy-product-actions {
        flex-direction: column;
    }

    .ostazy-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ostazy-footer {
        grid-template-columns: 1fr;
    }

    .ostazy-floating {
        bottom: 1.5rem;
    }

    .ostazy-auth-dialog {
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
        max-height: calc(100vh - 1rem);
        padding: 0.85rem;
    }

    .ostazy-auth-tabs {
        flex-wrap: wrap;
    }

    .ostazy-auth-tabs button {
        flex: 1 1 calc(50% - 0.25rem);
    }
}
