/* GLOBAL STYLES - Reliwe */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    /* Colors - Primary */
    --color-primary: #667eea;
    --color-primary-dark: #5a6fd8;
    --color-secondary: #764ba2;

    /* Colors - Accent */
    --color-accent: #10FDB4;
    --color-accent-dark: #07c290;

    /* Colors - Background */
    --bg-dark: #1c1824;
    --bg-secondary: #23202a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    /* Colors - Text */
    --text-primary: #1c1824;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);

    /* Colors - Status */
    --color-success: #16a34a;
    --color-error: #dc2626;
    --color-warning: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 15px;
    --spacing-md: 30px;
    --spacing-lg: 60px;
    --spacing-xl: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 0 30px rgba(16, 253, 180, 0.5);

    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Light Mode Theme */
[data-theme="light"] {
    /* Backgrounds - invert dark/light */
    --bg-dark: #ffffff;
    --bg-secondary: #f0f2f5;
    --bg-light: #e8eaed;

    /* Text - invert for light backgrounds */
    --text-light: #1c1824;
    --text-muted: rgba(28, 24, 36, 0.7);

    /* Gradients for light mode - lighter versions */
    --gradient-primary: linear-gradient(135deg, #7b8ff5 0%, #9b6dba 100%);
    --gradient-dark: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);

    /* Shadows - lighter */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    padding: 60px 0 0;
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 60px;
    background: var(--bg-secondary);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}


.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-light);
}

.logo a:hover {
    color: var(--color-accent);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-shrink: 0;
}

nav a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

nav a:hover {
    color: var(--color-accent);
    opacity: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    padding: 8px;
    transition: var(--transition-fast);
}

.cart-btn:hover {
    color: var(--color-accent);
}

.cart-icon {
    display: block;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Button */
.start-app {
    background: var(--color-accent);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 50px;
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-accent);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
}

.start-app:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 5px 40px rgba(16, 253, 180, 0.7);
}

/* FAQ */
.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question:after {
    content: "+";
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question:after {
    content: "−";
}

/* Auth Pages */
body.auth-page {
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: var(--bg-white);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.container h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* Forms */
input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0 15px 0;
    border: 2px solid #d0d5dd;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-primary);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

button,
.btn {
    width: 100%;
    padding: 14px;
    background: var(--color-accent);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

button:hover,
.btn:hover {
    background: var(--color-accent-dark);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Password Strength */
.strength-meter {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0 5px 0;
}

#strength-bar {
    height: 100%;
    width: 0%;
}

#strength-text,
#match-text {
    font-size: 0.9em;
    height: 20px;
    line-height: 20px;
}

/* Alerts */
.error,
.alert-error {
    background: #f8d7da;
    color: #d9534f;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
}

.success,
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
}

.link {
    margin-top: 20px;
    font-size: 0.95em;
    color: #666;
}

.link a {
    color: #667eea;
    font-weight: 600;
}

.link a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1c1824 0%, #23202a 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 8%;
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #10FDB4 50%, transparent 100%);
    opacity: 0.3;
}

.footer-left {
    flex: 1;
    min-width: 280px;
}

.big-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #10FDB4 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(16, 253, 180, 0.2);
}

.owners {
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.75;
    color: #d2e3ff;
    font-weight: 400;
}

.footer-address {
    font-size: 0.95rem;
    line-height: 2;
    opacity: 0.6;
    color: #d2e3ff;
}

.footer-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
}

.footer-right-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: right;
    color: #ffffff;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a {
    color: #d2e3ff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
    padding: 10px 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #10FDB4 50%, transparent 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #10FDB4;
}

.footer-links a:hover::before {
    width: 100%;
}


/* =====================================================
   RESPONSIVE DESIGN - Mobile/Tablet Optimization
   ===================================================== */

@media (max-width: 992px) {

    .mission-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid,
    .benefits-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-right {
        align-items: center;
    }

    .footer-right-title {
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* Main Site Header - Mobile */
    header {
        padding: 10px 15px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo a {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    header nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
    }

    header nav a {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .start-app {
        font-size: 1rem;
        padding: 14px 35px;
    }

    .steps-grid,
    .benefits-grid,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 30px 20px;
    }

    .admin-container {
        padding: 20px;
    }

    .admin-table {
        font-size: 0.85rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 0.75rem;
    }

    /* Footer Mobile */
    footer {
        padding: 50px 5%;
        gap: 30px;
    }

    .big-logo {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .owners {
        font-size: 0.9rem;
    }

    .footer-address {
        font-size: 0.85rem;
    }

    .footer-right-title {
        font-size: 1.2rem;
    }

    .footer-links {
        gap: 20px;
        flex-direction: column;
    }

    .footer-links a {
        font-size: 0.95rem;
    }
}