/* ===== reset & base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding: 0 clamp(8px, 2vw, 24px);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    position: relative;
    overflow-x: hidden;
}

/* ===== skip to content ===== */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    z-index: 9999;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.3s ease;
    font-family: 'Vazir', sans-serif;
}

.skip-to-content:focus {
    top: 20px;
}

/* ===== bg animations ===== */
.bg-animation-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 40%, rgba(26, 115, 232, 0.04), transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(26, 115, 232, 0.03), transparent 50%),
                #1a1a1a;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    animation: floatCircle 20s infinite ease-in-out alternate;
    z-index: 0;
}

.bg-circle-1 { width: min(350px, 45vw); height: min(350px, 45vw); top: -10%; right: -8%; background: radial-gradient(circle, rgba(26, 115, 232, 0.06), transparent 70%); animation-duration: 25s; }
.bg-circle-2 { width: min(300px, 40vw); height: min(300px, 40vw); bottom: -10%; left: -6%; background: radial-gradient(circle, rgba(26, 115, 232, 0.05), transparent 70%); animation-duration: 22s; animation-delay: -3s; }
.bg-circle-3 { width: min(220px, 30vw); height: min(220px, 30vw); top: 30%; left: 70%; background: radial-gradient(circle, rgba(26, 115, 232, 0.04), transparent 70%); animation-duration: 18s; animation-delay: -6s; }
.bg-circle-4 { width: min(260px, 35vw); height: min(260px, 35vw); top: 60%; right: 10%; background: radial-gradient(circle, rgba(26, 115, 232, 0.03), transparent 70%); animation-duration: 24s; animation-delay: -9s; }
.bg-circle-5 { width: min(180px, 25vw); height: min(180px, 25vw); top: 15%; left: 10%; background: radial-gradient(circle, rgba(26, 115, 232, 0.05), transparent 70%); animation-duration: 16s; animation-delay: -2s; }
.bg-circle-6 { width: min(240px, 32vw); height: min(240px, 32vw); bottom: 20%; right: 25%; background: radial-gradient(circle, rgba(26, 115, 232, 0.04), transparent 70%); animation-duration: 21s; animation-delay: -7s; }
.bg-circle-7 { width: min(150px, 20vw); height: min(150px, 20vw); top: 45%; left: 45%; background: radial-gradient(circle, rgba(26, 115, 232, 0.03), transparent 70%); animation-duration: 19s; animation-delay: -4s; }
.bg-circle-8 { width: min(200px, 28vw); height: min(200px, 28vw); bottom: 5%; left: 30%; background: radial-gradient(circle, rgba(26, 115, 232, 0.04), transparent 70%); animation-duration: 23s; animation-delay: -11s; }

@keyframes floatCircle {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -20px) scale(1.05) rotate(6deg); }
    66% { transform: translate(-20px, 20px) scale(0.95) rotate(-4deg); }
    100% { transform: translate(15px, -10px) scale(1.02) rotate(2deg); }
}

.wave {
    position: absolute;
    width: 200%;
    height: 80px;
    background: repeating-linear-gradient(90deg, transparent 0px, rgba(26, 115, 232, 0.02) 50px, transparent 100px);
    animation: waveMove 15s infinite linear;
    z-index: 0;
    opacity: 0.3;
}

.wave-1 { top: 15%; animation-duration: 18s; animation-delay: -2s; height: 50px; }
.wave-2 { top: 45%; animation-duration: 22s; animation-delay: -6s; height: 60px; opacity: 0.2; }
.wave-3 { top: 75%; animation-duration: 20s; animation-delay: -10s; height: 40px; opacity: 0.25; }

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.floating-supplements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.supplement-icon {
    position: absolute;
    font-size: clamp(1rem, 2vw, 2rem);
    color: rgba(26, 115, 232, 0.05);
    animation: floatIcon 20s infinite ease-in-out alternate;
    pointer-events: none;
}

.s1 { top: 12%; left: 8%; animation-duration: 22s; animation-delay: -3s; }
.s2 { top: 25%; right: 12%; animation-duration: 25s; animation-delay: -7s; }
.s3 { top: 55%; left: 5%; animation-duration: 18s; animation-delay: -5s; }
.s4 { bottom: 20%; right: 8%; animation-duration: 24s; animation-delay: -11s; }
.s5 { top: 40%; left: 20%; animation-duration: 20s; animation-delay: -9s; }
.s6 { bottom: 35%; right: 20%; animation-duration: 26s; animation-delay: -13s; }

@keyframes floatIcon {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(20px, -15px) rotate(12deg) scale(1.08); }
    100% { transform: translate(-15px, 15px) rotate(-8deg) scale(0.92); }
}

.light-beam {
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(26, 115, 232, 0.08), transparent);
    animation: lightBeam 8s infinite ease-in-out alternate;
    z-index: 0;
}

.light-beam-1 { height: 250px; left: 15%; top: 10%; animation-duration: 10s; animation-delay: -2s; }
.light-beam-2 { height: 350px; right: 20%; top: 5%; animation-duration: 12s; animation-delay: -5s; width: 1px; }
.light-beam-3 { height: 200px; left: 50%; top: 20%; animation-duration: 9s; animation-delay: -8s; width: 1.5px; }

@keyframes lightBeam {
    0% { opacity: 0.2; transform: scaleY(0.5) rotate(5deg); }
    50% { opacity: 0.6; transform: scaleY(1.2) rotate(-3deg); }
    100% { opacity: 0.3; transform: scaleY(0.8) rotate(2deg); }
}

/* ===== header - glass effect ===== */
.header {
    position: sticky;
    top: env(safe-area-inset-top, 0);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 1.8vw, 22px) clamp(14px, 2.5vw, 32px);
    background: rgba(42, 42, 42, 0.75);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-radius: clamp(16px, 2.8vw, 24px);
    margin: clamp(10px, 1.8vw, 22px) 0 clamp(8px, 1.2vw, 14px) 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    flex-wrap: wrap;
    gap: clamp(6px, 1vw, 12px);
    min-height: clamp(54px, 8vw, 80px);
}

/* ===== logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 14px);
    flex-shrink: 0;
}

.logo-img {
    height: clamp(40px, 5vw, 56px);
    width: auto;
    max-width: clamp(46px, 6vw, 66px);
    object-fit: contain;
    border-radius: clamp(12px, 1.4vw, 16px);
    background: rgba(255, 255, 255, 0.06);
    padding: clamp(2px, 0.4vw, 5px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.logo-img:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 30px rgba(26, 115, 232, 0.25);
}

.logo-text {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: clamp(0.3px, 0.8vw, 1px);
    background: linear-gradient(135deg, #f0f0f0 20%, #c0c0c0 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

.logo-text .fit {
    background: linear-gradient(135deg, #1a73e8, #4a8af4, #1a73e8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerLogo 3s ease-in-out infinite;
    font-weight: 800;
}

@keyframes shimmerLogo {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== nav & buttons ===== */
.nav {
    display: flex;
    gap: clamp(10px, 1.8vw, 20px);
    flex-wrap: wrap;
    align-items: center;
}

.btn-header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #ffffff;
    padding: clamp(10px, 1.5vw, 16px) clamp(20px, 3.2vw, 34px);
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 30px rgba(26, 115, 232, 0.4);
    border: 1px solid rgba(74, 138, 244, 0.3);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-header:hover::before {
    opacity: 1;
}

.btn-header::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 50%, rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.btn-header:hover {
    background: linear-gradient(135deg, #1557b0, #0a3d7a);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 45px rgba(26, 115, 232, 0.55);
    border-color: rgba(122, 175, 255, 0.5);
}

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

.btn-header i {
    font-size: clamp(0.9rem, 1.3vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
}

/* ===== scrolled header mobile ===== */
@media (max-width: 499px) {
    .header {
        padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 18px);
        min-height: clamp(48px, 9vw, 60px);
        border-radius: clamp(14px, 2.5vw, 18px);
        margin: clamp(8px, 1.2vw, 14px) 0;
        transition: all 0.4s ease;
    }
    
    .header.scrolled {
        padding: clamp(5px, 0.8vw, 8px) clamp(8px, 1.2vw, 14px);
        min-height: clamp(40px, 7vw, 50px);
        background: rgba(18, 18, 18, 0.92);
        backdrop-filter: blur(25px) saturate(1.6);
        border-radius: clamp(12px, 2vw, 16px);
        box-shadow: 0 4px 35px rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.04);
        margin-top: clamp(4px, 0.6vw, 8px);
    }
    
    .header.scrolled .logo-img {
        height: clamp(28px, 5vw, 36px);
        max-width: clamp(32px, 6vw, 42px);
        padding: 1.5px;
    }
    
    .header.scrolled .logo-text {
        font-size: clamp(0.9rem, 2.4vw, 1.2rem);
    }
    
    .header.scrolled .btn-header {
        padding: clamp(6px, 1vw, 9px) clamp(14px, 2.2vw, 20px);
        font-size: clamp(0.65rem, 1vw, 0.85rem);
        gap: clamp(4px, 0.6vw, 6px);
        min-height: clamp(34px, 6vw, 44px);
        min-width: clamp(36px, 7vw, 48px);
        box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
    }
    
    .header.scrolled .btn-header .btn-text {
        opacity: 0;
        transform: scale(0.7);
        width: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        position: absolute;
    }
    
    .header.scrolled .btn-header i {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
        margin: 0;
    }
    
    .header:not(.scrolled) .btn-header .btn-text {
        opacity: 1;
        transform: scale(1);
        width: auto;
        position: relative;
        display: inline-block;
    }
    
    .header.scrolled .btn-header::after {
        padding: 1px;
    }
}

/* ===== main ===== */
.page-title {
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 300;
    margin: clamp(20px, 3.5vw, 40px) 0 clamp(15px, 2.5vw, 28px) 0;
    color: #d0d0d0;
    letter-spacing: clamp(0.5px, 1vw, 1.5px);
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.highlight-blue {
    font-weight: 700;
    background: linear-gradient(145deg, #1a73e8, #4a8af4, #1a73e8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    animation: shimmerTitle 4s ease-in-out infinite;
}

@keyframes shimmerTitle {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.main {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(8px, 1.2vw, 16px) 0 clamp(20px, 3.5vw, 40px) 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* ===== cards - glass effect ===== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(20px, 3vw, 35px);
    margin-top: clamp(15px, 2.5vw, 30px);
    width: 100%;
}

.card-link {
    text-decoration: none;
    color: inherit;
    flex: 1 1 clamp(260px, 28vw, 320px);
    max-width: clamp(300px, 34vw, 370px);
    min-width: clamp(220px, 24vw, 270px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.card {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    padding: clamp(20px, 3vw, 30px) clamp(16px, 2.5vw, 24px) clamp(20px, 3vw, 30px);
    border-radius: clamp(26px, 3.8vw, 36px);
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.glass-card {
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 38px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.15), transparent 50%, rgba(26, 115, 232, 0.08));
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.card-link:hover .card {
    transform: translateY(-18px) scale(1.03);
    border-color: rgba(90, 122, 154, 0.4);
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(74, 106, 138, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    background: rgba(50, 50, 50, 0.8);
}

.card-link:hover .card::before {
    opacity: 1;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(70, 130, 200, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.card-link:hover .card::after {
    opacity: 1;
}

.card-image-wrapper {
    width: 100%;
    height: clamp(150px, 22vw, 190px);
    border-radius: clamp(18px, 2.5vw, 24px);
    overflow: hidden;
    margin-bottom: clamp(14px, 2vw, 20px);
    position: relative;
    background: #2a2a2a;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: clamp(18px, 2.5vw, 24px);
}

.card-link:hover .card-img {
    transform: scale(1.1);
}

/* ===== instagram svg ===== */
.instagram-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(240, 148, 51, 0.12), rgba(225, 48, 108, 0.12), rgba(188, 24, 136, 0.12));
    padding: 8px;
}

.instagram-svg {
    width: clamp(85px, 15vw, 120px);
    height: clamp(85px, 15vw, 120px);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-link:hover .instagram-svg {
    transform: scale(1.15) rotate(-8deg);
}

/* ===== cafe image ===== */
.cafe-wrapper {
    background: #2a2a2a;
}

.cafe-img {
    object-fit: cover;
}

.card h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    margin: clamp(8px, 1.2vw, 14px) 0 clamp(6px, 0.8vw, 10px);
    color: #f0f0f0;
    letter-spacing: 0.5px;
    border-bottom: 2.5px solid rgba(74, 106, 138, 0.4);
    display: inline-block;
    padding-bottom: clamp(6px, 0.7vw, 10px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.card-link:hover .card h2 {
    border-color: #6a9adf;
    transform: scale(1.03);
}

.card p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #b8b8b8;
    margin: clamp(10px, 1.4vw, 18px) 0 clamp(14px, 2vw, 24px);
    padding: 0 clamp(4px, 0.8vw, 8px);
    font-weight: 300;
    line-height: 1.8;
    flex: 1;
}

.card-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    padding: clamp(10px, 1.4vw, 14px) clamp(28px, 4vw, 40px);
    border-radius: 60px;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    letter-spacing: 0.5px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 30px rgba(26, 115, 232, 0.35);
    border: 1px solid rgba(74, 138, 244, 0.25);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.card-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-link:hover .card-badge {
    background: linear-gradient(135deg, #1557b0, #0a3d7a);
    transform: scale(1.08);
    box-shadow: 0 8px 45px rgba(26, 115, 232, 0.55);
    border-color: rgba(122, 175, 255, 0.4);
}

.card-link:hover .card-badge::before {
    opacity: 1;
}

/* ===== footer - glass ===== */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: clamp(18px, 3vw, 28px) clamp(14px, 2.2vw, 26px);
    margin-top: clamp(18px, 2.8vw, 30px);
    border-top: 1px solid rgba(58, 58, 58, 0.3);
    color: #888888;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-radius: clamp(32px, 5vw, 50px) clamp(32px, 5vw, 50px) 0 0;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: none;
}

.glass-footer {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.footer-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.4vw, 16px);
    margin-bottom: clamp(12px, 1.6vw, 18px);
    color: #aaaaaa;
    font-size: clamp(0.8rem, 0.9vw, 0.95rem);
    flex-wrap: wrap;
    direction: rtl;
}

.footer-address i {
    color: #1a73e8;
    font-size: clamp(0.9rem, 1.1vw, 1.2rem);
}

/* ===== responsive all devices ===== */

/* Tablet & Small Laptops */
@media (max-width: 1024px) {
    .card-link {
        flex: 1 1 clamp(220px, 26vw, 280px);
        max-width: clamp(260px, 32vw, 320px);
        min-width: clamp(190px, 22vw, 220px);
    }
    .card-image-wrapper {
        height: clamp(130px, 20vw, 160px);
    }
    .instagram-svg {
        width: clamp(75px, 13vw, 95px);
        height: clamp(75px, 13vw, 95px);
    }
}

/* Mobile Landscape & Small Tablets */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        gap: 10px;
        padding: clamp(12px, 2vw, 18px) clamp(14px, 2.5vw, 22px);
        min-height: clamp(50px, 8vw, 62px);
    }
    
    .logo-img {
        height: clamp(34px, 5vw, 42px);
        max-width: clamp(40px, 6vw, 50px);
    }
    
    .logo-text {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
    
    .card-link {
        flex: 1 1 clamp(200px, 34vw, 260px);
        max-width: clamp(240px, 40vw, 300px);
        min-width: clamp(170px, 28vw, 200px);
    }
    .card-image-wrapper {
        height: clamp(110px, 18vw, 140px);
    }
    .instagram-svg {
        width: clamp(65px, 12vw, 85px);
        height: clamp(65px, 12vw, 85px);
    }
    .page-title {
        font-size: clamp(1.6rem, 4vw, 2.6rem);
    }
    
    .btn-header {
        padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2.5vw, 22px);
        font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    body {
        padding: 0 10px;
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .header {
        padding: clamp(10px, 2vw, 14px) clamp(12px, 2.2vw, 18px);
        border-radius: clamp(16px, 3vw, 20px);
        gap: 8px;
        min-height: clamp(52px, 10vw, 64px);
        margin: clamp(8px, 1.5vw, 12px) 0;
    }
    
    .logo {
        gap: clamp(6px, 1vw, 10px);
    }
    
    .logo-img {
        height: clamp(32px, 6vw, 42px);
        max-width: clamp(36px, 7vw, 48px);
        padding: 2px;
    }
    
    .logo-text {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    
    .btn-header {
        padding: clamp(7px, 1.2vw, 10px) clamp(14px, 2.5vw, 20px);
        font-size: clamp(0.7rem, 1.2vw, 0.9rem);
        gap: clamp(5px, 0.8vw, 8px);
        min-height: clamp(36px, 7vw, 44px);
        min-width: clamp(38px, 8vw, 44px);
        border-radius: 50px;
    }
    
    .btn-header i {
        font-size: clamp(0.8rem, 1.4vw, 1rem);
    }
    
    .card-container {
        gap: clamp(18px, 3vw, 24px);
    }
    
    .card-link {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .card {
        padding: clamp(18px, 3vw, 24px) clamp(16px, 2.5vw, 20px);
        border-radius: clamp(22px, 4vw, 28px);
        backdrop-filter: blur(16px) saturate(1.3);
    }
    
    .card-image-wrapper {
        height: clamp(130px, 25vw, 170px);
        border-radius: clamp(16px, 2.5vw, 20px);
        margin-bottom: clamp(12px, 1.8vw, 16px);
    }
    
    .instagram-svg {
        width: clamp(70px, 16vw, 90px);
        height: clamp(70px, 16vw, 90px);
    }
    
    .page-title {
        font-size: clamp(1.4rem, 4vw, 2rem);
        margin: clamp(14px, 2.5vw, 20px) 0 clamp(12px, 2vw, 16px);
    }
    
    .card h2 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        padding-bottom: clamp(5px, 0.7vw, 8px);
    }
    
    .card p {
        font-size: clamp(0.8rem, 1.4vw, 0.95rem);
        margin: clamp(8px, 1.2vw, 12px) 0 clamp(12px, 1.8vw, 18px);
    }
    
    .card-badge {
        padding: clamp(8px, 1.2vw, 12px) clamp(18px, 3vw, 28px);
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    }
    
    .footer {
        padding: clamp(14px, 2.5vw, 20px) clamp(12px, 2vw, 18px);
        border-radius: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 32px) 0 0;
    }
    
    .footer-address {
        font-size: clamp(0.7rem, 1vw, 0.85rem);
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-address i {
        font-size: clamp(0.8rem, 1vw, 1rem);
    }
    
    .footer p {
        font-size: clamp(0.65rem, 0.9vw, 0.8rem);
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    body {
        padding: 0 6px;
    }
    
    .header {
        padding: 6px 8px;
        min-height: 42px;
        border-radius: 14px;
        gap: 5px;
    }
    
    .logo-img {
        height: 24px;
        max-width: 28px;
        padding: 1.5px;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .logo {
        gap: 4px;
    }
    
    .btn-header {
        padding: 4px 10px;
        font-size: 0.6rem;
        gap: 3px;
        min-height: 28px;
        border-radius: 30px;
        min-width: 30px;
    }
    
    .btn-header i {
        font-size: 0.7rem;
    }
    
    .page-title {
        font-size: 1.1rem;
        margin: 10px 0 8px;
    }
    
    .card {
        padding: 14px 12px;
        border-radius: 18px;
    }
    
    .card-image-wrapper {
        height: 110px;
        border-radius: 14px;
        margin-bottom: 10px;
    }
    
    .instagram-svg {
        width: 60px;
        height: 60px;
    }
    
    .card h2 {
        font-size: 0.95rem;
        padding-bottom: 4px;
    }
    
    .card p {
        font-size: 0.7rem;
        margin: 6px 0 10px;
        line-height: 1.6;
    }
    
    .card-badge {
        padding: 5px 14px;
        font-size: 0.65rem;
        border-radius: 30px;
    }
    
    .footer {
        padding: 12px 10px;
        border-radius: 18px 18px 0 0;
        margin-top: 12px;
    }
    
    .footer-address {
        font-size: 0.6rem;
    }
    
    .footer-address i {
        font-size: 0.7rem;
    }
    
    .footer p {
        font-size: 0.55rem;
        padding-top: 4px;
    }
}

/* ===== hover disable on touch devices ===== */
@media (hover: none) {
    .card-link:hover .card {
        transform: none !important;
        border-color: rgba(62, 62, 62, 0.6) !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5) !important;
        background: rgba(42, 42, 42, 0.7) !important;
    }
    
    .card-link:hover .card::before,
    .card-link:hover .card::after {
        opacity: 0 !important;
    }
    
    .card-link:hover .card-img {
        transform: none !important;
    }
    
    .card-link:hover .instagram-svg {
        transform: none !important;
    }
    
    .card-link:hover .card h2 {
        border-color: rgba(74, 106, 138, 0.4) !important;
        transform: none !important;
    }
    
    .card-link:hover .card-badge {
        background: linear-gradient(135deg, #1a73e8, #0d47a1) !important;
        transform: none !important;
        box-shadow: 0 4px 30px rgba(26, 115, 232, 0.35) !important;
        border-color: rgba(74, 138, 244, 0.25) !important;
    }
    
    .card-link:hover .card-badge::before {
        opacity: 0 !important;
    }
    
    .btn-header:hover {
        transform: none !important;
        box-shadow: 0 4px 30px rgba(26, 115, 232, 0.4) !important;
        background: linear-gradient(135deg, #1a73e8, #0d47a1) !important;
    }
    
    .btn-header:hover::before {
        opacity: 0 !important;
    }
    
    .logo-img:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* ===== focus styles for accessibility ===== */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #1a73e8;
    outline-offset: 4px;
    border-radius: 10px;
}

.card-link:focus-visible .card {
    outline: 3px solid #1a73e8;
    outline-offset: 4px;
    border-radius: 30px;
}