/* ===== styles.css - Shared Styles for ResizePixel ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

body {
    background: #f1f5f9;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
}

.logo i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 32px;
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover { color: var(--primary); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.nav-btn {
    background: var(--gradient-1);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Page Header */
.page-header {
    background: var(--gradient-hero);
    padding: 150px 5% 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover { color: white; }

.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.content-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.content-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: var(--dark);
}

.content-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
}

.content-card ul, .content-card ol {
    margin: 15px 0 20px 25px;
    color: var(--gray);
}

.content-card li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 5% 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover { color: white; }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .page-header h1 { font-size: 36px; }
    .page-header p { font-size: 16px; }
    .content-card { padding: 30px 20px; }
    .content-card h2 { font-size: 24px; }
    .footer-container { grid-template-columns: 1fr; }
}