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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

/* Logo hover effect */
.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.cta-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    color: #2563eb;
}

/* Navigation right side controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-controls {
        gap: 0.5rem;
    }
}
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.lang-switcher a {
    color: #666;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: #2563eb;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,0"/><polygon fill="%23ffffff05" points="0,400 1000,100 1000,400"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* Shared Section Styles */
.section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Features Section */
.features {
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-item h4 {
    color: #2563eb;
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
    background: #f8f9fa;
}

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

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-img {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.portfolio-content {
    padding: 1.5rem;
}

/* Flow Section */
.flow {
    background: white;
}

.flow-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.flow-item {
    background: #f8fafc;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    min-width: 220px;
    max-width: 250px;
    flex: 1;
}

.flow-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.flow-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.flow-icon {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.flow-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.flow-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.flow-time {
    background: #e2e8f0;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.flow-arrow {
    font-size: 2rem;
    color: #2563eb;
    font-weight: bold;
    margin: 0 0.5rem;
    flex-shrink: 0;
}

.flow-cta {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.flow-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid #2563eb;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin: 1rem 0;
}

.price-features {
    list-style: none;
    margin: 1.5rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Pricing Note */
.pricing-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
}

.pricing-note p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pricing-note p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Fixed CTA */
.fixed-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fixed-cta .cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .flow-grid {
        gap: 0.5rem;
    }
    
    .flow-item {
        min-width: 200px;
        max-width: 220px;
    }
    
    .flow-arrow {
        font-size: 1.5rem;
        margin: 0 0.3rem;
    }
}

@media (max-width: 900px) {
    /* Medium screens - tablet landscape */
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-btn {
        display: block;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 0.5rem;
        gap: 0.3rem;
    }
    
    .lang-switcher a {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }

    /* Logo responsive sizing */
    .logo-img {
        height: 32px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-grid,
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Flow responsive */
    .flow-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-item {
        max-width: 100%;
        width: 100%;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0;
        font-size: 1.5rem;
    }

    .fixed-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .fixed-cta .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    /* Smaller logo for very small screens */
    .logo-img {
        height: 28px;
    }

    .container {
        padding: 0 1rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .service-item,
    .portfolio-item,
    .pricing-card {
        padding: 1.5rem;
    }

    .flow-item {
        padding: 1.5rem 1rem;
    }

    /* Footer logo responsive */
    .footer-logo-img {
        height: 40px;
    }
}

@media (max-width: 360px) {
    /* Extra small screens */
    .logo-img {
        height: 24px;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        min-height: 55px;
    }
    
    .lang-switcher {
        margin-right: 0.3rem;
        gap: 0.2rem;
    }
    
    .lang-switcher a {
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
        padding: 0.3rem;
    }

    /* Footer logo for extra small screens */
    .footer-logo-img {
        height: 35px;
    }
}