 * {
     box-sizing: border-box;
     margin: 0;
     padding: 0
 }

 html,
 body {
     height: 100%
 }

 body {
     font-family: 'Cairo', sans-serif;
     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
     color: #1e293b;
     direction: rtl;
     line-height: 1.7;
     padding-bottom: 4rem;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
 }

 .header {
     background: rgba(248, 250, 252, 0.95);
     backdrop-filter: blur(20px);
     box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     padding: 1rem 0;
     border-bottom: 1px solid rgba(59, 130, 246, 0.15)
 }

 .nav-container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 1rem
 }

 .logo {
     font-size: 2.0rem;
     font-weight: 800;
     background: linear-gradient(45deg, #1e40af, #0ea5e9, #6366f1);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent
 }

 .search-container {
     flex: 1;
     max-width: 600px;
     position: relative;
     margin: 0 1rem
 }

 .search-input {
     width: 100%;
     padding: 1rem 3.5rem 1rem 1.5rem;
     border: 2px solid rgba(59, 130, 246, 0.25);
     border-radius: 30px;
     background: rgba(248, 250, 252, 0.9)
 }

 .search-btn {
     position: absolute;
     left: 15px;
     top: 50%;
     transform: translateY(-50%);
     background: linear-gradient(45deg, #1e40af, #1d4ed8);
     border: none;
     padding: .7rem;
     border-radius: 50%;
     color: #fff
 }

 .nav-menu {
     display: flex;
     gap: 1rem;
     align-items: center
 }

 .nav-link {
     text-decoration: none;
     color: rgba(30, 41, 59, 0.8);
     padding: .6rem 1rem;
     border-radius: 20px
 }

 .main-content {
     max-width: 1200px;
     margin: 120px auto 40px;
     padding: 1.5rem
 }

 .hero-section {
     text-align: center;
     padding: 2.5rem 0
 }

 .hero-title {
     font-size: 2.6rem;
     font-weight: 800;
     background: linear-gradient(45deg, #1e293b, #1e40af);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent
 }

 .hero-subtitle {
     opacity: .8;
     margin-top: .6rem
 }

 .terms-container {
     background: rgba(248, 250, 252, 0.9);
     padding: 2rem;
     border-radius: 20px;
     box-shadow: 0 12px 30px rgba(30, 64, 175, 0.06);
     border: 1px solid rgba(59, 130, 246, 0.12)
 }

 .table-of-contents {
     background: rgba(255, 255, 255, 0.6);
     padding: 1rem;
     border-radius: 12px;
     margin-bottom: 1rem;
     border: 1px solid rgba(59, 130, 246, 0.08)
 }

 .toc-list {
     list-style: none;
     padding-right: 0
 }

 .toc-list li {
     margin-bottom: .6rem
 }

 .toc-list a {
     text-decoration: none;
     color: rgba(30, 41, 59, 0.8);
     display: block;
     padding: .5rem;
     border-radius: 8px
 }

 .toc-list a:hover {
     background: rgba(30, 64, 175, 0.06);
     color: #1e40af
 }

 .terms-section {
     background: #fff;
     padding: 1rem 1.2rem;
     border-radius: 12px;
     margin: 1rem 0;
     border: 1px solid rgba(59, 130, 246, 0.06)
 }

 .terms-section h2 {
     color: #1e40af;
     font-size: 1.15rem;
     margin-bottom: .6rem;
     display: flex;
     align-items: center;
     gap: .6rem
 }

 .terms-list {
     list-style: none;
     padding-right: 0;
     margin-top: .5rem
 }

 .terms-list li {
     margin-bottom: .6rem;
     padding-right: 1rem;
     position: relative
 }

 .price-tag {
     background: linear-gradient(45deg, #1e40af, #0ea5e9);
     color: #fff;
     padding: .4rem .9rem;
     border-radius: 20px;
     font-weight: 700
 }

 .highlight-box,
 .warning-box,
 .success-box {
     padding: 1rem;
     border-radius: 10px;
     margin-top: .8rem
 }

 .highlight-box {
     background: linear-gradient(135deg, rgba(30, 64, 175, 0.04), rgba(14, 165, 233, 0.04));
     border: 1px solid rgba(30, 64, 175, 0.08)
 }

 .warning-box {
     background: linear-gradient(135deg, rgba(239, 68, 68, 0.04), rgba(220, 38, 38, 0.04));
     border: 1px solid rgba(239, 68, 68, 0.08);
     color: #991b1b
 }

 .success-box {
     background: linear-gradient(135deg, rgba(34, 197, 94, 0.04), rgba(22, 163, 74, 0.04));
     border: 1px solid rgba(34, 197, 94, 0.08);
     color: #166534
 }

 .calc-card {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
     align-items: center;
     margin-top: 1rem
 }

 .calc-card input[type=number] {
     padding: .6rem .8rem;
     border-radius: 8px;
     border: 1px solid rgba(0, 0, 0, 0.08);
     width: 160px
 }

 .calc-output {
     font-weight: 700;
     padding: .5rem .8rem;
     border-radius: 8px;
     background: rgba(0, 0, 0, 0.03)
 }

 .btn {
     background: linear-gradient(45deg, #1e40af, #1d4ed8);
     color: #fff;
     padding: .6rem .9rem;
     border-radius: 8px;
     border: none;
     cursor: pointer
 }

 .footer {
     margin-top: 2rem;
     text-align: center;
     color: rgba(30, 41, 59, 0.7);
     padding: 1rem
 }

 @media(max-width:768px) {
     .nav-container {
         padding: 0 1rem
     }

     .hero-title {
         font-size: 1.8rem
     }
 }