
:root {
    --bg: #FAFAFA;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --accent: #4F46E5;
    --accent-light: #818CF8;
    --linkedin: #0A66C2;       
    --linkedin-hover: #084a9b; 
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-dyslexic: 'Open Dyslexic', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.section { padding: 4rem 0; opacity: 0; animation: fadeIn 0.6s forwards; }

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


nav { padding: 2rem 0; position: sticky; top: 0; background: rgba(250, 250, 250, 0.98); z-index: 100; backdrop-filter: blur(5px); border-bottom: 1px solid #eee; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.25rem; cursor: pointer; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links li a { cursor: pointer; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav-links li a:hover, .nav-links li a.active { color: var(--text-main); }


h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 2rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }


.dyslexia-friendly {
    font-family: var(--font-dyslexic);
    letter-spacing: 0.05em;
    line-height: 1.8;
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--text-main);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--text-main);
    transition: var(--transition);
}
.btn:hover { background: transparent; color: var(--text-main); }
.text-link { cursor: pointer; text-decoration: underline; color: var(--text-main); }


.project-card {
    display: grid;
    
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


.project-preview,
.project-info {
    min-width: 0;
}

.project-card:hover .project-preview {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.project-preview-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: white;
    font-weight: 600;
}

.project-preview-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-preview-desc {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 80%;
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-type {
    display: inline-block;
    background: #eee;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.personal-project {
    background-color: #E0F2FE;
    color: #0369A1;
}

.school-project {
    background-color: #DCFCE7;
    color: #166534;
}

.client-project {
    background-color: #FEF3C7;
    color: #92400E;
}

.project-timeline {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.project-timeline::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    vertical-align: middle;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="%23E0E7FF" stroke="%234F46E5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="8" y1="2" x2="8" y2="6"></line><line x1="16" y1="2" x2="16" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
}

.project-description {
    margin-top: 1.5rem;
    line-height: 1.7;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tool-tag {
    background: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.view-project-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--text-main);
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.view-project-btn:hover {
    background: var(--text-main);
    color: white;
}


@media (max-width: 768px) {
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-info {
        order: 1;
    }
    
    .project-preview {
        order: 2;
    }
    
    .project-preview-title {
        font-size: 1.5rem;
    }
}


.project-hero {
    padding: 3rem 0 4rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-image {
    background: linear-gradient(135deg, #818CF8, #4F46E5);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.meta-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.meta-item strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}



.content-section:last-child {
    border-bottom: none;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.insight-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.insight-number {
    display: inline-block;
    background: var(--accent);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    margin-bottom: 1rem;
    font-weight: bold;
}

/*
.insight-card p,
.insight-card .implication {
    text-align: justify;
}*/

.content-section {
    padding-top: 1rem; /* adds space above every content-section */
}


.implication {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 3px solid var(--accent-light);
    border-radius: 4px;
    font-size: 0.95rem;
}

.implication:before {
    content: "→ Design implication: ";
    font-weight: 600;
    color: var(--accent);
}

.principle-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.principle-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.visual-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin: 1.5rem 0;
    font-weight: 500;
}

.interaction-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

@media (max-width: 1200px) {
    .insight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .insight-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


footer { margin-top: auto; padding: 3rem 0; border-top: 1px solid #eee; text-align: center; color: var(--text-muted); font-size: 0.9rem; }


.hidden { display: none; }
.accent-text { color: var(--accent); }
.tag {
    display: inline-block;
    background: #e0e7ff;
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}


.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #86efac;
}

.success-animation {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.success-animation svg {
    width: 100%;
    height: 100%;
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    color: #166534;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #166534;
    margin-bottom: 0;
}


.email-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px dotted var(--accent-light);
}

.email-link:hover {
    color: var(--text-main);
    border-bottom: 2px solid var(--accent);
}


@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.toast-notification {
    animation: toastSlideUp 0.3s ease;
}

footer.site-footer {
    margin-top: auto;
    padding: 3.5rem 1.5rem 2.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    color: var(--text-muted);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}


.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;              
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}


.footer-left { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.footer-logo { font-size: 1.25rem; font-weight: 700; color: var(--text-main); line-height: 1; }
.footer-contact { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--text-muted); }


.footer-contact .contact-link {
    
    color: var(--linkedin, #0A66C2);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.footer-contact .contact-link:hover,
.footer-contact .contact-link:focus {
    color: var(--linkedin-hover, #084a9b);
    text-decoration: underline;
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.12);
}


.footer-middle { display: flex; justify-content: center; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; justify-content: center; }


.footer-links, .footer-links a, .footer-links a::after { border: none; box-shadow: none; text-decoration: none; }


.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.15rem 0.25rem;
}
.footer-links a:hover, .footer-links a:focus { color: var(--accent); transform: translateY(-2px); }


.footer-right { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }

.footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;            
    padding: 0.75rem 1.25rem;      
    border-radius: 999px;          
    border: 0;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 6px 18px rgba(79,70,229,0.12);
}
.footer-back-to-top:hover,
.footer-back-to-top:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79,70,229,0.16);
    outline: none;
}
.footer-back-to-top:active { transform: translateY(-1px); }


.footer-bottom {
    padding-top: 1.5rem;
    border-top: none; 
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 1rem 0;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    box-sizing: border-box;
}
.footer-bottom-left { font-size: 0.85rem; color: var(--text-muted); }


@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; padding: 0 1rem; }
    .footer-right { justify-content: center; }
    .footer-bottom { justify-content: center; }
    .footer-back-to-top { font-size: 1rem; padding: 0.6rem 1rem; }
}

.about-top {
    display: grid;
    grid-template-columns: 1fr 320px; 
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-content {
    min-width: 0;
}

.about-figure {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}


@media (max-width: 900px) {
    .about-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .about-figure {
        justify-content: flex-start;
    }

    .about-photo {
        max-width: 100%;
        width: 220px;
        border-radius: 12px;
    }
}

.linkedin-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}


.about-full-right {
  position: absolute;                   
  right: -10px;                          
  top: 330px;                            
  height: auto;
  max-height: min(500px, 45vh);          
  width: auto;
  max-width: 38%;                        
  object-fit: cover;
  border-radius: 8px;                    
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.05);
  background: #fff;
  z-index: 10;
  pointer-events: none;                  
  transition: right 180ms ease, transform 180ms ease;
}


@media (min-width: 1600px) {
  .about-full-right {
    right: -28px;
    max-height: min(520px, 50vh);
    max-width: 30%;
  }
}


@media (max-width: 1100px) {
  .about-full-right { display: none; }
}


.project-preview {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 20px;              
  background: transparent;
  min-height: 520px;         
  display: flex;
  align-items: center;
  justify-content: center;
}


.project-preview-img {
  display: block;
  width: auto;                                       
  height: calc(100% - 40px);                         
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}


@media (max-width: 1200px) {
  .project-preview { min-height: 440px; padding: 16px; }
  .project-preview-img { height: calc(100% - 32px); }
}

@media (max-width: 768px) {
  .project-preview { min-height: 300px; padding: 12px; }
  .project-preview-img { width: calc(100% - 24px); height: auto; }
}


.figma-embed-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.figma-embed-container:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.figma-embed-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    transition: height 0.3s ease;
}

.figma-embed-iframe.expanded {
    height: 700px;
}

.figma-embed-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.figma-embed-title {
    font-weight: 600;
    color: var(--text-main);
}

.figma-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.figma-toggle-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.figma-toggle-btn svg {
    transition: transform 0.3s ease;
}

.figma-toggle-btn.expanded svg {
    transform: rotate(180deg);
}


.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-close-btn:hover {
    opacity: 0.8;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 20px;
    box-sizing: border-box;
}

.modal-nav-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 0 20px;
}

.modal-image-info {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0 20px;
}

.modal-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.modal-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.modal-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.image-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}


#imageModal.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#imageModal.image-modal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: all !important;
    align-items: center;
    justify-content: center;
}


.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    pointer-events: all;
}


#imageModal.image-modal.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}


.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 5px 15px;
    z-index: 10000;
}


.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}


.image-enlarge-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}


.image-card-wrapper:hover .image-enlarge-hint {
    opacity: 1;
}


.image-enlarge-hint::before {
    content: "🔍";
    margin-right: 5px;
    font-size: 0.9rem;
}

.modal-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s ease;
    padding: 0;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: white;
    transform: scale(1.1);
}

.modal-close-btn:active {
    transform: scale(0.95);
}


.modal-close-btn svg {
    width: 24px;
    height: 24px;
}




.process-compare { max-width: 1200px; margin: 3rem auto 0; padding: 0 1rem; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;  
  gap: 2rem;
  align-items: start;
}


.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}


.muted { color: var(--text-muted); }


.figma-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.figma-btn:hover { transform: translateY(-2px); }


.figma-embed {
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
}


.figma-embed iframe {
  width: 100%;
  max-width: 800px;   
  height: 450px;      
  border: 1px solid rgba(0,0,0,0.06);
  display: block;
}


@media (min-width: 1001px) {
  
}


.figma-embed-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  margin-bottom: 0; 
  line-height: 1.4;
}


.figma-embed { margin-bottom: 0; }

