        /* 1. CSS Reset & Base */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: #f4f6fb;
            color: #111827;
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.3;
        }

        p {
            margin-bottom: 1rem;
            font-size: 0.95rem;
            color: #374151;
        }
        
        a {
            color: #2563eb;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        a:hover {
            color: #1d4ed8;
        }
        
        ul {
            list-style-position: inside;
            padding-left: 0.5rem;
        }
        
        ul li {
            margin-bottom: 0.5rem;
        }

        /* 2. Layout */
        .container {
            width: 100%;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .grid {
            display: grid;
            gap: 24px;
        }
        
        .grid-2 {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-asym {
            /* 2fr 1.4fr -> 59% 41% */
            grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        }

        /* 3. Navigation */
        .navbar {
            background: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-logo {
            font-size: 1.25rem;
            font-weight: 800;
            color: #111827;
        }
        
        .nav-links ul {
            list-style: none;
            display: flex;
            gap: 20px;
            padding: 0;
        }
        
        .nav-links li {
            margin: 0;
        }
        
        .nav-links a {
            font-size: 0.9rem;
            font-weight: 600;
            color: #4b5563;
        }
        
        .nav-links a:hover {
            color: #2563eb;
        }

        /* 4. Headers */
        .hero {
            background: linear-gradient(135deg, #2563eb, #0ea5e9);
            padding: 80px 0;
            text-align: center;
            color: #fff;
        }
        
        .hero-title {
            font-size: 2.5rem;
            font-weight: 800;
            max-width: 780px;
            margin: 0 auto 12px;
        }
        
        .hero-sub {
            opacity: 0.95;
            font-size: 1.1rem;
            max-width: 700px;
            margin: 0 auto 24px;
            color: #fff;
        }

        .page-header {
            background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
            color: #fff;
            padding: 40px 0 60px 0;
        }
        
        .page-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }
        
        .page-subtitle {
            font-size: 1rem;
            opacity: 0.9;
        }
        
        .pill {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 999px;
            background: rgba(15, 23, 42, 0.2);
            font-size: 0.8rem;
            font-weight: 500;
            margin-top: 12px;
        }

        /* 5. Main Content & Cards */
        main {
            padding: 40px 0;
        }
        
        /* Üniversite sayfasındaki kartların üstten binmesi için */
        main.offset-main {
             margin-top: -32px;
        }
        
        .card {
            background: #fff;
            border-radius: 16px;
            padding: 24px 26px;
            box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
            margin-bottom: 24px;
        }
        
        .card h2 {
            font-size: 1.4rem;
            margin-top: 0;
            margin-bottom: 12px;
            color: #111827;
        }
        
        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        /* 6. Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 12px;
            border: none;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        
        .btn-primary {
            background: #2563eb;
            color: #fff;
        }
        
        .btn-primary:hover {
            background: #1d4ed8;
            color: #fff;
        }
        
        .btn-secondary {
            background: #e5e7eb;
            color: #111827;
            box-shadow: none;
        }
        
        .btn-secondary:hover {
            background: #d1d5db;
        }

        .btn-outline {
            background: #fff;
            color: #2563eb;
            border: 2px solid #2563eb;
            box-shadow: none;
            padding: 10px 24px; /* compensate for border */
        }
        
        .btn-outline:hover {
            background: #eff6ff;
        }

        .btn-lg {
            padding: 14px 28px;
            font-size: 1.05rem;
            border-radius: 14px;
        }
        
        .btn-full {
            width: 100%;
        }

        /* 7. Forms & Tables */
        .field {
            margin-bottom: 12px;
        }
        
        .field label {
            display: block;
            font-size: 0.9rem;
            margin-bottom: 6px;
            font-weight: 600;
            color: #374151;
        }

        input[type="number"],
        input[type="text"],
        input[type="email"],
        select,
        textarea {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid #d1d5db;
            font-size: 0.95rem;
            font-family: inherit;
            line-height: 1.5;
        }
        
        input[type="number"]:focus,
        input[type="text"]:focus,
        input[type="email"]:focus,
        select:focus,
        textarea:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
        }

        .gpa-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 12px;
        }
        
        .gpa-table th,
        .gpa-table td {
            font-size: 0.9rem;
            padding: 8px 4px;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .gpa-table th {
            color: #4b5563;
            font-size: 0.85rem;
        }
        
        .gpa-table input,
        .gpa-table select {
            font-size: 0.9rem;
            padding: 6px 8px;
        }
        
        .gpa-row-remove {
            font-size: 1.2rem;
            line-height: 1;
            background: transparent;
            border: none;
            color: #ef4444;
            cursor: pointer;
            opacity: 0.7;
            padding: 4px;
        }
        
        .gpa-row-remove:hover {
            opacity: 1;
        }
        
        .gpa-summary,
        .result-box {
            margin-top: 16px;
            padding: 12px 14px;
            border-radius: 10px;
            background: #eff6ff;
            font-size: 0.95rem;
            border: 1px solid #dbeafe;
        }
        
        .gpa-summary strong,
        .result-box strong {
            display: block;
            margin-bottom: 4px;
            color: #1e40af;
        }

        /* 8. Utilities */
        .muted {
            font-size: 0.9rem;
            color: #6b7280;
        }
        
        .badge {
            display: inline-block;
            font-size: 0.8rem;
            background: #e0f2fe;
            color: #0369a1;
            padding: 4px 10px;
            border-radius: 999px;
            font-weight: 600;
        }

        /* 9. Footer */
        .footer {
            background: #111827;
            color: #d1d5db;
            padding: 40px 0 20px 0;
            margin-top: 40px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            margin-bottom: 30px;
        }
        
        .footer-col h4 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
        }
        
        .footer-col ul {
            list-style: none;
            padding: 0;
        }
        
        .footer-col li {
            margin-bottom: 8px;
        }
        
        .footer-col a {
            color: #d1d5db;
            font-size: 0.9rem;
        }
        
        .footer-col a:hover {
            color: #fff;
        }
        
        .footer-copy {
            text-align: center;
            font-size: 0.85rem;
            color: #9ca3af;
            border-top: 1px solid #374151;
            padding-top: 20px;
            margin-top: 20px;
        }
        
        /* 10. Message Box (for replacing alert()) */
        #message-box {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            padding: 14px 20px;
            border-radius: 10px;
            background: #dcfce7; /* Success */
            color: #166534;
            border: 1px solid #bbf7d0;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            font-weight: 600;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s ease;
        }
        
        #message-box.show {
            opacity: 1;
            visibility: visible;
            top: 40px;
        }
        
        #message-box.error {
            background: #fee2e2;
            color: #991b1b;
            border-color: #fecaca;
        }

        /* 11. Responsive */
        @media(max-width: 900px) {
            .grid-2,
            .grid-asym {
                grid-template-columns: 1fr;
            }
            .hero-title {
                font-size: 2rem;
            }
            .page-title {
                font-size: 1.7rem;
            }
        }
        
        @media(max-width: 600px) {
            .hero {
                padding: 60px 0;
            }
            .hero-title {
                font-size: 1.8rem;
            }
            .hero-sub {
                font-size: 1rem;
            }
            .nav-container {
                flex-direction: column;
                gap: 12px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
            }
            .card {
                padding: 20px;
            }
        }