/* Modern Pink-Gray Design for Ledger Wallet Site */
:root {
    --primary-pink: #ff69b4;
    --primary-pink-light: #ffb3d9;
    --primary-pink-dark: #ff1493;
    --secondary-gray: #4a5568;
    --secondary-gray-light: #e2e8f0;
    --secondary-gray-dark: #2d3748;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --text-dark: #1a202c;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --accent-pink: #ff8dc7;
    --shadow: rgba(255, 105, 180, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-pink-light) 0%, var(--background-white) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--secondary-gray-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px var(--shadow);
}

h1 {
    font-size: 2.5rem;
    color: var(--secondary-gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 2rem;
    color: var(--primary-pink-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-pink-light);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-gray);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container {
    text-align: center;
    margin: 2rem 0;
}

.image-container img {
    max-width: 600px;
    width: 100%;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow);
}

thead {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-pink-dark) 100%);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
    background-color: var(--primary-pink-light);
    opacity: 0.7;
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Links */
a {
    color: var(--primary-pink-dark);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-pink);
    text-decoration: underline;
}

.internal-link {
    font-weight: 500;
    color: var(--primary-pink-dark);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, var(--background-white) 0%, var(--primary-pink-light) 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--background-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-gray-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    user-select: none;
}

.faq-question:hover {
    background-color: var(--primary-pink-light);
    opacity: 0.8;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-pink);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    color: var(--text-dark);
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
    transition: max-height 0.5s ease-in, padding 0.3s;
}

/* Footer */
footer {
    background: var(--secondary-gray-dark);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer a {
    color: var(--primary-pink-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        justify-content: center;
    }
    
    .language-switcher {
        justify-content: center;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-pink-light) 0%, var(--primary-pink-light) 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

code {
    background-color: var(--secondary-gray-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

