* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    min-height: 100vh;
    padding: 20px;
    direction: rtl;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Header with Photo */
.hero-header {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 0;
    overflow: hidden;
    min-height: 450px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: space-between;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center 20%;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.profile-image img:hover {
    transform: scale(1.05);
}

.profile-info {
    flex: 1;
    text-align: right;
}

.profile-info h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.5em;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.6;
}

.subtitle-secondary {
    font-size: 1.2em;
    opacity: 0.85;
    font-weight: 300;
    line-height: 1.6;
}

.logo-container {
    flex-shrink: 0;
}

.header-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    transform: scale(1.3);
}

.header-logo:hover {
    transform: scale(1.4) rotate(5deg);
}

.content {
    padding: 50px 40px;
}

section {
    margin-bottom: 50px;
}

section h2 {
    color: #1e3c72;
    font-size: 2em;
    margin-bottom: 25px;
    border-right: 5px solid #2a5298;
    padding-right: 20px;
    font-weight: 700;
}

.about p {
    font-size: 1.1em;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.about p:last-child {
    margin-bottom: 0;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.tool-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 35px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(42, 82, 152, 0.1);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(42, 82, 152, 0.25);
    border-color: rgba(42, 82, 152, 0.3);
}

.tool-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.tool-card.coming-soon:hover {
    transform: none;
}

.tool-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.tool-card h3 {
    color: #2d3436;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.tool-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1em;
}

.tool-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.tool-badge.soon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact {
    text-align: center;
}

.contact p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 18px rgba(30, 60, 114, 0.4);
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.6);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.contact-link.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4);
}

.contact-link.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.contact-icon {
    font-size: 1.3em;
}

.footer {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 30px;
    font-size: 0.95em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 0;
}

.footer-subtitle {
    margin-top: 5px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .hero-header {
        min-height: auto;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .profile-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .header-logo {
        width: 140px;
        height: 140px;
        transform: scale(1.2);
    }

    .profile-image img {
        width: 200px;
        height: 200px;
    }

    .profile-info {
        text-align: center;
    }

    .profile-info h1 {
        font-size: 2.2em;
    }

    .subtitle {
        font-size: 1.2em;
    }

    .subtitle-secondary {
        font-size: 1em;
    }

    .content {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 1.5em;
        border-right: 4px solid #2a5298;
        padding-right: 15px;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about p {
        font-size: 1em;
    }

    .tool-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 25px;
    }

    .tool-icon {
        font-size: 3em;
    }

    .tool-card h3 {
        font-size: 1.3em;
    }
}

/* Improve touch target size for mobile */
@media (pointer: coarse) {
    .tool-card {
        min-height: 200px;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.3);
        touch-action: manipulation;
    }

    .contact-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
}
