/* Typography Utility Components */

/* 
   LANDING / TYPOGRAPHY 
*/

.text-desktop-title {
    font-size: 48px;
    font-weight: 600;
    font-style: normal;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-headline {
    font-size: 36px;
    font-weight: 600;
    font-style: normal;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-subtitle {
    font-size: 30px;
    font-weight: 600;
    font-style: normal;
    line-height: 140%;
    letter-spacing: -0.01em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-header {
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    line-height: 120%;
    letter-spacing: -0.01em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-body {
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%;
    letter-spacing: -0.005em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-body-bold {
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 150%;
    letter-spacing: -0.005em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-button {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 136%;
    letter-spacing: -0.005em;
    text-decoration: none;
    text-transform: none;
}

.text-desktop-gradient {
    font-size: 24px;
    font-weight: 600;
    font-style: normal;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-transform: none;
    background: var(--gradient-text-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}


/* Mobile Typography */

.text-mobile-title {
    font-size: 28px;
    font-weight: 600;
    font-style: normal;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-transform: none;
}

.text-mobile-body {
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 136%;
    letter-spacing: -0.005em;
    text-decoration: none;
    text-transform: none;
}

.text-mobile-body-bold {
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: 136%;
    letter-spacing: -0.005em;
    text-decoration: none;
    text-transform: none;
}

.text-mobile-button {
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    line-height: 136%;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-transform: none;
}

.text-mobile-tiny {
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    line-height: 130%;
    text-decoration: none;
    text-transform: none;
}

/* Blog / Base Typography */

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.8em;
    color: var(--muted-foreground);
}

strong,
b {
    font-weight: 600;
    color: var(--foreground);
}

/* DASHBOARD / UI TYPOGRAPHY */

.text-ui-widget-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--foreground);
}

.text-ui-body {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    color: var(--foreground);
}

.text-ui-body-bold {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: var(--foreground);
}

.text-ui-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.text-ui-caption {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    color: var(--muted-foreground);
}

/* Additional Utilities */
.text-display-large {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.12px;
}

.text-desktop-caption {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}


.text-white {
    color: #ffffff !important;
}

/* Responsive Typography Overrides */
@media (max-width: 768px) {
    .text-desktop-title {
        font-size: 32px;
        letter-spacing: -0.01em;
    }

    .text-desktop-headline {
        font-size: 28px;
    }

    .text-desktop-subtitle {
        font-size: 24px;
    }

    .text-desktop-header {
        font-size: 22px;
    }

    .text-desktop-body {
        font-size: 16px;
    }

    .text-display-large {
        font-size: 36px;
        letter-spacing: -0.02em;
    }

    .text-desktop-gradient {
        font-size: 20px;
    }

    .text-desktop-body-bold {
        font-weight: 400;
    }
}

/* 
   SHARED COMPONENT TYPOGRAPHY 
   (Centralized from components to avoid custom one-offs)
*/

/* Cards (Bento, Features) */
.text-card-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.text-card-body {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-primary);
}

/* Pricing */
.text-pricing-header {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

.text-pricing-amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: var(--font-family-base);
    color: var(--color-text-primary);
}

.text-pricing-original {
    font-size: 24px;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.5;
}

/* Footer & Lists */
.text-list-item {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.text-footer-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-decoration: none;
}

.text-footer-heading {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-tertiary);
}

/* Chat */
.text-chat-message {
    font-size: 16px;
    line-height: 1.5;
    color: inherit;
}

@media (max-width: 768px) {
    .text-chat-message {
        font-size: 13px;
    }
}

/* Text Reveal */
.text-reveal-title {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    /* Default base before gradient */
}

@media (max-width: 768px) {
    .text-reveal-title {
        font-size: 40px;
    }
}