/* הגדרות ומשתנים לעיצוב יוקרתי */
:root {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-light: #475569;
    --accent-primary: #2563eb;
    --accent-secondary: #0ea5e9;
    --gray-light: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.75);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Heebo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
    position: relative;
}

/* אפקט גלואו עדין ברקע */
.glow-blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite alternate;
}

.glow-blob-1 {
    top: -10%;
    right: -5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

.glow-blob-2 {
    bottom: 10%;
    left: -10%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 40px) scale(1.1); }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('smt.png');
    background-repeat: repeat;
    background-size: 60px;
    opacity: 0.02;
    animation: backgroundPan 150s linear infinite;
}

@keyframes backgroundPan {
    from { background-position: 0 0; }
    to { background-position: -1000px 1000px; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    padding: 20px 0;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-logo {
    height: 45px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.hero {
    text-align: center;
    padding: 140px 0 100px;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero .subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0 80px;
}

.service-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item > * {
    position: relative;
    z-index: 2;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--accent-primary);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 10px rgba(37, 99, 235, 0.1);
    transition: transform 0.4s ease;
}

.service-item:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    color: var(--accent-secondary);
}

.icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-color);
}

.service-item p {
    font-size: 1.05rem;
    color: var(--text-light);
}

.contact {
    text-align: center;
    padding: 80px 0 120px;
}

.email-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 70px;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--text-color), #1e293b);
    border-radius: 60px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.email-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.35);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.email-cta:hover .shine {
    left: 200%;
    transition: 0.7s ease-in-out;
}

footer {
    padding: 30px 0;
    border-top: 1px solid var(--gray-light);
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 400;
    background-color: #fff;
}

@media (max-width: 768px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.8rem; }
    .hero .subtitle { font-size: 1.15rem; }
    .email-cta { font-size: 1.5rem; padding: 18px 45px; }
    .services { grid-template-columns: 1fr; }
}