/* ==========================================
   Privacy Compass - Liquid Glass Design System
   ========================================== */

/* === CSS Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-500: #667eea;
    --primary-600: #5568d3;
    --primary-700: #764ba2;
    --secondary-500: #f093fb;
    --secondary-600: #f5576c;
    
    /* Neutral Colors */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-white-strong: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius - Only 2 values allowed */
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 32px rgba(102, 126, 234, 0.3);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Container === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === Liquid Glass Effects === */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.badge-glass {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Navigation === */
.nav-glass {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0 var(--space-xl);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-600);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* === Buttons === */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-2xl);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-600);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* === Hero Section === */
.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

/* === Sections === */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-hero {
    padding: var(--space-2xl) 0 var(--space-xl) 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* === Feature Cards === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.feature-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-700);
    gap: var(--space-sm);
}

/* === Integration Section === */
.integration-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.integration-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.integration-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.integration-list {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.integration-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
}

.integration-list svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

.integration-visual {
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.integration-diagram {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 300px;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.integration-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.integration-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-600);
    box-shadow: var(--shadow-md);
}

.integration-node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.integration-node:nth-child(2) { right: 0; top: 50%; transform: translateY(-50%); }
.integration-node:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.integration-node:nth-child(4) { left: 0; top: 50%; transform: translateY(-50%); }

/* === CTA Section === */
.cta-section {
    padding: var(--space-2xl) 0;
}

.cta-card {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background: var(--primary-gradient);
    color: white;
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-card p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary-600);
}

.cta-card .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* === Footer === */
.footer {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.footer-logo svg {
    color: var(--primary-600);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-section h4 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-600);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-light);
}

/* === Features Page === */
.features-detailed {
    padding: var(--space-2xl) 0;
}

.feature-section {
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.feature-icon-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: var(--space-sm) 0;
}

.feature-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.feature-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === About Page === */
.about-section {
    padding: var(--space-2xl) 0;
}

.about-content {
    padding: var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.about-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.concept-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.concept-card,
.value-item {
    padding: var(--space-xl);
}

.concept-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-md);
}

.concept-card h3,
.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.concept-card p,
.value-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Contact Page === */
.contact-section {
    padding: var(--space-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
}

.contact-form-wrapper {
    padding: var(--space-2xl);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    padding: var(--space-xl);
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--primary-gradient);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .integration-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .features-grid,
    .concept-grid,
    .values-grid,
    .feature-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2,
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card,
.feature-card,
.concept-card {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
