:root {
    --bg-color: #faf9f6;
    --text-color: #2f3430;
    --text-muted: #5c605c;
    --surface: #ffffff;
    --surface-container-low: #f4f4f0;
    --surface-container: #edeeea;
    --primary: #1A1A1A;
    --secondary: #585f6d;
    --success: #2D6A4F;
    --success-hover: #1B4332;
    --error: #9f403d;
    --outline: #e0e4de;
    --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --border-radius-lg: 1.5rem;
    --border-radius-xl: 2.5rem;
    --transition-speed: 0.3s;
    --accent: #3B82F6;
    --accent-soft: rgba(59, 130, 246, 0.08);
}

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

body {
    font-family: 'Inter', 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============ HEADER / NAVBAR ============ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    text-decoration: none;
}

.logo .material-symbols-outlined {
    font-size: 1.5rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.desktop-nav a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.desktop-nav a .nav-icon {
    font-size: 1.1rem;
}

.desktop-nav a:hover {
    background: var(--surface-container-low);
    color: var(--primary);
}

.desktop-nav a.active {
    background: var(--primary);
    color: white;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.hamburger:hover {
    background: var(--surface-container-low);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(250, 249, 246, 0.98);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav a .nav-icon {
    font-size: 1.2rem;
}

.mobile-nav a:hover {
    background: var(--surface-container-low);
}

.mobile-nav a.active {
    background: var(--primary);
    color: white;
}

.mobile-nav a .nav-text {
    flex: 1;
}

/* ============ MAIN CONTENT ============ */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 2rem 3rem;
    min-height: 100vh;
}

.seo-headline {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-color);
    line-height: 1.4;
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 0.35s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ HERO SECTION ============ */
.hero-section {
    text-align: center;
    padding: 3rem 1rem 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(45, 106, 79, 0.04) 100%);
    border-radius: var(--border-radius-xl);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-title {
    display: none;
}

/* Already shown in .seo-headline */

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.hero-btn-primary {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.25);
}

.hero-btn-primary:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}

.hero-btn-secondary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.15);
}

.hero-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.2);
}

/* ============ FEATURES GRID ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* ============ CALCULATOR SECTION ============ */
.calculator-section {
    margin-bottom: 2.5rem;
}

.calc-results-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* ============ GPA RESULT CARD ============ */
.gpa-result-card {
    background: linear-gradient(135deg, #1A1A1A 0%, #2f3430 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 260px;
}

.gpa-result-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.gpa-result-scale {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.gpa-result-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.gpa-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin-top: 1.25rem;
    overflow: hidden;
}

.gpa-progress-fill {
    height: 100%;
    background: white;
    border-radius: 999px;
    transition: width 0.5s ease;
}

/* ============ TOGGLE SWITCH ============ */
.toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.toggle-container {
    background: var(--surface-container-low);
    padding: 0.4rem;
    border-radius: 999px;
    display: flex;
    gap: 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 0.7rem 2rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.toggle-btn.active {
    background: var(--surface);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ============ COURSE SECTION ============ */
.course-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.course-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.course-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.btn-add {
    background: var(--success);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add:hover {
    background: var(--success-hover);
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.course-table {
    min-width: 800px;
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 40px 1fr 100px 120px 80px 40px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--surface-container);
    text-align: center;
}

.table-header>div:nth-child(2) {
    text-align: right;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.course-row {
    display: grid;
    grid-template-columns: 40px 1fr 100px 120px 80px 40px;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border-radius: 1rem;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.course-row:hover {
    border-color: rgba(0, 0, 0, 0.1);
}

.row-controls {
    display: contents;
}

.mobile-label {
    display: none;
}

.course-row input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--success);
    cursor: pointer;
    justify-self: center;
}

.course-row input[type="text"] {
    width: 100%;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-color);
    outline: none;
    padding: 0.5rem;
}

.course-row input[type="text"]::placeholder {
    color: #ccc;
}

.course-row input[type="number"],
.course-row select {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--surface-container-low);
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    outline: none;
    appearance: none;
}

.course-row select {
    cursor: pointer;
}

.points-display {
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    color: var(--text-color);
}

.btn-delete {
    background: transparent;
    border: none;
    color: var(--error);
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-row:hover .btn-delete {
    opacity: 1;
}

/* Summary Bar */
.summary-bar {
    margin-top: 2rem;
    background: var(--primary);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.summary-bar .spacer {
    margin-right: auto;
}

.btn-save {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-save:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============ PREV DATA (CUMULATIVE) ============ */
.prev-data-section {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.prev-data-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.prev-data-grid,
.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    background: var(--surface-container-low);
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--success);
}

/* ============ TARGET GPA ============ */
.target-form {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.target-form h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.target-result-area {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.target-msg {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    width: 100%;
}

.target-msg .material-symbols-outlined {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.target-msg strong {
    font-weight: 700;
}

.target-msg p {
    margin-top: 0.35rem;
}

.target-error {
    background: rgba(159, 64, 61, 0.08);
    color: var(--error);
    border: 1px solid rgba(159, 64, 61, 0.15);
}

.target-success {
    background: rgba(45, 106, 79, 0.08);
    color: var(--success);
    border: 1px solid rgba(45, 106, 79, 0.15);
}

.target-info {
    background: rgba(59, 130, 246, 0.06);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

/* ============ CONVERTER ============ */
.converter-section {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.converter-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.converter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.converter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.converter-item label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.converter-item input,
.converter-item select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    background: var(--surface-container-low);
    transition: border-color 0.2s;
}

.converter-item input:focus,
.converter-item select:focus {
    border-color: var(--success);
}

.converter-unit {
    position: absolute;
    left: 1rem;
    bottom: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
}

.converter-result-area {
    margin-top: 1rem;
}

.converter-result-card {
    background: linear-gradient(135deg, #1A1A1A 0%, #2f3430 100%);
    color: white;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
}

.converter-result-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.converter-result-row span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.converter-result-row strong {
    font-size: 1.25rem;
    font-weight: 800;
}

/* ============ GRADES TABLE ============ */
.grades-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.875rem;
}

.grades-table th {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    font-weight: 700;
    text-align: center;
}

.grades-table th:first-child {
    border-radius: 0 0.75rem 0 0;
}

.grades-table th:last-child {
    border-radius: 0.75rem 0 0 0;
}

.grades-table td {
    padding: 0.65rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--outline);
    font-weight: 500;
}

.grades-table tr:hover td {
    background: var(--accent-soft);
}

/* ============ SYSTEMS PAGE ============ */
.systems-section {
    margin-bottom: 2rem;
}

.systems-intro {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.systems-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0 1.25rem;
    color: var(--primary);
}

.university-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.uni-card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
    position: relative;
}

.uni-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.uni-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.uni-card p {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.uni-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-5 {
    background: rgba(45, 106, 79, 0.1);
    color: var(--success);
}

.badge-4 {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
}

/* ============ FAQ PAGE ============ */
.faq-section {
    margin-bottom: 2rem;
}

.faq-intro {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.25s;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '←';
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    order: 2;
    margin-right: auto;
}

.faq-item[open] summary::before {
    transform: rotate(-90deg);
}

.faq-item[open] summary {
    color: var(--success);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ SEO CONTENT SECTION ============ */
.seo-content-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.home-seo-section {
    margin-bottom: 2rem;
}

.content-card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-card details {
    margin: 1rem 0;
}

.content-card summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--success);
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.content-card details p {
    margin-top: 0.75rem;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem 2rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .converter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .converter-result-card {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-content {
        padding-top: 5rem;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .seo-headline {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .prev-data-grid,
    .target-grid {
        grid-template-columns: 1fr;
    }

    .converter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .converter-result-card {
        grid-template-columns: repeat(3, 1fr);
    }

    .university-list {
        grid-template-columns: 1fr;
    }

    /* Mobile Course Row */
    .table-header {
        display: none !important;
    }

    .course-table {
        min-width: 100% !important;
    }

    .course-list {
        gap: 1rem;
    }

    .course-row {
        display: grid !important;
        grid-template-columns: 40px 1fr 40px !important;
        grid-template-rows: auto auto !important;
        gap: 1rem !important;
        padding: 1.25rem !important;
        box-shadow: var(--shadow-sm) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .course-row .row-checkbox {
        grid-area: 1 / 1 / 2 / 2;
        align-self: center;
    }

    .course-row .row-name {
        grid-area: 1 / 2 / 2 / 3;
        font-size: 1rem !important;
        padding: 0 !important;
    }

    .course-row .btn-delete {
        grid-area: 1 / 3 / 2 / 4;
        align-self: center;
        opacity: 1 !important;
    }

    .course-row .row-controls {
        grid-area: 2 / 1 / 3 / 4;
        display: flex !important;
        gap: 0.75rem;
        background: var(--surface-container-low);
        padding: 0.75rem;
        border-radius: 0.75rem;
        width: 100%;
    }

    .course-row .control-item {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        flex: 1;
        align-items: center;
    }

    .course-row .mobile-label {
        display: block !important;
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .course-row input[type="number"],
    .course-row select {
        width: 100% !important;
        text-align: center;
        background: var(--surface) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        padding: 0.5rem !important;
        font-size: 0.875rem !important;
    }

    .course-row .points-display {
        width: 100% !important;
        text-align: center;
        padding: 0.5rem !important;
        font-size: 0.875rem !important;
    }

    .summary-bar {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .summary-bar .spacer {
        display: none;
    }

    .btn-save {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .course-section {
        padding: 1.5rem;
    }

    .gpa-result-card {
        padding: 1.5rem 2rem;
    }

    .gpa-result-value {
        font-size: 2.75rem;
    }

    .converter-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .converter-grid {
        grid-template-columns: 1fr;
    }

    .converter-result-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}