/* LiJordan Website Styles */

:root {
    /* Brand Colors - Brown/Beige theme */
    --primary: #c4a77d;
    --primary-dark: #a68b5b;
    --secondary: #8b7355;
    --brand-dark: #2d2d2d;
    --brand-beige: #d4c4a8;

    /* Oceanus Colors */
    --oceanus-primary: #0077B6;
    --oceanus-light: #CAF0F8;
    --oceanus-dark: #023E8A;

    /* Terra Colors */
    --terra-primary: #63B68E;
    --terra-light: #E3F4F0;
    --terra-dark: #2D6556;

    /* Neutral Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #3d3d3d 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Apps Section */
.apps {
    padding: 80px 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.app-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
    font-size: 1.75rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.app-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin-bottom: 25px;
}

.app-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.app-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--white);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.oceanus-card:hover .store-badge {
    background: var(--oceanus-primary);
}

.terra-card:hover .store-badge {
    background: var(--terra-primary);
}

/* About Section */
.about {
    padding: 60px 0 80px;
}

.about-card {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #3d3d3d 100%);
    border-radius: 20px;
    padding: 50px;
    color: var(--white);
    text-align: center;
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-card p {
    max-width: 700px;
    margin: 0 auto 15px;
    opacity: 0.95;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* App Detail Pages */
.app-hero {
    padding: 60px 0;
    color: var(--white);
}

.app-hero.oceanus {
    background: linear-gradient(135deg, var(--oceanus-dark) 0%, var(--oceanus-primary) 100%);
}

.app-hero.terra {
    background: linear-gradient(135deg, var(--terra-dark) 0%, var(--terra-primary) 100%);
}

.app-hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.app-hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.app-hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.play-store-badge {
    display: inline-block;
    margin-top: 20px;
}

.play-store-badge img {
    height: 60px;
    transition: transform 0.2s;
}

.play-store-badge:hover img {
    transform: scale(1.05);
}

.app-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.app-badges .play-store-badge {
    margin-top: 0;
}

.telegram-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    height: 60px;
    transition: transform 0.2s;
}

.telegram-badge:hover {
    transform: scale(1.05);
}

.telegram-badge svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.telegram-badge .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.telegram-badge .badge-text small {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telegram-badge .badge-text span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.content-section ul {
    color: var(--text-secondary);
    padding-left: 25px;
    margin-bottom: 20px;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Account Deletion Section */
.account-deletion {
    background: var(--white);
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.account-deletion summary {
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.account-deletion summary::-webkit-details-marker {
    display: none;
}

.account-deletion summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
}

.account-deletion[open] summary::after {
    content: '−';
}

.account-deletion-content {
    padding: 25px;
}

.account-deletion h3 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.account-deletion h3:first-child {
    margin-top: 0;
}

/* Disclaimer */
.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
}

.disclaimer p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
}

/* Policy Pages */
.policy-page {
    padding: 60px 0;
}

.policy-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.policy-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.policy-card h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.policy-card h3 {
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.policy-card p, .policy-card ul, .policy-card ol {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.policy-card ul, .policy-card ol {
    padding-left: 25px;
}

.policy-card li {
    margin-bottom: 8px;
}

.app-specific {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.app-specific h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid var(--oceanus-primary);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        padding: 30px;
    }

    .nav-links {
        display: none;
    }

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

    .footer-content {
        flex-direction: column;
    }

    .app-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .policy-card {
        padding: 30px 20px;
    }

    .policy-card h1 {
        font-size: 1.8rem;
    }
}
