/* Modern Ledger Wallet Website Styles */
:root {
    --color1: #ff6364;
    --color2: #ff9646;
    --color3: #ffca54;
    --color4: #fbf582;
    --color5: #e1ffb2;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --text: #333;
    --text-light: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--light);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--color1) 0%, var(--color2) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-switcher a {
    color: var(--white);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 5px;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: rgba(255,255,255,0.2);
}

/* Navigation */
nav {
    background: var(--white);
    border-bottom: 2px solid var(--color3);
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

nav li {
    flex: 1;
    min-width: 120px;
}

nav a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--text);
    text-align: center;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    background: var(--color5);
    border-bottom-color: var(--color2);
    color: var(--color1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color3) 0%, var(--color4) 50%, var(--color5) 100%);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--color1);
    font-size: 2rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color2);
}

.content-section h3 {
    color: var(--color2);
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.content-section ul,
.content-section ol {
    margin: 20px 0 20px 30px;
}

.content-section li {
    margin-bottom: 10px;
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table thead {
    background: linear-gradient(135deg, var(--color1) 0%, var(--color2) 100%);
    color: var(--white);
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

table tbody tr:nth-child(even) {
    background: var(--color5);
}

table tbody tr:hover {
    background: var(--color4);
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 40px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-section h2 {
    color: var(--color1);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light);
}

.faq-question {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--color3) 0%, var(--color4) 100%);
    cursor: pointer;
    font-weight: bold;
    color: var(--dark);
    transition: all 0.3s;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--color2) 0%, var(--color3) 100%);
    color: var(--white);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
}

.faq-answer.active {
    padding: 20px;
    max-height: 1000px;
}

/* Internal Links */
.internal-link {
    color: var(--color1);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--color2);
    transition: all 0.3s;
}

.internal-link:hover {
    color: var(--color2);
    border-bottom-color: var(--color1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a4e 100%);
    color: var(--white);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

footer a {
    color: var(--color3);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--color4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.2rem;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        width: 100%;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 8px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .lang-switcher {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 15px;
    }
    
    table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
    }
}

/* Special Blocks */
.highlight-box {
    background: linear-gradient(135deg, var(--color4) 0%, var(--color5) 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid var(--color2);
}

.info-box {
    background: linear-gradient(135deg, var(--color3) 0%, var(--color4) 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid var(--color1);
}

.warning-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 5px solid var(--color2);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

