/* Hero Section Styles */

.hero-section {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-illustration {
    flex: 1;
    max-width: 600px;
    position: relative;
}

/* Browser Mockup */
.browser-mockup {
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background-color: white;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-medium);
}

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

.browser-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f0f1f2;
    border-bottom: 1px solid #e1e4e8;
}

.browser-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-right: 1rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot:nth-child(1) {
    background-color: #ff5f58;
}

.browser-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.browser-dot:nth-child(3) {
    background-color: #28c941;
}

.browser-address {
    flex: 1;
    background-color: white;
    border-radius: 4px;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: #5c5c5c;
    display: flex;
    align-items: center;
}

.browser-url {
    display: flex;
    align-items: center;
}

.browser-lock {
    margin-right: 0.375rem;
}

.browser-extension {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.yotes-icon {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 4px;
    position: relative;
}

.yotes-icon::before {
    content: "Y";
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

.browser-content {
    position: relative;
    min-height: 300px;
    padding: 1.5rem;
}

.page-content {
    max-width: 80%;
}

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

.text-line {
    height: 12px;
    background-color: #e9ecef;
    border-radius: 4px;
    width: 100%;
}

.text-line:nth-child(1) {
    width: 70%;
}

.text-line:nth-child(2) {
    width: 90%;
}

.text-line:nth-child(4) {
    width: 85%;
}

.text-line:nth-child(5) {
    width: 60%;
}

.text-line.highlight {
    background-color: #ffebe3;
    border: 1px solid var(--primary-color);
    position: relative;
}

/* Yotes Popup Animation */
.yotes-popup {
    position: absolute;
    top: 2rem;
    right: 0;
    width: 240px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    transform: translateX(100%);
    opacity: 0;
    animation: slideIn 0.5s forwards;
    animation-delay: 0.5s;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.popup-logo {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.popup-title {
    font-weight: 600;
    color: var(--text-color);
}

.popup-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.info-line {
    height: 8px;
    background-color: #f1f3f5;
    border-radius: 4px;
}

.info-line:nth-child(1) {
    width: 90%;
}

.info-line:nth-child(2) {
    width: 70%;
}

.popup-notes {
    margin-bottom: 1rem;
}

.note-area {
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
}

.popup-actions {
    display: flex;
    justify-content: flex-end;
}

.action-button {
    width: 80px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 4px;
    position: relative;
}

.action-button::after {
    content: "Copy";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* Media Queries */
@media screen and (max-width: 1100px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-illustration {
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 7rem 0 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-illustration {
        max-width: 100%;
    }

    .yotes-popup {
        width: 200px;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }
}

.button-container {
    display: inline-block;
    text-align: center;
}

.help-text {
    font-size: 0.7em;
    margin: 5px;
    display: inline-block;
    color: var(--text-light);
}
