/* --- VARIABLES --- */
:root {
    --primary-color: #000000;       /* Black */
    --secondary-color: #ffffff;     /* White */
    --accent-color: #FFD700;        /* Gold */
    --text-color: #333333;          /* Dark Grey for readability */
    --bg-color: #f4f4f4;            /* Light Grey for background depth */
    --font-stack: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    background: linear-gradient(to bottom, #f4f4f4 0%, #e8e8e8 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

h1 { font-size: 2.5rem; border-bottom: 3px solid var(--accent-color); display: inline-block; padding-bottom: 5px; }
p { margin-bottom: 15px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- HEADER & NAV --- */
header {
    background: linear-gradient(180deg, #1a1a1a 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    padding: 0 20px;
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* --- MAIN CONTENT LAYOUT --- */
main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- CARDS (Generic) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: var(--secondary-color);
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-left-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 10px 20px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e5c100 100%);
    color: var(--primary-color);
    border-color: #e5c100;
}

/* --- FOOTER STYLES --- */
footer {
    background: linear-gradient(180deg, #111111 0%, #000000 100%);
    color: #cccccc;
    padding-top: 60px;
    margin-top: auto;
    border-top: 4px solid var(--accent-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    display: block;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #cccccc; text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-col p { margin-bottom: 15px; line-height: 1.6; }

.footer-bottom {
    background-color: #000000;
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #777;
}

/* --- SERVICE PAGE EXTRAS --- */
.intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    color: #555;
    margin-bottom: 40px;
}

.text-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
}

.text-link:hover {
    background-color: var(--accent-color);
    padding: 2px 5px;
}

/* --- CALL TO ACTION (CTA) --- */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
    color: var(--secondary-color);
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
    border-radius: 4px;
    border-bottom: 10px solid var(--accent-color);
}

.cta-section h2 {
    color: var(--secondary-color);
    border: none;
}

.cta-section .btn {
    margin-top: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
}

.cta-section .btn:hover {
    background: #fff;
}

/* --- HERO SECTION (Home Page) --- */
.hero-section {
    background: linear-gradient(135deg, #000000 0%, #222222 100%);
    color: var(--secondary-color);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    border: none;
}

.hero-section p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
}
.btn-gold:hover {
    background: #fff;
}

/* --- FORM STYLES --- */
.contact-container {
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.industrial-form .form-group {
    margin-bottom: 20px;
}

.industrial-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.industrial-form input, 
.industrial-form select, 
.industrial-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
}

.industrial-form input:focus, 
.industrial-form select:focus, 
.industrial-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* --- GENERIC TEXT BLOCK --- */
.text-block {
    max-width: 800px;
    line-height: 1.8;
}
.text-block ul {
    margin-left: 20px;
    margin-top: 10px;
}
.text-block li {
    margin-bottom: 10px;
}

/* --- DOWNLOAD PAGE STYLES --- */
.download-section, .pro-section {
    margin-bottom: 50px;
    text-align: center;
}

.os-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.os-card {
    background: white;
    border: 1px solid #ddd;
    border-bottom: 4px solid var(--primary-color);
    padding: 20px;
    width: 200px;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.2s;
    cursor: pointer;
    display: block;
}

.os-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-color);
}

.os-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: underline;
}

.divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 40px 0;
}

/* --- PRO CARD STYLES --- */
.pro-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--accent-color);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.feature-list {
    text-align: left;
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 10px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.tiny-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

/* --- APP STORE CARD STYLES --- */
.app-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.badge {
    background: #eee;
    color: #555;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Download Section (Free) */
.app-downloads {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin-top: auto;
    margin-bottom: 15px;
    border: 1px dashed #ccc;
}

.app-downloads .label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
}

.os-links {
    display: flex;
    justify-content: space-around;
}

.os-links a {
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--primary-color);
    padding: 5px;
    border-radius: 3px;
    transition: background 0.2s;
}

.os-links a:hover {
    background: #ddd;
    color: #000;
}

/* Purchase Section (Pro) */
.app-purchase hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-tag small {
    font-size: 0.8rem;
    font-weight: normal;
    color: #666;
}

.feature-note {
    font-size: 0.8rem;
    color: green;
    font-weight: bold;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
}

.btn-full:hover {
    background-color: #e5c100;
}

/* --- SUPPORT PAGE STYLES --- */
.support-contact-box {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.support-contact-box .icon-area {
    margin-right: 30px;
    color: var(--primary-color);
}

.support-contact-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #f4f4f4;
    list-style: none;
    position: relative;
    transition: background 0.2s;
}

.faq-item summary:hover {
    background-color: #eaeaea;
}

.faq-item summary::after {
    content: '+'; 
    position: absolute;
    right: 20px;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item[open] summary {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.faq-content {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    border-top: 2px solid var(--accent-color);
}

/* --- Contact Form Status Messages --- */
.status-message {
    display: none;
    align-items: center;
    margin-left: 15px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-message.visible {
    display: inline-flex; 
    opacity: 1;
}

.status-message.success {
    color: #28a745;
}

.status-message.error {
    color: #dc3545;
}

.status-icon {
    margin-right: 5px;
    font-size: 1.2em;
}

/* --- Loading Spinner --- */
.spinner {
    display: none;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.loading .spinner {
    display: inline-block;
}

/* =========================================
   TEAM PROFILE SPECIFIC STYLES
   ========================================= */

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Profile Card - Inherits industrial look from .card but customized */
.profile-card {
    background: var(--secondary-color);
    border-radius: 4px; /* Sharper corners for industrial look */
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
    border-left: 5px solid var(--primary-color); 
    border-top: none; 
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-left-color: var(--accent-color); /* Gold on hover */
}

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 30px auto 10px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    background-color: var(--bg-color);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    padding: 20px 30px;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 5px 0;
}

.profile-role {
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.profile-bio {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.skills-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.skill-tag {
    background-color: var(--primary-color); 
    color: var(--accent-color); 
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.social-links a {
    color: #999;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}