.hero {
    padding: 120px 2rem 60px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-decoration-1 {
    top: 10%;
    right: 5%;
    animation: float-1 6s ease-in-out infinite;
}

.hero-decoration-2 {
    top: 60%;
    left: 8%;
    animation: float-1 8s ease-in-out infinite 1s;
}

.hero-decoration-3 {
    top: 30%;
    left: 10%;
    animation: float-1 7s ease-in-out infinite 2s;
}

#gpt-icon path {
    fill: white;
}

[data-theme="light"] #gpt-icon path {
    fill: black;
}

@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Social Proof - SurferSEO style */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 3rem auto 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.trust-badge:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.trust-badge-icon {
    cursor: default;
    font-size: 1.3rem;
}

.trust-badge-text {
    cursor: default;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Platform Badges */
.platform-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.platform-badge:hover {
    border-color: var(--accent-primary);
    background: rgba(30, 144, 255, 0.05);
    transform: translateY(-2px);
}

/* Free Trial Section - Byword style with urgency */
.free-trial-section {
    padding: 3.5rem 2rem;
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.free-trial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.free-trial-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.free-trial-section h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.free-trial-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.trial-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.trial-feature {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all .4s ease;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.trial-feature:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.trial-feature-icon {
    height: 45px;
}

.trial-feature h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.trial-feature p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0;
}

.btn-white {
    background: white;
    color: var(--accent-primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.prompt-section {
    width: 100%;
    position: relative;
    padding: 5rem 1rem;
}

.prompt-section-wrapper {
    display: flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.interface-steps-nav {
    display: flex;
    gap: 1rem;
}

.interface-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.content-display {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    min-height: 420px;
    max-height: 420px;
    position: relative;
    overflow: hidden;
    overflow-y: scroll;
    width: 70%;
    padding: 1.5rem;
}

.content-section {
    max-width: 500px;
    display: none;
    animation: fadeInContent 0.6s ease-out;
}

.content-section.active {
    display: block;
}

#omptization-section p {
    margin-bottom: 1rem;
    line-height: 30px;
}

#cite-section p {
    margin-bottom: 1rem;
    line-height: 30px;
}

#cite-section p:last-child {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.link-cite {
    color: #1E90FF;
    position: relative;
}

.link-cite::after {
    content: '';
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: #1E90FF;
    left: 0;
    transition: width .4s ease;
    animation: grow 0.6s ease-out;
}

@keyframes grow {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.h3-fake {
    margin-bottom: 1rem;
    font-size: 17px;
    font-weight: 600;
}

.keyword {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.keyword-bg {
    position: absolute;
    background-color: #1e90ff1a;
    width: 100%;
    height: 90%;
    animation: highlightKeyword 1s ease-out forwards;
}

.progress-text-part {
    max-width: 250px;
    font-size: 14.5px;
    height: 0px;
    overflow: hidden;
    transition: height .4s ease;
}

.progress-wrapper.running .progress-text-part {
    height: fit-content;
}

@keyframes highlightKeyword {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.outline-item {
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInOutline 0.8s ease-out forwards;
}

.outline-item::before {
    content: attr(tag);
    width: 20px;
    height: 100%;
    margin-right: 10px;
    display: inline-block;
    font-size: 13px;
    color: black;
}

.outline-h1 {
    font-size: 1.3rem;
    padding-left: 0;
    font-weight: 700;
}

.outline-h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.outline-h3 {
    margin-left: 2rem;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInOutline {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-tab {
    border: 2px solid #1E90FF;
    padding: 10px 15px;
    border-radius: 5px;
    color: #1E90FF;
    font-weight: bold;
    width: 33%;
    text-align: center;
    text-wrap: nowrap;
    position: relative;
}

.step-tab-progress {
    width: 0%;
    height: 100%;
    position: absolute;
    background: rgba(30, 144, 255, 0.1);
    top: 0;
    left: 0;
}

.step-tab-progress.growing {
    transition: width .2s ease;
}

.progress-item {
    display: flex;
    gap: 10px;
    padding: 0.75rem 0;
    opacity: 0.4;
    transition: all 0.5s ease;
}

.progress-wrapper.running .progress-item {
    opacity: 1;
}

.progress-wrapper.running .progress-item .progress-icon {
    background: #10b981;
    color: white;

}



.progress-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    background: #e5e7eb;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.progress-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.interface-pipeline {
    display: inline-block;
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

.interface-wrapper {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    background-color: white;
}

.features-section {
    padding: 4rem 2rem;
    margin: 0 auto;
    position: relative;
}

.features-section>* {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.35rem 0.9rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.progress-wrapper {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(30, 144, 255, 0.15);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #1E90FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.feature-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.feature-link span {
    margin-top: 5px;
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: -.5px;
    width: 0%;
    height: 2px;
    background-color: #1E90FF;
    transition: width .4s ease;
}

.feature-link:hover::after {
    width: 100%;
}

.pricing-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    background: var(--bg-tertiary);
    padding: 0.5rem;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-weight: bold;
}

.toggle-btn.active {
    background: var(--accent-gradient);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 144, 255, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--accent-primary);
    line-height: 1;
}

.price span {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.billing-period {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.checkmark {
    margin-top: 5px;
}

.features-list li {
    padding: 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.use-cases-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.use-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(30, 144, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 30px 30px;
    }
}


.how-it-works-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    position: relative;
}

.how-it-works-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.steps-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    width: 25%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: left;
    transition: all .4s ease;
    position: relative;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-card::before {
    content: attr(num);
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    color: white;
    background-color: #1E90FF;
    font-weight: bold;
    border: 2px solid #1E90FF;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -20px;
    left: 50%;
    translate: -50% 0;
}

.step-card:hover {
    transform: translateX(5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(30, 144, 255, 0.15);
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: .5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.step-arrow {
    display: none;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

.btn-lg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-lg:hover::before {
    width: 300px;
    height: 300px;
}

.btn-lg span {
    position: relative;
    z-index: 1;
}

.use-cases-container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.use-case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s;
}

.use-case-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 144, 255, 0.1);
}

.use-case-icon {
    font-size: 2.25rem;
}

.use-case-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}


@media (max-width: 920px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 99%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-decoration {
        display: none;
    }

    .pricing-grid,
    .features-grid,
    .results-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .free-trial-section h2 {
        font-size: 2rem;
    }

    .trial-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .interface-content {
        flex-direction: column;
    }

    .content-display {
        width: 100%;
    }

    .progress-text-part {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .interface-steps-nav {
        flex-direction: column;
    }

    .step-tab {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .step-card h3 {
        flex-direction: column;
        align-items: baseline;
    }

    .step-card h3 {
        font-size: 17px;
    }

    .interface-wrapper {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 444px) {
    .hero-tag {
        flex-direction: column;
    }

    .hero-tag svg {
        width: 25px;
    }
}

@media (max-width: 350px) {
    .step-card {
        flex-direction: column;
    }

    .step-card h3 {
        font-size: 20px;
    }
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #1E90FF;
    border-radius: 50%;
    animation: float 10s infinite linear;
    opacity: 0.5;
}

@keyframes float {
    from {
        transform: translateY(100vh) rotate(0deg);
    }

    to {
        transform: translateY(-20px) rotate(360deg);
    }
}

.price-wrapper {
    display: flex;
    align-items: baseline;
}

.price-month {
    color: var(--text-secondary);
}