/* --- Root Core Parameters & Clean Layout Rules --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body { 
    background-color: #080c14; 
    color: #ffffff; 
    padding: 140px 24px 80px 24px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Base Page View Structuring & Animations */
.page-view {
    display: none;
    width: 100%;
    max-width: 1100px;
    animation: fadeInPage 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    flex-direction: column;
    align-items: center;
}

.page-view.active {
    display: flex;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Typography Layouts */
.hero-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.hero-logo {
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(168, 95, 255, 0.2));
}

h1 { 
    font-size: 2.8rem; 
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px; 
    color: #ffffff; 
}

p.subtitle { 
    color: #64748b; 
    font-size: 1.1rem; 
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Fixed Navigation Header Bar Styles --- */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    z-index: 999;
    padding: 18px 32px;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
    padding: 6px 0;
    position: relative;
}

.nav-links a.active, .nav-links a:hover {
    color: #22d3ee;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #22d3ee;
    border-radius: 2px;
}

.nav-cta-btn {
    background: rgba(34, 211, 238, 0.06);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-cta-btn:hover {
    background: #22d3ee;
    color: #080c14;
    border-color: #22d3ee;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.25);
}

/* --- Interactive Switch Toggle Tiers --- */
.toggle-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 50px; 
    background: #111726; 
    padding: 10px 24px; 
    border-radius: 40px; 
    border: 1px solid rgba(30, 41, 59, 0.7); 
}

.toggle-label { font-weight: 600; font-size: 0.95rem; color: #64748b; transition: color 0.3s; }
.toggle-label.active { color: #22d3ee; }
.switch { position: relative; display: inline-block; width: 54px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #1e293b; transition: .3s; border-radius: 34px; border: 1px solid #334155; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: #ffffff; transition: .3s; border-radius: 50%; }
input:checked + .slider { background-color: #a85fff; }
input:checked + .slider:before { transform: translateX(26px); }

/* --- Clean, Uncramped Services Grid Menu --- */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 32px; 
    width: 100%; 
    max-width: 1100px; 
    margin-bottom: 50px; 
}
         
/* Individual Spaced Cards */
.card { 
    background: #111726; 
    border: 1px solid rgba(30, 41, 59, 0.6); 
    border-radius: 16px; 
    padding: 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    min-height: 380px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s; 
}

.card:hover { 
    transform: translateY(-6px); 
    border-color: #22d3ee; 
    box-shadow: 0 12px 30px rgba(11, 15, 25, 0.5), 0 0 20px rgba(34, 211, 238, 0.05);
}
         
.card h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: #22d3ee; letter-spacing: -0.02em; }
.card p { color: #94a3b8; font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }
.card .price { font-size: 1.75rem; font-weight: 700; color: #ffffff; margin-bottom: 24px; display: block; }
         
/* Action Buttons */
.quote-btn { 
    background: #a85fff; 
    color: white; 
    border: none; 
    padding: 14px; 
    border-radius: 8px; 
    font-weight: 600; 
    font-size: 0.95rem;
    text-align: center; 
    text-decoration: none; 
    display: block; 
    transition: background 0.2s, box-shadow 0.2s; 
}
.quote-btn:hover { 
    background: #c084fc; 
    box-shadow: 0 4px 15px rgba(168, 95, 255, 0.35);
}

/* Disclaimer Footer Area */
.disclaimer { 
    max-width: 700px; 
    width: 100%; 
    text-align: center; 
    color: #475569; 
    font-size: 0.85rem; 
    line-height: 1.6; 
    padding: 20px 10px; 
}

/* --- Capabilities Showcase Layout --- */
.showcase-section { 
    width: 100%; 
    max-width: 1100px; 
    margin-top: 40px; 
    padding-top: 60px;
    border-top: 1px solid rgba(30, 41, 59, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title { font-size: 2.1rem; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-subtitle { color: #64748b; font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.5; }

.showcase-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 32px; 
    width: 100%; 
}

@media (max-width: 768px) { 
    .showcase-grid { grid-template-columns: 1fr; } 
    body { padding-top: 120px; }
    h1 { font-size: 2.2rem; }
}

.showcase-item { 
    position: relative; 
    border-radius: 16px; 
    overflow: hidden; 
    height: 320px; 
    border: 1px solid rgba(30, 41, 59, 0.6); 
    background: #111726; 
}

/* Intercepts and hides blocked raw image structures */
.showcase-item img { 
    display: none !important;
}

/* Mesh-Gradient Visual Card Standard */
.showcase-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.8) 0%, rgba(11, 15, 25, 0.98) 100%);
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 35px 25px; 
    box-sizing: border-box; 
    height: 100%;
    width: 100%;
    transition: background 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    background: linear-gradient(135deg, rgba(168, 95, 255, 0.15) 0%, rgba(11, 15, 25, 0.99) 100%);
}

.showcase-tag { align-self: flex-start; background: rgba(168, 95, 255, 0.12); color: #c084fc; border: 1px solid rgba(168, 95, 255, 0.25); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.06em; }
.showcase-overlay h3 { font-size: 1.35rem; font-weight: 700; color: #22d3ee; margin-bottom: 8px; letter-spacing: -0.01em; }
.showcase-overlay p { color: #94a3b8; font-size: 0.9rem; line-height: 1.5; }
 
/* --- Contact Modal Popup Layout --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5, 7, 13, 0.85); backdrop-filter: blur(8px); justify-content: center; align-items: center; padding: 20px; z-index: 1000; }
.modal:target { display: flex; }
.modal-content { background: #111726; padding: 40px; border-radius: 20px; width: 100%; max-width: 480px; border: 1px solid rgba(168, 95, 255, 0.4); position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.close-btn { position: absolute; top: 20px; right: 20px; color: #64748b; text-decoration: none; font-size: 1.4rem; transition: color 0.2s; }
.close-btn:hover { color: #ffffff; }
.modal h3 { margin-bottom: 8px; color: #22d3ee; font-size: 1.6rem; font-weight: 700; }
.modal label { display: block; margin: 20px 0 6px; font-size: 0.9rem; color: #94a3b8; font-weight: 600; }
.modal input, .modal textarea { width: 100%; padding: 12px 16px; background: #080c14; border: 1px solid rgba(30, 41, 59, 0.8); border-radius: 8px; color: white; margin-bottom: 5px; font-size: 0.95rem; }
.modal input:focus, .modal textarea:focus { border-color: #22d3ee; outline: none; box-shadow: 0 0 10px rgba(34, 211, 238, 0.15); }
.submit-btn { width: 100%; background: #22d3ee; color: #080c14; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: 24px; transition: all 0.2s; }
.submit-btn:hover { background: #67e8f9; box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3); }
