/* ===== متغيرات الألوان ===== */
:root {
    --primary: #1a4d7a;
    --secondary: #c9a961;
    --accent: #2c6ba0;
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #1a4d7a 0%, #2c6ba0 100%);
    --gradient-2: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    --gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== تنسيق عام ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
}

.hero-icon {
    font-size: 100px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
    animation: fadeInDown 1s;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 60px;
    opacity: 0.95;
    animation: fadeInUp 1s;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.stat-item {
    background: rgba(255,255,255,0.15);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Headers ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Author Section ===== */
.author-section {
    background: var(--light);
}

.author-card {
    background: var(--white);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.author-info h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.author-role {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 30px;
    font-weight: 600;
}

.author-highlight {
    display: grid;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s;
}

.highlight-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-10px);
}

.highlight-item i {
    font-size: 24px;
    color: var(--secondary);
}

.highlight-item:hover i {
    color: var(--white);
}

.achievement-box {
    background: var(--gradient-1);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
}

.achievement-box i {
    font-size: 48px;
    margin-bottom: 20px;
}

.achievement-box h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.achievement-box ul {
    list-style: none;
}

.achievement-box li {
    padding: 10px 0 10px 30px;
    position: relative;
}

.achievement-box li::before {
    content: "✓";
    position: absolute;
    right: 0;
    font-weight: 900;
    font-size: 20px;
}

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--primary);
    padding: 30px;
    border-radius: 15px;
}

.contact-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.contact-bar a:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

/* ===== TOC Section ===== */
.toc-section {
    background: var(--white);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.toc-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid var(--primary);
    transition: all 0.3s;
    position: relative;
}

.toc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.toc-number {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--gradient-2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.toc-icon {
    font-size: 56px;
    color: var(--primary);
    margin: 20px 0;
}

.toc-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.toc-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* ===== Quote Section ===== */
.quote-section {
    background: var(--gradient-1);
    padding: 80px 0;
}

.quote-card {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    font-size: 80px;
    opacity: 0.2;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 30px;
}

.quote-author {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Market Section ===== */
.market-section {
    background: var(--light);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.market-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.market-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.market-icon {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
}

.market-card h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.market-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.property-types {
    background: var(--white);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.property-types h3 {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.property-item {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.property-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.property-item i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    color: var(--secondary);
}

.property-item:hover i {
    color: var(--white);
}

.property-item span {
    font-size: 18px;
    font-weight: 600;
}

/* ===== Ejar Section ===== */
.ejar-section {
    background: var(--white);
}

.ejar-header {
    text-align: center;
    margin-bottom: 60px;
}

.ejar-header i {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 20px;
}

.ejar-header h2 {
    font-size: 42px;
    color: var(--primary);
}

.ejar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.ejar-info,
.ejar-benefits {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
}

.ejar-info h3,
.ejar-benefits h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.price-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.price-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price {
    display: block;
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
}

.currency {
    display: block;
    font-size: 20px;
    color: var(--secondary);
    margin: 10px 0;
}

.period {
    display: block;
    font-size: 16px;
    color: #666;
}

.price-divider {
    font-size: 36px;
    color: var(--secondary);
    font-weight: 900;
}

.benefits-grid {
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 28px;
    color: var(--success);
}

.benefit-item span {
    font-size: 18px;
    font-weight: 600;
}

.comparison-infographic {
    background: var(--light);
    padding: 50px;
    border-radius: 25px;
}

.comparison-infographic h3 {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.comparison-before,
.comparison-after {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-before h4 {
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-before h4 i {
    color: var(--danger);
}

.comparison-after h4 {
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-after h4 i {
    color: var(--success);
}

.comparison-before ul,
.comparison-after ul {
    list-style: none;
}

.comparison-before li,
.comparison-after li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.comparison-arrow {
    font-size: 48px;
    color: var(--primary);
}

/* ===== Skills Section ===== */
.skills-section {
    background: var(--light);
}

.skills-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.skill-circle {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 5px solid var(--primary);
}

.skill-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.circle-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.circle-icon i {
    font-size: 48px;
    color: var(--white);
}

.skill-circle h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.circle-stat {
    font-size: 56px;
    font-weight: 900;
    color: var(--secondary);
    margin: 20px 0;
}

.skill-circle p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ===== Contract Section ===== */
.contract-section {
    background: var(--white);
}

.contract-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.element-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s;
}

.element-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.element-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.element-icon {
    font-size: 56px;
    color: var(--primary);
    text-align: center;
    margin: 20px 0;
}

.element-card h3 {
    font-size: 24px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

.element-tip {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid var(--secondary);
}

.element-tip strong {
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

/* ===== Strategy Section ===== */
.strategy-section {
    background: var(--light);
}

.three-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.rule-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
}

.rule-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.rule-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.rule-icon i {
    font-size: 40px;
    color: var(--white);
}

.rule-number {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--gradient-2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
}

.rule-box h3 {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

.rule-box p {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.8;
}

.rule-box ul {
    list-style: none;
}

.rule-box li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid var(--light);
}

.rule-box li::before {
    content: "→";
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-weight: 900;
    font-size: 20px;
}

/* ===== Challenges Section ===== */
.challenges-section {
    background: var(--white);
}

.challenges-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.challenge-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s;
}

.challenge-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.challenge-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.challenge-icon i {
    font-size: 36px;
    color: var(--white);
}

.challenge-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.challenge-problem,
.challenge-solution {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.challenge-problem {
    border-right: 4px solid var(--danger);
}

.challenge-solution {
    border-right: 4px solid var(--success);
}

.challenge-problem strong,
.challenge-solution strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* ===== Legal Section ===== */
.legal-section {
    background: var(--light);
}

.legal-requirements h3 {
    text-align: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.requirement-item {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.requirement-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.req-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.req-icon i {
    font-size: 36px;
    color: var(--white);
}

.requirement-item h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.requirement-item p {
    font-size: 15px;
    color: #666;
}

.rights-duties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rights-column h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rights-box,
.duties-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.rights-box h4,
.duties-box h4 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.rights-box ul,
.duties-box ul {
    list-style: none;
}

.rights-box li,
.duties-box li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid var(--light);
}

.rights-box li::before,
.duties-box li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success);
    font-weight: 900;
}

/* ===== Cases Section ===== */
.cases-section {
    background: var(--white);
}

.cases-grid {
    display: grid;
    gap: 50px;
}

.case-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.case-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.case-header i {
    font-size: 36px;
}

.case-header h3 {
    font-size: 28px;
}

.case-tag {
    background: rgba(255,255,255,0.2);
    padding: 10px 25px;
    margin: 20px 40px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.case-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px 40px;
}

.case-stat {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.case-stat.success {
    background: var(--success);
    color: var(--white);
}

.stat-label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.case-benefits,
.case-solution,
.case-strategy {
    padding: 30px 40px;
}

.case-benefits h4,
.case-solution h4,
.case-strategy h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
}

.case-benefits ul,
.case-solution ul,
.case-strategy ul {
    list-style: none;
}

.case-benefits li,
.case-solution li,
.case-strategy li {
    padding: 10px 0 10px 35px;
    position: relative;
}

.case-benefits li i {
    position: absolute;
    right: 0;
    color: var(--success);
    font-size: 20px;
}

.case-challenge,
.case-result {
    padding: 20px 40px;
}

.case-challenge {
    background: rgba(244, 67, 54, 0.1);
}

.case-result.success {
    background: rgba(76, 175, 80, 0.1);
}

.case-lesson {
    background: var(--primary);
    color: var(--white);
    padding: 25px 40px;
    font-size: 16px;
}

/* ===== Takeaways Section ===== */
.takeaways-section {
    background: var(--gradient-1);
    color: var(--white);
}

.takeaways-section .section-icon {
    color: var(--white);
}

.takeaways-section .section-header h2 {
    color: var(--white);
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.takeaway-card {
    background: rgba(255,255,255,0.15);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.takeaway-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-10px);
}

.takeaway-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.takeaway-icon i {
    font-size: 36px;
    color: var(--white);
}

.takeaway-card h3 {
    font-size: 22px;
    font-weight: 700;
}

/* ===== Final Quote Section ===== */
.final-quote-section {
    background: var(--light);
    padding: 100px 0;
}

.final-quote-card {
    background: var(--white);
    padding: 80px 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== References Section ===== */
.references-section {
    background: var(--white);
}

.references-count {
    text-align: center;
    margin-bottom: 60px;
}

.ref-stat {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 40px 60px;
    border-radius: 20px;
}

.ref-number {
    display: block;
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 10px;
}

.ref-label {
    display: block;
    font-size: 24px;
}

.references-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.ref-category {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
}

.ref-category h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ref-category ul {
    list-style: none;
}

.ref-category li {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

/* ===== Footer ===== */
.footer-section {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-author h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.footer-author p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .author-card,
    .ejar-content,
    .comparison-grid,
    .rights-duties {
        grid-template-columns: 1fr;
    }
    
    .contact-bar,
    .footer-contact {
        flex-direction: column;
        gap: 20px;
    }
}
