/* ===== VARIABLES & RESET ===== */
:root {
    --bg-color: #1e1e1e;
    --text-color: #e0e0e0;
    --green: #4EC9B0;
    --blue: #569CD6;
    --purple: #C586C0;
    --yellow: #DCDCAA;
    --orange: #CE9178;
    --red: #F44747;
    --comment: #6A9955;
    --highlight: #FFD700;
    --accent: #8ab4ff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
}

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

body {
    background-color: #121212;
    font-family: 'Source Code Pro', monospace;
    color: var(--text-color);
    line-height: 1.6;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ===== STICKY SUPPORT BAR ===== */
.support-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    backdrop-filter: blur(6px);
    background: rgba(15, 15, 20, 0.95);
    border-bottom: 1px solid var(--card-border);
    padding: 0.75rem 0;
}

.support-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.support-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 2s infinite;
}

.support-bar strong {
    color: var(--green);
}

.support-bar a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.support-bar a:hover {
    background: rgba(138, 180, 255, 0.1);
    text-decoration: none;
}

/* ===== APP SUPPORT SECTION ===== */
.support-section {
    max-width: 1100px;
    width: 100%;
    margin: 2rem auto;
    padding: 0 1rem;
}

.support-section h1 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--green);
    padding-left: 1rem;
}

.support-intro {
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
}

.support-intro a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.support-intro a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.support-faq {
    margin: 2rem 0;
}

.support-faq details {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.8rem 0;
    transition: all 0.3s ease;
}

.support-faq details[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--green);
}

.support-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--blue);
    padding: 0.5rem;
    margin: -0.5rem;
    list-style: none;
    display: flex;
    align-items: center;
}

.support-faq summary::-webkit-details-marker {
    display: none;
}

.support-faq summary:before {
    content: ">";
    margin-right: 0.8rem;
    color: var(--green);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.support-faq details[open] summary:before {
    transform: rotate(90deg);
}

.support-faq div {
    margin-top: 1rem;
    line-height: 1.6;
    padding-left: 1.8rem;
}

.support-faq a {
    color: var(--accent);
    text-decoration: none;
}

.support-faq a:hover {
    text-decoration: underline;
}

/* App Cards */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.app-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--blue);
    opacity: 0.7;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--blue);
}

.app-card h3 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--blue);
}

.app-card p {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.app-card strong {
    color: var(--green);
}

.app-card a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.app-card a:hover {
    color: var(--highlight);
    text-decoration: none;
}

/* Privacy Policy Section */
.privacy-policy {
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.8rem;
}

.privacy-policy summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--purple);
    list-style: none;
    display: flex;
    align-items: center;
}

.privacy-policy summary::-webkit-details-marker {
    display: none;
}

.privacy-policy summary:before {
    content: ">";
    margin-right: 0.8rem;
    color: var(--purple);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.privacy-policy[open] summary:before {
    transform: rotate(90deg);
}

.policy-content {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.policy-content h4 {
    color: var(--blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.policy-content p, .policy-content li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.policy-content ul {
    padding-left: 1.5rem;
    margin: 0.8rem 0;
}

.policy-content a {
    color: var(--accent);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* ===== TERMINAL STYLING ===== */
.terminal {
    width: 100%;
    max-width: 1100px;
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin: 1rem auto 3rem;
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 12px;
}

.terminal-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.red { background-color: var(--red); }
.terminal-btn.yellow { background-color: #FF9F1C; }
.terminal-btn.green { background-color: #4CAF50; }

.terminal-title {
    color: #b0b0b0;
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: center;
}

.terminal-body {
    padding: 2rem;
}

.command-line {
    display: flex;
    margin-bottom: 0.8rem;
    align-items: center;
}

.prompt {
    color: var(--green);
    margin-right: 10px;
    font-weight: bold;
}

.command {
    color: var(--blue);
}

.output {
    margin-bottom: 2.5rem;
}

h1, h2 {
    color: var(--blue);
    margin: 1.2rem 0;
}

.keyword {
    color: var(--blue);
}

.var-name {
    color: var(--green);
}

.property {
    color: var(--purple);
}

.string {
    color: var(--orange);
}

.highlight {
    color: var(--highlight);
    font-weight: bold;
}

.comment {
    color: var(--comment);
    font-style: italic;
}

.method {
    color: var(--yellow);
}

.bracket {
    color: var(--blue);
}

.indent {
    margin-left: 2rem;
}

.process-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.process-list li {
    margin-bottom: 1rem;
    list-style-position: outside;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 1.5rem 0;
}

.skill-tag {
    background-color: #252525;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: #2a2a2a;
    transform: translateY(-2px);
}

.contact-form {
    margin-top: 1.5rem;
}

.form-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-line:hover {
    background: rgba(255, 255, 255, 0.05);
}

.form-line .prompt {
    color: var(--green);
    font-weight: bold;
    margin-right: 12px;
}

.form-line .input {
    margin-left: 10px;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ===== CTA ELEMENTS ===== */
.hero-cta {
    background-color: #252525;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button {
    margin-top: 2rem;
    text-align: center;
}

.cta-button a {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), #3aa390);
    color: #121212;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button a:hover {
    background: linear-gradient(135deg, var(--highlight), #e6c700);
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

.highlight-box {
    background-color: #252525;
    border-left: 4px solid var(--orange);
    padding: 1.2rem;
    margin-top: 1.5rem;
    font-weight: bold;
    border-radius: 6px;
}

/* ===== ANIMATIONS ===== */
.blinking {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { color: var(--blue); }
    50% { color: var(--highlight); }
    100% { color: var(--blue); }
}

.typing-animation {
    margin-top: 2rem;
    display: inline-block;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--green);
    font-weight: bold;
}

/* Contact links emphasis */
.contact-form a {
    color: var(--accent);
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    background: rgba(138, 180, 255, 0.1);
}

.contact-form a:hover {
    background: rgba(138, 180, 255, 0.2);
    text-decoration: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .support-bar-inner {
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .support-section {
        padding: 0 0.75rem;
        margin: 1.5rem auto;
    }
    
    .support-section h1 {
        font-size: 1.5rem;
    }
    
    .terminal {
        border-radius: 0;
        margin: 0;
    }
    
    .terminal-body {
        padding: 1.5rem;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .cta-button a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        padding: 1.5rem;
    }
    
    .policy-content {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .support-bar-inner {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .terminal-header {
        padding: 0.5rem 1rem;
    }
    
    .terminal-body {
        padding: 1rem;
    }
    
    .command-line {
        flex-wrap: wrap;
    }
    
    .privacy-policy {
        padding: 0.6rem;
    }
}