/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 8px;
}

.language-switcher button {
    background: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6e6e73;
    transition: all 0.2s ease;
}

.language-switcher button:hover {
    background: #f5f5f7;
}

.language-switcher button.active {
    background: linear-gradient(135deg, #0096FF 0%, #0078FF 100%);
    color: white;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    background: linear-gradient(135deg, #0096FF 0%, #0078FF 100%);
    color: white;
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    letter-spacing: -0.5px;
}

header .subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
}

/* Content */
.content {
    padding: 60px 50px;
}

.intro {
    font-size: 1.2rem;
    color: #6e6e73;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Compliance Badge */
.compliance-badge {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(17, 153, 142, 0.3);
    position: relative;
    overflow: hidden;
}

.compliance-badge::before {
    content: '✓';
    position: absolute;
    font-size: 15rem;
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.compliance-badge h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.compliance-badge p {
    font-size: 1.15rem;
    opacity: 1;
    position: relative;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Section Title */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
    color: #1d1d1f;
    letter-spacing: -0.5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: linear-gradient(145deg, #f9f9fb 0%, #f5f5f7 100%);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0096FF 0%, #0078FF 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 150, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1d1d1f;
    font-weight: 700;
}

.feature-card .feature-desc {
    color: #6e6e73;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.feature-card .feature-example {
    color: #0096FF;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    padding-left: 15px;
    border-left: 3px solid #0096FF;
    margin-top: 12px;
}

/* Details Section */
.details-section {
    margin-top: 60px;
}

.details-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1d1d1f;
    font-weight: 700;
    text-align: center;
}

.detail-item {
    background: linear-gradient(145deg, #f9f9fb 0%, #f5f5f7 100%);
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 20px;
    border-left: 5px solid #0096FF;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.detail-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1d1d1f;
    font-weight: 600;
}

.detail-item p {
    color: #6e6e73;
    line-height: 1.7;
}

/* Footer */
footer {
    background: linear-gradient(145deg, #f9f9fb 0%, #f5f5f7 100%);
    padding: 40px 50px;
    text-align: center;
    color: #6e6e73;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: #0096FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: #0078FF;
    border-bottom: 1px solid #0078FF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        top: 20px;
        right: 20px;
        padding: 6px 10px;
    }

    .language-switcher button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    header {
        padding: 60px 30px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    header .subtitle {
        font-size: 1.1rem;
    }

    .content {
        padding: 40px 25px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 28px;
    }

    footer {
        padding: 30px 25px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #000000;
    }

    .container {
        background: #1c1c1e;
    }

    .language-switcher {
        background: rgba(44, 44, 46, 0.95);
    }

    .language-switcher button {
        color: #a1a1a6;
    }

    .language-switcher button:hover {
        background: #2c2c2e;
    }

    header h1,
    .feature-card h3,
    .section-title,
    .details-section h2,
    .detail-item h4 {
        color: #f5f5f7;
    }

    .intro,
    .feature-card .feature-desc,
    .detail-item p,
    footer {
        color: #a1a1a6;
    }

    .feature-card,
    .detail-item {
        background: linear-gradient(145deg, #2c2c2e 0%, #242426 100%);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .feature-card:hover {
        border-color: rgba(0, 150, 255, 0.5);
    }

    footer {
        background: linear-gradient(145deg, #2c2c2e 0%, #242426 100%);
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    footer a {
        color: #0096FF;
    }

    footer a:hover {
        color: #66CCFF;
        border-bottom-color: #66CCFF;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
