/* Lojinak Website Styles */

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

:root {
    --primary-color: #0059B3;
    --primary-dark: #003d7a;
    --secondary-color: #00A3E0;
    --text-dark: #192A49;
    --text-light: #6B7280;
    --bg-light: #F0F4F8;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Language Selector - Globe Dropdown Style */
.lang-selector {
    position: relative;
    margin-left: 1.5rem;
}

.lang-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.lang-selector-btn:hover {
    background: var(--bg-light);
    border-color: #ccc;
}

.lang-selector-btn .globe-icon {
    font-size: 1rem;
}

.lang-selector-btn .chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.lang-dropdown.active + .lang-selector-btn .chevron,
.lang-selector:has(.lang-dropdown.active) .chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option.active {
    background: var(--bg-light);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 1.25rem;
}

.lang-option .lang-name {
    font-size: 0.9rem;
}

.lang-option .check {
    margin-left: auto;
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0;
}

.lang-option.active .check {
    opacity: 1;
}

/* Mobile Language Selector */
.mobile-lang-selector {
    padding: 0.75rem 1rem;
    border-top: 1px solid #eee;
    margin-top: 0.5rem;
}

.mobile-lang-selector-title {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.mobile-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: var(--bg-light);
    text-decoration: none;
    transition: all 0.15s ease;
}

.mobile-lang-option:hover {
    background: #e8e8e8;
}

.mobile-lang-option.active {
    background: var(--primary-color);
    color: var(--white);
}

.mobile-lang-option .flag {
    font-size: 1rem;
}

/* Hero Section */
main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    min-height: 600px;
}

.hero-content {
    max-width: 500px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.app-store-btn img {
    height: 50px;
    width: auto;
}

/* Beta Badge */
.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    animation: pulse-glow 2s ease-in-out infinite;
    margin-bottom: 1.5rem;
}

.beta-icon {
    font-size: 1.3rem;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    }
    50% {
        box-shadow: 0 4px 25px rgba(16, 185, 129, 0.55);
    }
}

/* Download Buttons */
.download-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.testflight-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.testflight-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.download-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.download-btn-small {
    font-size: 0.7rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn-large {
    font-size: 1.15rem;
    font-weight: 700;
}

.android-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    font-weight: 500;
}

.android-coming-soon .download-btn-icon {
    width: 22px;
    height: 22px;
    opacity: 0.5;
}

.hero-image img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--bg-light);
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* How It Works */
.how-it-works {
    padding: 5rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Legal Pages */
.legal-page {
    padding: 2rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-content li strong {
    color: var(--text-dark);
}

/* Support Page */
.support-page {
    padding: 2rem;
}

.support-content {
    max-width: 1000px;
    margin: 0 auto;
}

.support-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.support-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 0.5rem;
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.support-btn:hover {
    background: var(--primary-dark);
}

.support-info {
    display: inline-block;
    background: var(--white);
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

/* FAQ */
.faq {
    margin-bottom: 4rem;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-card {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    color: var(--text-dark);
}

.mockup-icon {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-image img {
        max-width: 250px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .download-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    header nav {
        position: relative;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .legal-content h1,
    .support-content h1 {
        font-size: 1.75rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .mockup-header {
        padding: 1.5rem 1rem;
    }

    .mockup-logo {
        height: 40px;
    }

    .mockup-content {
        padding: 1rem;
        gap: 0.75rem;
    }

    .mockup-card {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
