/* Modern Round Design - Ledger Wallet Site */
:root {
    --primary-color: #14213d;
    --secondary-color: #fca311;
    --accent-color: #e63946;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --border-radius-large: 30px;
    --border-radius-medium: 20px;
    --border-radius-small: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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(--bg-light);
    font-size: 16px;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius-small);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.logo:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lang-switcher a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    background: var(--bg-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.container {
    background: var(--bg-white);
    border-radius: var(--border-radius-large);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    border-radius: var(--border-radius-large);
    color: var(--bg-white);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Typography */
h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 2.5rem 0 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    padding-left: 1.5rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Content Blocks */
.content-block {
    background: var(--bg-light);
    border-radius: var(--border-radius-medium);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.content-block:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-md);
    margin: 2rem auto;
    display: block;
    transition: var(--transition);
}

img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.image-container {
    text-align: center;
    margin: 2.5rem 0;
}

.image-container img {
    max-width: 600px;
    width: 100%;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-white);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table th {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--bg-light);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: var(--bg-light);
}

/* Lists */
ul, ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-medium);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.faq-item.active .faq-question::after {
    content: '−';
    background: var(--secondary-color);
    color: var(--bg-white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    font-weight: 600;
    background: linear-gradient(120deg, rgba(252, 163, 17, 0.1) 0%, rgba(252, 163, 17, 0.05) 100%);
    padding: 2px 4px;
    border-radius: 4px;
}

a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: linear-gradient(120deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.1) 100%);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--border-radius-medium);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
    text-align: center;
}

footer a {
    color: var(--bg-white);
    border-bottom-color: var(--secondary-color);
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    main {
        padding: 0 1rem;
    }

    .container {
        padding: 1.5rem;
        border-radius: var(--border-radius-medium);
    }

    .hero {
        padding: 2rem 1rem;
        border-radius: var(--border-radius-medium);
    }

    h2 {
        padding-left: 1rem;
    }

    h2::before {
        width: 3px;
    }

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }

    .content-block {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Print styles */
@media print {
    header,
    footer,
    .lang-switcher,
    nav {
        display: none;
    }

    .container {
        box-shadow: none;
        padding: 0;
    }
}

