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

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: #3B82F6;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6B7280;
    font-size: 0.9rem;
}

.language-selector:hover {
    border-color: #9CA3AF;
    background: #F9FAFB;
}

.language-selector .lang-icon {
    font-size: 0.9rem;
    color: #9CA3AF;
}

.language-dropdown {
    position: relative;
}

.language-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.3rem 0;
    min-width: 90px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 0.4rem 0.8rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.language-option:hover {
    background: #F3F4F6;
}

.language-option.active {
    color: #3B82F6;
    font-weight: 600;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #03178C;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #3B82F6 0%, #03178C 100%);
    color: white;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        -45deg,
        rgba(59, 130, 246, 0.25) 0%,
        rgba(3, 23, 140, 0.3) 25%,
        rgba(59, 130, 246, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        rgba(3, 23, 140, 0.25) 100%
    );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(59, 130, 246, 0.2) 20%,
        rgba(3, 23, 140, 0.25) 40%,
        rgba(59, 130, 246, 0.15) 60%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%
    );
    background-size: 300% 300%;
    animation: gradientFlow 20s ease-in-out infinite reverse;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Ubuntu', sans-serif;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #E5E7EB;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
}

.btn-primary {
    background: white;
    color: #3B82F6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: #F3F4F6;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3B82F6;
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 540px;
    position: relative;
    transform: rotate(-5deg) translateY(-10px);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotate(-5deg) translateY(-10px); }
    50% { transform: rotate(-5deg) translateY(-30px); }
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.15),
        0 10px 20px rgba(0,0,0,0.08),
        0 5px 10px rgba(59, 130, 246, 0.1);
}

.screen-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease-out; 
}

.screen-image.active {
    opacity: 1;
    z-index: 2;
}

.screen-image.active.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.screen-image.scan {
    background-image: url('https://sentif.ai/static/scan_img.webp');
}

.screen-image.chat {
    background-image: url('https://sentif.ai/static/chat_img.webp');
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: #F9FAFB;
}

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

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #03178C;
    font-family: 'Ubuntu', sans-serif;
}

/* User Flow Infographic */
.user-flow {
    margin-bottom: 6rem;
}

.flow-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.flow-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.flow-card h3 {
    color: #03178C;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    text-align: center;
}

.flow-items {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
}

.flow-item {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-bullet {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.flow-arrow {
    opacity: 0.3;
}

/* Feature Items */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 2rem;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #03178C;
    font-family: 'Ubuntu', sans-serif;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.feature-highlight {
    display: inline-block;
    background: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-mockup {
    width: 280px;
    height: 500px;
    background: #ffffff;
    border-radius: 25px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 10px 20px rgba(0,0,0,0.05),
        0 5px 10px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.screenshot-mockup:hover {
    transform: translateY(-20px);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.08),
        0 10px 20px rgba(59, 130, 246, 0.15);
}

.screenshot-content {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #3B82F6 0%, #03178C 100%);
    color: white;
}

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

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Download Section */
.download {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
}

.download .section-title h2 {
    color: #03178C;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: translateY(-3px);
}

.store-button img {
    height: 50px;
    width: auto;
}

/* Footer */
footer {
    background: #1F2937;
    color: white;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.footer-copyright {
    color: #9CA3AF;
    font-size: 0.9rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-menu-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-language-wrapper {
    padding-top: 1rem;
    border-top: 2px solid #E5E7EB;
}

.mobile-language-dropdown {
    position: relative;
    display: inline-block;
}

.mobile-language-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6B7280;
    font-size: 0.9rem;
}

.mobile-language-selector:hover {
    border-color: #9CA3AF;
    background: #F9FAFB;
}

.mobile-language-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 0.3rem 0;
    min-width: 90px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-language-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-language-option {
    display: block;
    padding: 0.4rem 0.8rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 0.9rem;
}

.mobile-language-option:hover {
    background: #F3F4F6;
}

.mobile-language-option.active {
    color: #3B82F6;
    font-weight: 600;
}

.hero-visual-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual-mobile {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-right {
        display: none;
    }

    .logo {
        height: 35px;
    }

    .hero {
        padding-top: 6rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .hero-visual-desktop {
        display: none;
    }

    .hero-visual-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 3rem 0 1.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-buttons {
        justify-content: center;
        width: 100%;
    }

    .phone-mockup {
        width: 250px;
        height: 450px;
    }

    .flow-container {
        grid-template-columns: 1fr !important;
        gap: 0.2rem !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem auto;
    }

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

    .feature-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 4rem;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-content h3 {
        font-size: 1.6rem;
    }

    .screenshot-mockup {
        width: 240px;
        height: 450px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-links {
        order: 1;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .hero-visual-mobile {
        margin: 3rem 0 1.5rem;
    }

    .phone-mockup {
        width: 220px;
        height: 400px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .feature-content h3 {
        font-size: 1.4rem;
    }
}