/* --- GLOBAL STYLES --- */
body { margin: 0; background: #0d0d0d; font-family: Arial, Helvetica, sans-serif; color: white; text-align: center; overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; transition: 0.3s; }
html { scroll-behavior: smooth; }

/* --- HERO SECTION --- */
.hero { 
    flex: 1; 
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    padding: 80px 20px; 
    box-sizing: border-box; 
}

/* 1. TOP LINE (Intro Text) */
.hero-intro { 
    font-size: 1.5rem; 
    color: #ffffff; 
    margin: 0 0 35px 0; /* Increased gap to push BITish down to center */
    font-weight: normal; 
}

/* 2. MIDDLE LINE (The Logo) */
h1 { 
    font-size: 4rem; 
    letter-spacing: 2px; 
    margin: 0 0 40px 0; 
    color: #ffa733; 
    line-height: 1.2; 
}

/* 3. COLOR & FONT UTILITIES */
.brand-word { color: #ffa733; font-weight: bold; } 
.ish { font-style: italic; font-weight: normal; color: #ffffff; } 
.white-quote { color: #ffffff; font-weight: normal; } 

/* Loader */
.loader { 
    margin-top: 10px; 
    width: 50px; 
    height: 50px; 
    border: 4px solid #333; 
    border-top: 4px solid #ffa733; 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* TERMINAL & TYPING ANIMATION */
.code-terminal { 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 1.1rem; 
    color: #ffa733; 
    margin-top: 35px; 
    display: inline-block; 
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 3px solid #ffa733; 
    width: 0; 
    animation: typing 5s steps(40, end) infinite, blink-caret .75s step-end infinite; 
}
@keyframes typing { 
    0% { width: 0 } 
    40% { width: 520px; } 
    80% { width: 520px; } 
    90% { width: 0; } 
    100% { width: 0; } 
}
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: #ffa733; } }

/* Buttons */
.hero-btn-container { 
    margin-top: 100px; /* Large gap */
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
    width: 100%; 
}

.main-btn { color: #ffa733; border: 1px solid #ffa733; padding: 12px 30px; border-radius: 5px; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; background: transparent; cursor: pointer; white-space: nowrap; }
.main-btn:hover { background-color: #ffa733; color: #0d0d0d; box-shadow: 0 0 15px rgba(255, 167, 51, 0.4); }

/* NEW: Brand Signature (Below Buttons) */
.brand-signature {
    margin-top: 30px;
    color: #ffffff; /* Pure White */
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* --- SECTIONS --- */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; color: white; border-bottom: 2px solid #333; display: inline-block; padding-bottom: 10px; }
.section-title span { color: #ffa733; }

/* --- APPS GRID --- */
.apps-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.app-card { background: #1a1a1a; border: 1px solid #333; border-radius: 10px; padding: 30px; width: 100%; max-width: 350px; text-align: left; transition: transform 0.3s; display: flex; flex-direction: column; box-sizing: border-box; }
.app-card:hover { transform: translateY(-5px); border-color: #ffa733; }
.app-icon { font-size: 2.5rem; margin-bottom: 15px; }
.app-card h3 { color: #ffa733; margin: 0 0 10px 0; }
.app-card p { color: #ccc; font-size: 0.9rem; line-height: 1.5; flex-grow: 1; }
.app-link { display: inline-block; margin-top: 15px; color: white; font-weight: bold; font-size: 0.9rem; }
.app-link:hover { color: #ffa733; text-decoration: underline; }

/* --- TOOLS GRID --- */
.tools-card { background: #111; border: 1px dashed #444; text-align: center; align-items: center; justify-content: center; padding: 40px; }
.tools-card:hover { border-color: #ffa733; background: #161616; }

/* --- COMING SOON PAGE --- */
.cs-container { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 60vh; width: 100%; padding: 20px; box-sizing: border-box; }
.back-link { margin-top: 20px; color: #666; font-size: 0.9rem; }
.back-link:hover { color: #fff; }

/* --- FOOTER --- */
.footer { padding: 40px; background: #050505; color: #666; font-size: 0.9rem; margin-top: auto; border-top: 1px solid #222; width: 100%; box-sizing: border-box; }
.footer a { color: #888; margin: 0 10px; display: inline-block; margin-bottom: 10px;}
.footer a:hover { color: #ffa733; }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .hero-intro { font-size: 1.1rem; padding: 0 10px; margin-bottom: 15px; } 
    h1 { font-size: 2.5rem; margin-bottom: 25px; } 
    .hero-btn-container { margin-top: 60px; flex-direction: column; align-items: center; gap: 15px; }
    .main-btn { width: 100%; max-width: 300px; text-align: center; }
    .section { padding: 40px 20px; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    .code-terminal { font-size: 0.9rem; width: auto !important; animation: none; border: none; white-space: normal; text-align: center; }
}