body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

    body.loaded {
        opacity: 1;
    }

:root {
    --primary-color: #6f37d8;
    --primary-light: #8b5cf6;
    --secondary-color: #374151;
    --text-light: #d1d5db;
    --text-white: #ffffff;
    --bg-dark: #111827;
    --bg-dark-gray: #1f2937;
    --bg-light-gray: #374151;
    --signature-green: #00bf02;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section-title-block {
    text-align: center;
    margin-bottom: 64px;
}

    .section-title-block h2 {
        font-size: 36px;
        font-weight: 700;
        color: var(--text-white);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .section-title-block p {
        font-size: 20px;
        color: var(--text-light);
        max-width: 600px;
        margin: 0 auto 24px;
    }

    .section-title-block .divider {
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #6366f1 0%, #f472b6 100%);
        margin: 0 auto;
    }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

    .btn-primary:hover {
        filter: brightness(1.1);
    }

.btn-secondary {
    background-color: var(--bg-light-gray);
    border: 1px solid #4b5563;
    color: var(--text-white);
}

    .btn-secondary:hover {
        background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    }

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title-block h2 {
        font-size: 28px;
    }

    .section-title-block p {
        font-size: 18px;
    }
}

.login-link {
    color: var(--color-text-base);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-decoration: none;
}

    .login-link:hover {
        color: var(--color-primary);
        text-shadow: 0 0 12px rgba(111, 55, 216, 0.8);
    }

/* CSS for section section:header */
.site-header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-dark);
    z-index: 100;
    border-bottom: 1px solid #1f2937;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-light);
    font-size: 16px;
    transition: color 0.3s ease;
}

    .main-nav a:hover {
        color: var(--text-white);
    }

.auth-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-link {
    color: var(--text-light);
    font-size: 16px;
    transition: color 0.3s ease;
}

    .login-link:hover {
        color: var(--text-white);
    }

.signup-btn {
    padding: 8px 24px;
}

/* CSS for section section:hero */
.hero-section {
    padding: 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 32px;
}

.highlight {
    color: var(--primary-color);
}

.highlight-green {
    color: var(--signature-green);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    max-width: 560px;
}

    .hero-image img {
        border-radius: 16px;
        box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.1), 0px 8px 10px 0px rgba(0, 0, 0, 0.1);
    }

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 36px;
    }
}

/* CSS for section section:features-personality */
.features-personality-section {
    padding: 80px 0;
}

.features-personality-content {
    background-color: var(--bg-dark-gray);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    gap: 48px;
}

.did-you-know-card {
    flex: 2;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--text-white);
    padding: 40px;
    border-radius: 12px;
}

    .did-you-know-card h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 32px;
    }

    .did-you-know-card ul {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .did-you-know-card li {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    .did-you-know-card .icon-wrapper {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .did-you-know-card .icon-wrapper img {
            width: 24px;
            height: 24px;
        }

.how-it-works-card {
    flex: 3;
}

    .how-it-works-card h3 {
        font-size: 24px;
        font-weight: 700;
        color: var(--text-white);
        margin-bottom: 24px;
    }

    .how-it-works-card p {
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .how-it-works-card .btn {
        margin-top: 16px;
    }

@media (max-width: 992px) {
    .features-personality-content {
        flex-direction: column;
        padding: 32px;
    }
}

/* CSS for section section:features-process */
.process-section {
    background-color: var(--bg-dark-gray);
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.process-card {
    background-color: var(--bg-light-gray);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1), 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
}

.border-blue {
    background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
}

.border-purple {
    background: linear-gradient(90deg, #8b5cf6 0%, #c084fc 100%);
}

.border-pink {
    background: linear-gradient(90deg, #f472b6 0%, #f472b6 100%);
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.icon-blue {
    background-color: rgba(99, 102, 241, 0.1);
}

.icon-purple {
    background-color: rgba(139, 92, 246, 0.1);
}

.icon-pink {
    background-color: rgba(244, 114, 182, 0.1);
}

.process-card h4 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-card p {
    flex-grow: 1;
}

.progress-bar {
    display: flex;
    gap: 8px;
    height: 4px;
    width: 100%;
    margin-top: 24px;
}

.progress-segment {
    flex-grow: 1;
    border-radius: 9999px;
}

.segment-1 {
    background-color: #3b82f6;
}

.segment-2 {
    background-color: #22c55e;
}

.segment-3 {
    background-color: #eab308;
}

.segment-4 {
    background-color: #a855f7;
}

.segment-5 {
    background-color: #ef4444;
}

.process-cta {
    text-align: center;
}

    .process-cta .btn {
        font-size: 18px;
        padding: 16px 48px;
    }

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS for section section:features-ocean */
.ocean-section {
    padding: 80px 0;
}

.ocean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ocean-card {
    background-color: var(--bg-dark-gray);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1), 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .ocean-card .card-top-border {
        height: 10px;
    }

.border-ocean-1 {
    background-color: #3b82f6;
}

.border-ocean-2 {
    background-color: #22c55e;
}

.border-ocean-3 {
    background-color: #eab308;
}

.border-ocean-4 {
    background-color: #a855f7;
}

.border-ocean-5 {
    background-color: #ef4444;
}

.ocean-card .card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.icon-ocean-1 {
    background-color: #dbeafe;
}

.icon-ocean-2 {
    background-color: #dcfce7;
}

.icon-ocean-3 {
    background-color: #fef9c3;
}

.icon-ocean-4 {
    background-color: #f3e8ff;
}

.icon-ocean-5 {
    background-color: #fee2e2;
}

.icon-ocean-6 {
    background-color: rgba(255, 255, 255, 0.2);
}

.ocean-card h4 {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ocean-card p {
    flex-grow: 1;
    margin-bottom: 24px;
}

.personalized-ai-card {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    color: var(--text-white);
}

    .personalized-ai-card h4, .personalized-ai-card p {
        color: var(--text-white);
    }

.btn-light {
    background-color: var(--text-white);
    color: var(--primary-color);
}

    .btn-light:hover {
        filter: brightness(0.9);
    }

@media (max-width: 992px) {
    .ocean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ocean-grid {
        grid-template-columns: 1fr;
    }
}

/* CSS for section section:cta */
.cta-section {
    padding: 80px 0;
}

.cta-container {
    text-align: center;
}

    .cta-container h2 {
        font-size: 36px;
        font-weight: 700;
        color: var(--text-white);
        max-width: 840px;
        margin: 0 auto 24px;
    }

    .cta-container p {
        font-size: 20px;
        color: var(--text-light);
        max-width: 600px;
        margin: 0 auto 48px;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

    .cta-buttons .btn {
        font-size: 18px;
        padding: 16px 40px;
    }

.btn-outline {
    background-color: var(--text-white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

    .btn-outline:hover {
        background-color: #f0f0f0;
    }

@media (max-width: 768px) {
    .cta-container h2 {
        font-size: 28px;
    }

    .cta-container p {
        font-size: 18px;
    }
}

/* CSS for section section:footer */
.site-footer {
    padding-top: 80px;
    color: #f3f4f6;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding-bottom: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

    .footer-col h4 {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-white);
    }

        .footer-col h4.logo {
            font-size: 24px;
            font-weight: 700;
        }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-col a:hover {
        color: var(--text-white);
    }

.social-links {
    display: flex;
    gap: 16px;
}

    .social-links a {
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .social-links a:hover {
            opacity: 1;
        }

.footer-col .btn {
    align-self: flex-start;
}

.footer-bottom {
    color: var(--color-text-muted);
    padding-left: 0.5rem;
    padding-top: 1rem;
    border-left: 6px solid var(--color-border);
}

    .footer-bottom p {
        font-size: 14px;
        color: var(--color-text-tertiary);
    }

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

        .footer-col .btn {
            align-self: center;
        }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}

/* Slide down animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Phone-only breakpoint - hide logo */
@media (max-width: 900px) {
    .logo-link,
    .logo-link img {
        display: none !important;
    }
}

.status-bar {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--bg-light-gray);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--text-light);
}

.user-info {
    width: 100%;
    display: flex;
    align-items: center;
}

.left-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.right-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.toolbar-button {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid var(--bg-light-gray);
    background-color: var(--bg-dark-gray);
    color: var(--text-white);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 2.5rem;
    box-sizing: border-box;
}

    .toolbar-button:hover {
        background-color: var(--bg-light-gray);
        box-shadow: 0 0 8px rgba(111, 55, 216, 0.3);
    }

#authButton {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    #authButton:hover {
        background-color: rgba(111, 55, 216, 0.8);
        box-shadow: 0 0 12px rgba(111, 55, 216, 0.6);
    }

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark-gray);
    min-width: 220px;
    width: max-content;
    border: 1px solid var(--bg-light-gray);
    border-radius: 0.375rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

    .dropdown-menu a {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--text-light);
        white-space: nowrap;
        border-bottom: 1px solid var(--bg-light-gray);
        transition: all 0.3s ease;
    }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background-color: var(--bg-light-gray);
        }

.dropdown-item-with-icon {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.dropdown-menu img {
    flex-shrink: 0;
}

.label-frame {
    background-color: var(--bg-dark-gray);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--bg-light-gray);
}

.user-name {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 0.75rem;
    border: 2px solid var(--bg-light-gray);
}

@media (max-width: 900px) {
    #logoToolbar,
    .avatar,
    .right-info {
        display: none !important;
    }

    .toolbar-button {
        flex-shrink: 0; /* Prevent buttons from shrinking */
    }
}

.footer-bottom {
    color: var(--text-light);
    padding-left: 1rem;
    padding-top: 1rem;
}

    .footer-bottom p {
        font-size: 14px;
        color: var(--text-light);
    }

