/* --- Common Styles for Pages (Contact, Audit, Privacy, Terms, Pitch Deck) --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

:root {
    --bg-void: #050614; 
    --primary-neon: #9945FF; 
    --secondary-cyan: #00F0FF; 
    --text-main: #FFFFFF; 
    --text-muted: #8F90A6;
    --glass-bg: rgba(13, 14, 35, 0.85); 
    --glass-border: rgba(153, 69, 255, 0.3);
    --error-red: #FF3366;
    --success-green: #00ff88;
    --accent-gold: #FFD700;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-void);
    background-image: radial-gradient(circle at 50% 0%, rgba(112, 0, 255, 0.15) 0%, transparent 50%);
    background-attachment: fixed; 
    color: var(--text-main); 
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
}

#starfield { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* --- Header --- */
nav {
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 40px; 
    background: rgba(5, 6, 20, 0.9); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky; top: 0; z-index: 100;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 35px; width: auto; }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--text-main); margin-left: 10px; letter-spacing: 2px; }

.back-btn {
    color: var(--text-muted); text-decoration: none; 
    font-family: 'Orbitron'; font-size: 0.9rem; 
    border: 1px solid var(--glass-border); padding: 8px 20px; 
    border-radius: 20px; transition: 0.3s;
}
.back-btn:hover { color: white; border-color: var(--secondary-cyan); background: rgba(0, 240, 255, 0.1); }

/* --- Contact Us Specific --- */
.contact-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 0 60px rgba(153, 69, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

.contact-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-cyan));
    border-top-left-radius: 24px; border-top-right-radius: 24px;
}

.header-section { text-align: center; margin-bottom: 35px; }
h1 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; margin-bottom: 10px; color: white; text-transform: uppercase; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* --- Form Elements --- */
.form-group { margin-bottom: 20px; position: relative; }
.form-group label { display: block; margin-bottom: 8px; color: var(--secondary-cyan); font-family: 'Orbitron', sans-serif; font-size: 0.85rem; letter-spacing: 1px; }

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: 0.3s;
}

.input-field:focus {
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

textarea.input-field { resize: vertical; min-height: 120px; }

/* Password Toggle Icon Styles */
.password-wrapper {
    position: relative;
}

.password-input {
    padding-right: 45px !important;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1rem;
}

.password-toggle:hover {
    color: var(--secondary-cyan);
    text-shadow: 0 0 8px var(--secondary-cyan), 0 0 12px var(--secondary-cyan);
    transform: translateY(-50%) scale(1.1);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* --- CUSTOM SELECT STYLES --- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.custom-select-trigger span {
    color: var(--text-muted);
}
.custom-select-trigger.has-value span {
    color: white;
}

.custom-select-trigger i {
    font-size: 0.8rem;
    color: var(--secondary-cyan);
    transition: transform 0.3s;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-neon);
    background: rgba(255, 255, 255, 0.05);
}

.custom-select-wrapper.open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #0D0E23;
    border: 1px solid var(--primary-neon);
    border-radius: 12px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.custom-option:last-child { border-bottom: none; }

.custom-option:hover {
    background: rgba(153, 69, 255, 0.15);
    color: white;
    padding-left: 20px;
}

.custom-option.selected {
    color: var(--secondary-cyan);
    font-weight: 600;
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-neon), #6600cc);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #8a3cdb, #5500aa);
    box-shadow: 0 0 25px rgba(153, 69, 255, 0.5);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* --- Success Message --- */
.success-message {
    margin-top: 25px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.success-message i {
    color: var(--success-green);
    font-size: 1.3rem;
    flex-shrink: 0;
    animation: checkmark-pop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.success-message span {
    flex: 1;
}

@keyframes checkmark-pop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

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

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

/* --- Content Pages (Audit, Privacy, Terms) --- */
.content-wrapper {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 40px 60px 40px;
    width: 100%;
}

.content-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 0 60px rgba(153, 69, 255, 0.15);
    backdrop-filter: blur(20px);
}

.content-card h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
}

.content-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--secondary-cyan);
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.content-card ul, .content-card ol {
    margin-left: 30px;
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-card li {
    margin-bottom: 10px;
}

/* --- Pitch Deck Specific --- */
.pitch-wrapper {
    flex: 1;
    padding: 40px 20px;
}

.pitch-container {
    max-width: 1200px;
    margin: 0 auto;
}

.slide {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 0 60px rgba(153, 69, 255, 0.15);
    backdrop-filter: blur(20px);
}

.slide h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

.slide-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-neon);
    font-weight: 700;
}

/* --- Audit Reports Specific --- */
.audit-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    flex: 1;
}

.audit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
}

.audit-card h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audit-card .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.content-block { margin-bottom: 40px; }

.audit-card h2 {
    font-family: 'Orbitron', sans-serif;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-cyan);
    padding-left: 20px;
}

.audit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.audit-item:hover {
    border-color: var(--secondary-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.audit-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-cyan);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.audit-item p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.audit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.audit-link:hover {
    color: var(--secondary-cyan);
    gap: 12px;
}

/* --- Simple Footer --- */
.simple-footer {
    background: rgba(5, 6, 20, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 30px 40px;
    text-align: center;
    margin-top: 60px;
    backdrop-filter: blur(10px);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.simple-footer::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    margin-bottom: 15px;
}

.simple-footer span {
    color: var(--secondary-cyan);
    font-weight: 600;
}

.simple-footer .brand-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #9945FF, #00F0FF, #9945FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    filter: drop-shadow(0 0 10px rgba(153, 69, 255, 0.6));
    position: relative;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.simple-footer .tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 5px;
}

@media (max-width: 768px) {
    nav { padding: 15px 20px; }
    .content-wrapper, .contact-wrapper { padding: 80px 20px 30px 20px; }
    .content-card, .contact-card { padding: 30px; }
    h1 { font-size: 2rem; }
    .slide { padding: 40px 30px; }
    .audit-card { padding: 30px; }
    .audit-card h1 { font-size: 2rem; }
    .simple-footer { padding: 25px 20px; font-size: 0.85rem; }
}

