* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #EF4444;
    --primary-dark: #dc2626;
    --primary-light: #fca5a5;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fef2f2 0%, #f9fafb 50%, #fef2f2 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #dc2626 0%, #EF4444 50%, #f59e0b 100%);
    color: white;
    padding: 4rem 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.logo .material-icons {
    font-size: 64px;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.35rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    padding: 5rem 0;
}

.intro-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.last-updated {
    display: inline-block;
    color: var(--text-light);
    font-size: 0.875rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 10px 24px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.last-updated:hover {
    transform: scale(1.05);
}

.intro-text {
    font-size: 1.35rem;
    color: var(--text-medium);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Policy Grid */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.policy-card {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(239, 68, 68, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.policy-card:hover::before {
    transform: scaleX(1);
}

.policy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.15);
    border-color: var(--primary-color);
}

.policy-card.highlight {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 50%, #fef2f2 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.2);
}

.policy-card.highlight::after {
    content: '⭐';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
    transition: all 0.3s ease;
    position: relative;
}

.policy-card:hover .card-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.45);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(10px);
}

.policy-card:hover .card-icon::before {
    opacity: 0.6;
}

.card-icon .material-icons {
    font-size: 36px;
    color: white;
}

.policy-card h3 {
    font-size: 1.65rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.policy-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s ease;
}

.policy-card:hover h3::after {
    width: 100%;
}

.policy-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.simple-list {
    list-style: none;
    padding: 0;
}

.simple-list li {
    color: var(--text-medium);
    padding: 0.85rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.simple-list li:hover {
    background-color: rgba(239, 68, 68, 0.03);
    padding-left: 2.3rem;
}

.simple-list li::before {
    content: '→';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.simple-list li:hover::before {
    transform: translateX(5px);
}

.simple-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .policy-card {
        opacity: 0;
        transform: translateY(40px);
    }
    
    .policy-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
}

.back-to-top .material-icons {
    font-size: 28px;
}

/* Enhanced Link Styles */
a {
    transition: all 0.3s ease;
}

a[href^="mailto:"] {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

a[href^="mailto:"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

a[href^="mailto:"]:hover::after {
    width: 100%;
}

a[href^="mailto:"]:hover {
    color: var(--primary-dark);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    background-size: 1000px 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 2rem 0;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .logo .material-icons {
        font-size: 42px;
    }

    .tagline {
        font-size: 1rem;
    }

    .main-content {
        padding: 2.5rem 0;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .policy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .policy-card h3 {
        font-size: 1.25rem;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-icon .material-icons {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
    }
}