/* ==========================================================================
   1. SOLID AMBER HARDWARE DESIGN SYSTEM & UNIVERSAL RESET UPDATE
   ========================================================================== */
:root {
    --bg-dark-hull: #0a0c10;    /* Raw mechanical chassis deep slate black */
    --card-metal: #12161f;      /* Internal bracket framing dark grey */
    --starship-amber: #ffb703;   /* Native logo amber code - applied uniformly */
    --text-primary: #e6edf3;     /* Hard crisp reading silver */
    --text-muted: #7d8c9e;       /* Low priority subtext grey */
    --border-hard: #ffb703;     /* Hard tactile grid lines */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Handjet', monospace;
    text-shadow: none !important; /* Strict protection against text glow strings */font-weight: 700;font-variation-settings: "ELSH" 60, "wght" 700;
}

body {
    background-color: #030406;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-size: 1.5rem; /* Up-scaled base size for optimal Handjet viewing metrics */
}

/* ==========================================================================
   2. TECHNICAL STRUCTURAL BACKGROUND GRIDS & WATERMARKS
   ========================================================================== */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 183, 3, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 183, 3, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    pointer-events: none;
}

.hull-watermark {
    position: fixed;
    font-size: 22rem;
    font-weight: 900;
    color: rgba(255, 183, 3, 0.01);
    bottom: -40px;
    right: -30px;
    user-select: none;
    z-index: -1;
}

/* ==========================================================================
   3. SYSTEM NAVIGATION CONSOLE
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 4px solid var(--border-hard);
    background: var(--bg-dark-hull);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: var(--starship-amber);
}

.btn-lang {
    background: transparent;
    border: 2px solid var(--starship-amber);
    color: var(--starship-amber);
    padding: 2px 14px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
}

.btn-lang:hover {
    background: var(--starship-amber);
    color: var(--bg-dark-hull);
}

/* ==========================================================================
   4. TEMPLATE COLUMN CONSOLE ARRANGEMENT
   ========================================================================== */
.console-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 50px 20px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

/* Shared structural template container formatting mimicking the social posts */
.hero-box, .info-block, .matrix-section, .form-box {
    background: var(--bg-dark-hull);
    border: 4px solid var(--border-hard);
    width: 100%;
    padding: 35px;
    position: relative;
}

/* Static badge configuration borrowed from templates */
.t-badge {
    display: inline-block;
    border: 2px solid var(--starship-amber);
    background: rgba(255, 183, 3, 0.1);
    color: var(--starship-amber);
    padding: 2px 10px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* ==========================================================================
   5. COMPONENT SPECIFIC INTERIORS
   ========================================================================== */

/* Hero Text Styling */
.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #fff;
}

.hero-title highlight {
    color: var(--starship-amber);
}

.hero-desc {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--starship-amber);
    color: var(--bg-dark-hull);
    padding: 10px 30px;
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    border: 2px solid var(--starship-amber);
}

.btn-primary:hover {
    background: transparent;
    color: var(--starship-amber);
}

/* Block Content Interiors */
.block-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.block-desc {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--text-primary);
}

/* Grid Framework Blocks */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.matrix-card {
    background: var(--card-metal);
    border: 2px solid rgba(255, 183, 3, 0.25);
    padding: 20px;
}

.matrix-card:hover {
    border-color: var(--starship-amber);
}

.matrix-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.matrix-card h3 {
    font-size: 1.7rem;
    color: var(--starship-amber);
    margin-bottom: 10px;
    font-weight: 800;
}

.matrix-card p {
    font-size: 1.4rem;
    line-height: 1.3;
}

/* ==========================================================================
   6. HARDWARE DATA CONSOLE REGISTRATION FORM
   ========================================================================== */
.form-title {
    font-size: 2.8rem;
    color: var(--starship-amber);
    font-weight: 900;
}

.form-desc {
    color: var(--text-muted);
    font-size: 1.4rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

/* Raw mechanical input blocks */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    background: #06080c;
    border: 2px solid rgba(255, 183, 3, 0.3);
    padding: 10px 14px;
    color: #fff;
    font-size: 1.4rem;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--starship-amber);
}

.form-group input[type="tel"] {
    margin-top: 10px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Native operating select modifications */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffb703'><path d='M0 3h12l-6 6z'/></svg>");
    background-repeat: no-repeat;
    background-position: left 14px center;
}

html[dir="ltr"] .form-group select {
    background-position: right 14px center;
}

/* Custom Checkbox Design Structure */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #06080c;
    border: 2px solid rgba(255, 183, 3, 0.3);
    margin-left: 12px;
    display: inline-block;
    flex-shrink: 0;
}

html[dir="ltr"] .checkmark {
    margin-left: 0;
    margin-right: 12px;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--starship-amber);
    border-color: var(--starship-amber);
}

.checkmark:after {
    content: "";
    display: none;
    margin-right: 5px;
    margin-top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-dark-hull);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

html[dir="ltr"] .checkmark:after {
    margin-right: 0;
    margin-left: 5px;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    font-size: 1.4rem !important;
    color: var(--text-primary);
}

/* Solid Amber Form Action Trigger */
.btn-submit {
    background: var(--starship-amber);
    color: var(--bg-dark-hull);
    border: none;
    width: 100%;
    padding: 14px;
    font-weight: 900;
    font-size: 1.6rem;
    cursor: pointer;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #fff;
}

/* ==========================================================================
   7. FOOTER TERMINAL INTERFACE
   ========================================================================== */
footer {
    text-align: center;
    padding: 25px 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
    border-top: 4px solid var(--border-hard);
    background: var(--bg-dark-hull);
}

/* ==========================================================================
   8. MOBILE SCREEN RESCALE PATTERNS
   ========================================================================== */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .block-title {
        font-size: 2.2rem;
    }
    .hero-box, .info-block, .matrix-section, .form-box {
        padding: 20px;
    }
    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* ==========================================================================
   SADIM TERMINAL LOGO ENGINE (FIXED RTL)
   ========================================================================== */
.sadim-logo-engine {
    font-family: 'Handjet', monospace;
    font-weight: 900;
    font-size: 3.5rem; /* Change this to scale the logo size anywhere */
    letter-spacing: 2px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    direction: ltr !important; /* Forces the internal layout to read left-to-right */
}

/* Color Palette Configuration */
.sadim-logo-engine .cmd-prompt {
    color: #ffb703; /* Signature Sadim Amber */
    order: 1;       /* Explicitly forces the prompt arrow to be first on screen */
}

.sadim-logo-engine .brand-text {
    color: #e6edf3; /* Tactical console white */
    order: 2;       /* Forces the brand text to be second */
}

.sadim-logo-engine .hardware-tag {
    color: rgba(255, 183, 3, 0.3); /* Muted structural tag */
    font-size: 0.75em; 
    margin-left: -2px;
    order: 3;       /* Forces the tag to stay at the very end */
}

/* 
   No extra html[dir="rtl"] block is needed anymore! 
   The 'direction: ltr !important' on the container guarantees that no matter 
   what language the page is currently in, the logo elements stay locked 
   perfectly in line as: >_ SADIM [•]
*/
