/* PingujMe Landing Page - Modern Layout */

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--gray-900);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.625rem 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    font-family: 'DM Serif Text', serif;
    color: #1F2022;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 35px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    min-width: 160px;
    width: auto;
    max-width: 200px;
    height: 32px;
    background: #FFFFFF;
    border: 1px solid #1F2022;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: #F5F5F5;
}

.language-selector img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.language-selector .lang-text-full,
.language-selector .lang-text-short {
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #1F2022;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.language-selector .lang-text-short {
    display: none;
}

.language-selector svg {
    width: 14px;
    height: 8px;
    color: #1F2022;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.language-selector.active svg {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 160px;
    max-width: 200px;
    background: #FFFFFF;
    border: 1px solid #1F2022;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 0.75rem 1rem;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 19px;
    color: #1F2022;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: #F5F5F5;
}

.lang-option:active {
    background: #E8E8E8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1F2022;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(90deg, #DBDFFF 0%, #FFFFFF 100%);
    padding: 4rem 0;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-mask-left {
    position: absolute;
    width: auto;
    height: calc(100% - 80px);
    left: 0;
    top: 80px;
    z-index: 0;
    pointer-events: none;
    object-fit: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 538px;
    height: 100%;
    background-image: url('img/hero-pattern.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.hero-text h1 {
    font-family: 'DM Serif Text', serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 62px;
    color: #1F2022;
    margin: 0 0 1.5rem 0;
    letter-spacing: normal;
}

.hero-text .highlight {
    color: #6778FF;
    font-style: italic;
    font-weight: 400;
}

.hero-text p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 35px;
    color: #1F2022;
    margin-bottom: 2.5rem;
    max-width: 750px;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-btn img {
    height: 56px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.download-btn:hover img {
    transform: translateY(-3px);
    opacity: 0.9;
}

.hero-image {
    max-width: 100%;
    max-height: 720px;
    min-height: 720px;
    height: auto;
    margin: auto;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-image:hover {
    transform: translateY(-5px);
}

/* ===== WORKERS SECTION ===== */
.workers-section {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(270deg, #C4FFC4 0%, #FFFFFF 93.24%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 40px;
}

.workers-section .section-content {
    grid-template-columns: 1fr 1fr;
}

.owners-section .section-content {
    grid-template-columns: 1fr 1fr;
}

.section-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-image {
    max-width: 100%;
    max-height: 720px;
    min-height: 720px;
    height: auto;
    margin: auto;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: translateY(-5px);
}

/* Decorative background rectangles for phone mockups - REMOVED */

/* Owner section phone mockup decorations - REMOVED */

.section-icon {
    width: 187px;
    height: auto;
    margin-bottom: 2rem;
    margin-left: -35px;
    align-self: flex-start;
}

.section-text h2 {
    font-family: 'DM Serif Text', serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 62px;
    color: #1F2022;
    margin-bottom: 1.5rem;
    letter-spacing: normal;
}

.highlight-purple {
    color: var(--primary-purple);
}

.highlight-green {
    color: #42DC42;
    font-style: italic;
}

.highlight-yellow {
    color: #EEC300;
    font-style: italic;
}

.section-text p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 35px;
    color: #1F2022;
    margin-bottom: 2rem;
    max-width: 750px;
}

.btn-primary {
    display: inline-block;
    padding: 0.4375rem 1.25rem;
    background: #000000;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* ===== OWNERS SECTION ===== */
.owners-section {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #FFEBA7 0%, #FFFFFF 100%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 40px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 2rem 0 0 0;
    min-height: calc(100vh - 80px);
    background: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-family: 'DM Serif Text', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 54px;
    line-height: 74px;
    color: #1F2022;
    margin-bottom: 1rem;
    letter-spacing: normal;
    max-width: 750px;
}

.contact-info p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 35px;
    color: #1F2022;
    margin-bottom: 2.5rem;
    max-width: 750px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.contact-item a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-purple-dark);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 1rem 2rem;
    background: #000000;
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 35px;
    letter-spacing: 0%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit .btn-loading svg {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Status Messages */
.form-status {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
.contact-section .container {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer {
    background: #1F2022;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #FF6B35;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-links .separator {
        display: none;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
    .hero-content,
    .section-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-content.reverse {
        direction: ltr;
    }

    .workers-section .section-content {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .owners-section .section-content {
        display: flex;
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-text h2 {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 250px;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 1.5rem;
        z-index: 1000;
        height: calc(100vh - 80px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .hero-image,
    .section-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .workers-section,
    .owners-section {
        padding: 30px 0;
        min-height: auto;
    }
    
    .contact-section {
        padding: 60px 0 0 0;
        min-height: auto;
    }
    
    .contact-section .container {
        margin-bottom: 3rem;
    }
    
    .hero-image,
    .section-image {
        min-height: auto;
        max-height: none;
        height: auto;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .hero-text p,
    .section-text p,
    .contact-info p {
        font-size: 1rem;
    }

    .section-text h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .download-buttons {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }

    .download-btn img {
        height: 45px;
    }

    .section-icon {
        width: 104px;
        margin-left: 0;
    }

    .language-selector {
        width: 80px;
        min-width: 80px;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .language-selector .lang-text-full {
        display: none;
    }

    .language-selector .lang-text-short {
        display: block;
        font-size: 0.75rem;
    }

    .language-dropdown {
        width: 140px;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .section-text h2,
    .contact-info h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .btn-primary {
        padding: 0.4375rem 1rem;
    }

    .hero-image,
    .section-image {
        max-width: 100%;
    }

    .download-buttons {
        flex-wrap: wrap;
    }

    .download-btn img {
        height: 40px;
    }
}
