/* Common Styles for All Pages */
:root {
    --primary: #2563eb;      /* Blue */
    --secondary: #7c3aed;    /* Purple */
    --accent: #f59e0b;       /* Orange */
    --success: #10b981;      /* Green */
    --danger: #ef4444;       /* Red */
    --dark: #1f2937;         /* Dark gray */
    --light: #f8fafc;        /* Light gray */
    --white: #ffffff;
    --text: #374151;
    --text-light: #6b7280;
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    font-size: 12px; /* Base font size */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 14px; /* Heading font size */
}

h2 {
    font-size: 14px;
}

h3 {
    font-size: 13px;
}

h4 {
    font-size: 12px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 12px;
}

/* Paragraphs */
p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: #d97706;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: var(--accent);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    background: #d97706;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 12px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 12px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Privacy Policy and Terms Pages */
.privacy-hero,
.terms-hero {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.privacy-hero h1,
.terms-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.privacy-hero p,
.terms-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.privacy-content,
.terms-content {
    padding: 4rem 0;
}

.privacy-wrapper,
.terms-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.privacy-section,
.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
}

.privacy-section h2,
.terms-section h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-section h3,
.terms-section h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.privacy-section p,
.terms-section p {
    margin-bottom: 1rem;
    color: var(--text);
}

.privacy-section ul,
.terms-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.privacy-section li:last-child,
.terms-section li:last-child {
    margin-bottom: 0;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Animations */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 11px;
    }
    
    h1, h2 {
        font-size: 13px;
    }
    
    h3, h4, h5, h6 {
        font-size: 12px;
    }
    
    .btn {
        padding: 6px 16px;
        font-size: 11px;
    }
}
