/* Global Variables & Reset */
:root {
    --primary: #0f3d3e;
    --primary-light: #1f5d5e;
    --secondary: #1fb6aa;
    --secondary-hover: #179b90;
    --bg: #f8fafb;
    --surface: #ffffff;
    --text-main: #111827;
    --text-secondary: #4B5563;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 0% 0%, rgba(31, 182, 170, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 61, 62, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-container:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
}

nav a.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(31, 182, 170, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(31, 182, 170, 0.35);
}

/* Content Container for Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    width: 90%;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 40px 0 16px;
    font-weight: 700;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 24px 40px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    opacity: 0.9;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
}

.divider {
    height: 1px;
    width: 100%;
    max-width: 1200px;
    background: rgba(255,255,255,0.1);
    margin: 40px auto;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    nav { display: none; }
    .header-content { justify-content: center; }
    .legal-container { padding: 24px; margin: 30px auto; }
    .legal-content h1 { font-size: 2rem; }
}
