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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #475569) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #475569) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content {
    padding: 2rem;
}

/* Layout Zone Grid System */
.layout-zone {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.cols-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Grid Layout Classes - Standard names */
.grid-1-col {
    grid-template-columns: 1fr;
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
}

.grid-3-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-2-col-left {
    grid-template-columns: 2fr 1fr;
}

.grid-2-col-right {
    grid-template-columns: 1fr 2fr;
}

/* Ratio-based Grid Classes - from your layout editor */
.ratio-1-1 {
    grid-template-columns: 1fr 1fr;
}

.ratio-2-1 {
    grid-template-columns: 2fr 1fr;
}

.ratio-1-2 {
    grid-template-columns: 1fr 2fr;
}

.ratio-3-1 {
    grid-template-columns: 3fr 1fr;
}

.ratio-1-3 {
    grid-template-columns: 1fr 3fr;
}

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

.ratio-2-1-1 {
    grid-template-columns: 2fr 1fr 1fr;
}

.ratio-1-2-1 {
    grid-template-columns: 2fr 1fr 1fr;
}

.ratio-1-1-2 {
    grid-template-columns: 1fr 1fr 2fr;
}

/* Responsive Grid */
@media (max-width: 1024px) {

    .grid-2-col,
    .grid-3-col,
    .grid-2-col-left,
    .grid-2-col-right,
    .ratio-1-1,
    .ratio-2-1,
    .ratio-1-2,
    .ratio-3-1,
    .ratio-1-3,
    .ratio-1-1-1 .ratio-2-1-1,
    .ratio-1-2-1,
    .ratio-1-1-2,
    .cols-1,
    .cols-2,
    .cols-3,
    .cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Section Card */
.section-card,
.skill-category-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.section-header h2,
.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.section-content {
    margin-top: 1rem;
    line-height: 1.8;
}

/* Skills */
.skill-level-group {
    margin-bottom: 1.5rem;
}

.skill-level-group:last-child {
    margin-bottom: 0;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.level-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    opacity: 0.3;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid;
    transition: all 0.2s ease;
}

.skill-card::before {
    content: attr(data-icon);
    font-size: 1rem;
    display: inline-flex;
    margin-right: 0.25rem;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.skill-card-advanced,
.skill-card-expert,
.skill-card-great {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.skill-card-intermediate,
.skill-card-medium {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

.skill-card-beginner,
.skill-card-basic {
    background: #f5f3ff;
    border-color: #8b5cf6;
    color: #5b21b6;
}

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-medium);
    border-top: 1px solid var(--border-color);
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .content {
        padding: 1.5rem;
    }

    .section-card,
    .skill-category-card {
        padding: 1.5rem;
    }

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