:root {
    --primary-blue: #1E2875;
    --primary-dark: #151B4E;
    --text-color: #333;
    --border-color: #e5e5e5;
    --background-color: white;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 100vh;
    padding-top: 3rem;
}

.instructions-list .generate-btn.smaller {
    padding: 2px 6px !important;
    font-size: 0.75em !important;
    margin: 0 3px !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: unset !important;
    height: auto !important;
    min-width: unset !important;
    width: auto !important;
}

.instructions-list .generate-btn.smaller i {
    margin-right: 4px !important;
    font-size: 0.9em !important;
}

.main-container {
    background: white;
    border-radius: 32px;
    padding: 20px;
    margin: 1rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: min-height 0.3s ease-in-out;
    position: relative;
}

.content-wrapper {
    display: flex;
    align-items: center;
    /* gap: 3rem; */
    padding: 0;
    margin-top: 1rem;
}

.text-section {
    flex: 1;
    padding-top: 3rem;
    padding-left: 3rem;
    max-width: 100%;
}

.avatar-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.avatar-section img {
    width: 300px;
    height: auto;
    margin: 0 auto;
}

.quote-section {
    flex: 1;
    padding-right: 3rem;
    max-width: 400px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 2.2rem;
    border: none;
    border-radius: 50px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.generate-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

.generate-btn i {
    transition: transform 0.3s ease;
}

.generate-btn:hover i {
    transform: translateX(4px);
}

.keys-section {
    margin: 1.5rem auto 0;
    width: 100%;
}

.key-container {
    background: white;
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.copy-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.ad-space {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    .text-section {
        padding: 1rem;
        max-width: 100%;
    }
    .avatar-section {
        display: none;
    }
    .quote-section {
        padding: 0 1rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    /* Adjust trending hack spacing */
    .trending-hack {
        order: -1;
        margin: 1rem auto;
        max-width: 90%;
    }
    .featured-quote {
        margin-top: 1rem;
        text-align: center;
    }
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .subtitle {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .category-label {
        margin-bottom: 0.5rem;
    }
    .generate-btn {
        padding: 0.6rem 2.2rem;
        width: auto;
        margin: 0 auto;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    display: block;
    position: static;
}

.logo-dot {
    color: #FFD700;
}

.contact-email {
    display: none;
}

.instructions-container {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.instructions-list {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.path-list {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
}

.code-block, .code-block-2 {
    background: #2d2d2d;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-family: monospace;
    white-space: pre-wrap;
}

.key-container {
    display: block;
    margin-bottom: 0;
}

.ad-space {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    margin: 0.5rem auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 160px;
    /* Match ad width */
    min-height: 600px;
    /* Match ad height */
    display: flex;
    justify-content: center;
}

/* Desktop ad styles */

.desktop-ad {
    display: flex;
    justify-content: center;
    width: 160px;
    min-height: 600px;
}

/* Mobile ad styles */

.mobile-ad {
    display: none;
    width: 100%;
    margin: 1rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .desktop-ad {
        display: none;
    }
    .mobile-ad {
        display: block;
    }
    .col-md-2 {
        display: none;
    }
    .col-md-8 {
        width: 100%;
    }
    .image-section img {
        max-width: 400px;
    }
    .text-section {
        width: 100%;
    }
    .instructions-container {
        display: block;
        padding: 1rem;
    }
    .path-list {
        padding-left: 0.5rem;
        font-size: 0.9rem;
        word-break: break-all;
    }
    .code-block {
        padding: 0.75rem;
        font-size: 0.85rem;
        overflow-x: auto;
    }
    .path-list li {
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    .path-list strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}

.site-header {
    /* padding: 1rem 0; */
    background-color: transparent;
    margin-bottom: 2rem;
    width: 100%;
}

.navbar {
    padding: 0;
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.dropdown-menu {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
}

.dropdown-item {
    color: var(--text-color);
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

.contact-btn {
    padding: 0.6rem 2.2rem;
    border: none;
    border-radius: 50px;
    background-color: var(--primary-blue);
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    .navbar-nav {
        text-align: center;
    }
    .contact-btn {
        display: inline-block;
        margin-top: 1rem;
        padding: 0.6rem 2.2rem;
        width: auto;
        text-align: center;
    }
}

.navbar-collapse {
    flex-grow: 1;
    justify-content: space-between;
}

.category-label {
    color: var(--primary-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-blue);
}

.featured-quote {
    margin-top: 0;
    padding-left: 1rem;
    /* border-left: 3px solid var(--primary-blue); */
    color: #555;
}

.featured-quote i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.featured-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    .featured-quote {
        margin-top: 2rem;
    }
    .featured-quote p {
        font-size: 1rem;
    }
}

.trending-hack {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(30, 40, 117, 0.03);
    border-radius: 16px;
}

.trending-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.trending-label i {
    color: #FF6B6B;
    font-size: 1rem;
}

.trending-label span {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border: 1px solid rgba(30, 40, 117, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 40, 117, 0.1);
    border-color: var(--primary-blue);
}

.trending-content {
    display: flex;
    flex-direction: column;
}

.hack-name {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.hack-desc {
    color: #666;
    font-size: 0.9rem;
}

.trending-btn i {
    color: var(--primary-blue);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.trending-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .trending-hack {
        margin: 2rem auto;
        max-width: 90%;
    }
}

/* Add this new style for cursor AI page desktop avatar */

@media (min-width: 769px) {
    .cursor-ai-avatar {
        width: 400px !important;
        /* 60% of original 400px */
    }
}

/* Add this new style for desktop view when code is generated */

@media (min-width: 769px) {
    .text-section.code-generated {
        padding: 1rem 3rem;
        max-width: 100%;
    }
}

.blog-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 20px;
}

.blog-title {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #666;
}

.tag {
    background: #f0f0f0;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.code-block {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1rem 0;
}

.code-block code {
    color: #d4d4d4;
    font-family: 'Fira Code', monospace;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {
    margin: 2rem 0 1rem;
}

.section-title h2 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-blue), #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.shortcut-list {
    list-style: none;
    padding-left: 0;
}

.shortcut-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shortcut-list strong {
    color: var(--primary-blue);
    background: rgba(30, 40, 117, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .feature-item {
        padding: 1rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
}

.manual-link-message {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin: 15px;
}

.manual-link {
    color: var(--primary-blue);
    word-break: break-all;
    cursor: pointer;
}

.manual-link:hover {
    text-decoration: underline;
}

.one-click-solution {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0 30px;
    color: white;
}

.one-click-solution h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.code-blocks {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 6px;
}

.os-block {
    margin-bottom: 15px;
}

.os-block:last-child {
    margin-bottom: 0;
}

.os-block h5 {
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
    margin: 0;
}

.code-block code {
    white-space: pre-wrap;
    word-break: break-all;
}