/* Vocabito Website Styles */

:root {
    --primary-color: #E06D4F;
    --primary-dark: #CC5D43;
    --secondary-color: #F28C64;
    --accent-color: #2E8D83;
    --bg-gradient-start: #FFF4E8;
    --bg-gradient-end: #FDE9D8;

    --text-main: #1E2323;
    --text-muted: #3F4A49;
    --text-light: #2E8D83;

    --card-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(255, 255, 255, 0.66);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(224, 109, 79, 0.14), 0 2px 4px -1px rgba(46, 141, 131, 0.12);
    --shadow-lg: 0 14px 22px -8px rgba(224, 109, 79, 0.28), 0 8px 10px -8px rgba(46, 141, 131, 0.2);

    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    padding-top: 6.9rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(88px);
    z-index: -1;
    opacity: 0.36;
}

.hero::before {
    background: var(--primary-color);
    top: -130px;
    right: -100px;
}

.hero::after {
    background: var(--accent-color);
    bottom: -120px;
    left: -120px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 5.2vw, 3.9rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.3rem;
    max-width: 540px;
    font-weight: 500;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}

.app-store-button:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 10px 16px rgba(224, 109, 79, 0.32));
}

.app-store-button img {
    height: 55px;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-phone-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 45px;
    box-shadow: 0 25px 52px -12px rgba(18, 28, 31, 0.33);
    background: #000;
    padding: 10px;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.hero-phone-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-phone {
    width: 280px;
    border-radius: 35px;
    display: block;
    transition: opacity 0.24s ease;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.88);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slider-arrow:hover {
    background: white;
    transform: scale(1.1);
    color: var(--accent-color);
}

.features {
    background: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 630px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1.3rem;
    display: inline-block;
    padding: 0.95rem;
    background: linear-gradient(135deg, rgba(224, 109, 79, 0.12), rgba(46, 141, 131, 0.15));
    border-radius: 1.15rem;
}

.feature-card h3 {
    font-size: 1.34rem;
    font-weight: 700;
    margin-bottom: 0.72rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.testimonials {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.52));
    overflow: hidden;
}

.testimonials-slider-container {
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 50s linear infinite reverse;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 350px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stars {
    color: #F5A623;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.4rem;
    font-size: 1.03rem;
    line-height: 1.52;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.screenshots-section {
    background: #1E2A2B;
    color: white;
    padding-bottom: 6rem;
}

.screenshots-section .section-title {
    color: white;
}

.screenshots-container {
    overflow: hidden;
    padding: 3rem 0;
}

.screenshots-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scroll 45s linear infinite;
}

.screenshot-item {
    width: 280px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.44);
    transition: transform 0.3s;
    border: 4px solid rgba(255, 255, 255, 0.12);
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.32);
}

.site-footer {
    background: #161A1B;
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #F2B199;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.copyright {
    color: #D07A62;
    font-size: 0.85rem;
    margin-top: 2rem;
}

.legal-main {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
}

.legal-content ul {
    margin-left: 1.2rem;
    margin-top: 0.4rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero-phone {
        width: 240px;
    }

    .hero-image-container {
        flex-direction: row;
        gap: 0.5rem;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .section {
        padding: 4.2rem 0;
    }

    .legal-content {
        padding: 1.4rem;
    }
}
