/* Text Page Specific Styles */
:root {
    --text-gradient: linear-gradient(135deg, #4facfe 0%, #00a2aa 100%);
    --text-gradient-dark: linear-gradient(
        135deg,
        #1c1360 0%,
        #105472 50%,
        #14520d 100%
    );
    --info-light: #22d3ee;
}

[data-bs-theme="dark"] {
    --text-gradient: var(--text-gradient-dark);
}

/* Text Utilities */
.text-info-light {
    color: var(--info-light);
}

/* === TEXT HERO SECTION === */
.text-hero-section {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
}

.text-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-gradient);
    z-index: 0;
}

.text-hero-content {
    z-index: 2;
}

.text-badge .badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.text-feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.text-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.text-actions .btn {
    transition: all 0.3s ease;
}

.text-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Text Visual Elements */
.text-floating-elements {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.text-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.text-element::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #22d3ee, #3b82f6, #8b5cf6);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(8px);
}

.text-element:hover::before {
    opacity: 1;
}

.text-element:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.element-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: textFloat1 8s ease-in-out infinite;
}

.element-2 {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    animation: textFloat2 8s ease-in-out infinite;
    animation-delay: 2s;
}

.element-3 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: textFloat3 8s ease-in-out infinite;
    animation-delay: 4s;
}

.element-4 {
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    animation: textFloat4 8s ease-in-out infinite;
    animation-delay: 6s;
}

.text-element i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.text-element:hover i {
    transform: scale(1.2) rotate(5deg);
}

.text-element span {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.text-element:hover span {
    transform: translateY(-2px);
}

.text-center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: textCenterPulse 4s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.text-center-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: textShimmer 3s linear infinite;
}

.text-center-icon i {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: textIconBounce 2s ease-in-out infinite;
}

/* Connection Lines */
.text-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: textDataFlow 3s linear infinite;
}

.connection-1 {
    top: 80px;
    left: 50%;
    width: 60px;
    transform: translateX(-50%) rotate(-45deg);
    transform-origin: center;
}

.connection-2 {
    top: 50%;
    right: 80px;
    width: 60px;
    transform: translateY(-50%) rotate(45deg);
}

.connection-3 {
    bottom: 80px;
    left: 50%;
    width: 60px;
    transform: translateX(-50%) rotate(45deg);
}

.connection-4 {
    top: 50%;
    left: 80px;
    width: 60px;
    transform: translateY(-50%) rotate(-45deg);
}

/* Floating Particles */
.text-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: textParticleFloat 6s linear infinite;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
    background: rgba(34, 211, 238, 0.6);
}

.particle-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 2s;
    background: rgba(59, 130, 246, 0.6);
}

.particle-4 {
    bottom: 35%;
    right: 20%;
    animation-delay: 3s;
    background: rgba(139, 92, 246, 0.6);
}

/* Enhanced Animations */
@keyframes textFloat1 {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateX(-50%) translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateX(-50%) translateY(-8px) rotate(-1deg);
    }

    75% {
        transform: translateX(-50%) translateY(-12px) rotate(1deg);
    }
}

@keyframes textFloat2 {
    0%,
    100% {
        transform: translateY(-50%) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-50%) translateX(-10px) rotate(-2deg);
    }

    50% {
        transform: translateY(-50%) translateX(-5px) rotate(1deg);
    }

    75% {
        transform: translateY(-50%) translateX(-8px) rotate(-1deg);
    }
}

@keyframes textFloat3 {
    0%,
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateX(-50%) translateY(12px) rotate(1deg);
    }

    50% {
        transform: translateX(-50%) translateY(6px) rotate(-2deg);
    }

    75% {
        transform: translateX(-50%) translateY(9px) rotate(1deg);
    }
}

@keyframes textFloat4 {
    0%,
    100% {
        transform: translateY(-50%) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-50%) translateX(8px) rotate(2deg);
    }

    50% {
        transform: translateY(-50%) translateX(4px) rotate(-1deg);
    }

    75% {
        transform: translateY(-50%) translateX(6px) rotate(1deg);
    }
}

@keyframes textCenterPulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    }
}

@keyframes textShimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes textIconBounce {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes textDataFlow {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes textParticleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Text Decorations */
.text-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.text-decoration.decoration-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.text-decoration.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.text-decoration.decoration-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

/* === TEXT TOOL CARDS === */
.text-tool-card {
    background: var(--bg-card-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    backdrop-filter: blur(10px);
    height: 100%;
}

[data-bs-theme="light"] .text-tool-card {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 100%
    );
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .text-tool-card {
    background: linear-gradient(
        145deg,
        rgba(26, 26, 46, 0.95) 0%,
        rgba(31, 41, 55, 0.9) 100%
    );
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .text-tool-btn {
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
}

[data-bs-theme="dark"] .text-tool-btn:hover {
    box-shadow: 0 12px 25px -3px rgba(34, 211, 238, 0.3);
}

.text-tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: rgba(34, 211, 238, 0.3);
}

.text-tool-card:hover .cv-preview {
    transform: scale(1.05);
}

.text-tool-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

[data-bs-theme="dark"] .text-tool-visual {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Text App Preview Styles */
.text-app-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

/* CV Preview Styles */
.cv-preview {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    animation: cvFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.cv-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cv-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(33, 150, 243, 0.5);
    border-radius: 50%;
    animation: cvParticleFloat 6s linear infinite;
}

[data-bs-theme="dark"] .cv-particle {
    background: rgba(100, 181, 246, 0.5);
}

.cv-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cv-particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.cv-particle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.cv-particle:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
}

.cv-container {
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 10px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
    animation: cvContainerPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.cv-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.cv-container:hover::before {
    left: 100%;
}

[data-bs-theme="dark"] .cv-container {
    background: linear-gradient(135deg, #1e293b 0%, #1a2436 100%);
    border-color: #334155;
    color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: cvDarkGlow 3s ease-in-out infinite;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.cv-header {
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.cv-name {
    font-size: 1rem;
    font-weight: 700;
    color: #2196f3;
}

[data-bs-theme="dark"] .cv-name {
    color: #64b5f6;
}

.cv-title {
    font-size: 0.5rem;
    color: #666;
    margin-bottom: 0.5rem;
}

[data-bs-theme="dark"] .cv-title {
    color: #adb5bd;
}

.cv-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.55rem;
    color: #888;
}

.cv-contact span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cv-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2196f3;
    margin-bottom: 0.55rem;
    font-size: 1rem;
}

[data-bs-theme="dark"] .cv-section-title {
    color: #64b5f6;
}

.cv-section-title {
    animation: cvSectionPulse 2.5s ease-in-out infinite;
}

.cv-section:nth-child(2) .cv-section-title,
.cv-section:nth-child(3) .cv-section-title {
    animation: cvSkillsPulse 3s ease-in-out infinite;
}

.cv-section:nth-child(4) .cv-section-title {
    animation: cvEducationPulse 3s ease-in-out infinite;
}

.cv-item {
    padding-left: 1rem;
    border-left: 2px solid #e9ecef;
    opacity: 0;
    animation: cvItemFadeIn 0.5s ease-out forwards;
}

.cv-item:nth-child(1) {
    animation-delay: 0.1s;
}

.cv-item:nth-child(2) {
    animation-delay: 0.3s;
}

.cv-item:nth-child(3) {
    animation-delay: 0.5s;
}

[data-bs-theme="dark"] .cv-item {
    border-left: 2px solid #384151;
}

.cv-item {
    transition: all 0.3s ease;
}

.cv-item:hover {
    transform: translateX(5px);
    border-left: 2px solid #2196f3;
}

[data-bs-theme="dark"] .cv-item:hover {
    background: rgba(100, 181, 246, 0.1);
    border-left: 2px solid #64b5f6;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0;
}

.cv-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
    position: relative;
}

[data-bs-theme="dark"] .cv-item-title {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .cv-item-title::before {
    color: #64b5f6;
}

.cv-item-date {
    color: #888;
    font-size: 0.75rem;
    background: rgba(33, 150, 243, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

[data-bs-theme="dark"] .cv-item-date {
    color: #adb5bd;
    background: rgba(100, 181, 246, 0.1);
}

.cv-item-subtitle {
    color: #2196f3;
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
    font-style: italic;
    opacity: 0.9;
}

.cv-section:nth-child(2) .cv-item-subtitle,
.cv-section:nth-child(3) .cv-item-subtitle {
    color: #4caf50;
    font-weight: 500;
}

.cv-section:nth-child(4) .cv-item-subtitle {
    color: #ff9800;
    font-weight: 500;
}

[data-bs-theme="dark"] .cv-item-subtitle {
    color: #64b5f6;
    opacity: 0.9;
}

[data-bs-theme="dark"] .cv-section:nth-child(2) .cv-item-subtitle,
[data-bs-theme="dark"] .cv-section:nth-child(3) .cv-item-subtitle {
    color: #81c784;
}

[data-bs-theme="dark"] .cv-section:nth-child(4) .cv-item-subtitle {
    color: #ffb74d;
}

.cv-item-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

[data-bs-theme="dark"] .cv-item-desc {
    color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cv-contact {
        flex-direction: column;
        gap: 0.25rem;
    }

    .cv-item-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Lorem Ipsum Preview */
.text-preview-window {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .text-preview-window {
    background: #1e293b;
    border-color: #334155;
}

.lorem-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lorem-line {
    height: 8px;
    background: #3b82f6;
    border-radius: 4px;
    animation: textGenerate 3s ease-in-out infinite;
}

.line-1 {
    width: 90%;
    animation-delay: 0s;
}

.line-2 {
    width: 75%;
    animation-delay: 0.5s;
}

.line-3 {
    width: 85%;
    animation-delay: 1s;
}

.line-4 {
    width: 60%;
    animation-delay: 1.5s;
}

.text-cursor {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2px;
    height: 12px;
    background: #3b82f6;
    animation: textCursor 1s ease-in-out infinite;
}

/* Random Text Preview */
.random-text-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-generator {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

[data-bs-theme="dark"] .text-generator {
    background: #1e293b;
    border-color: #334155;
}

.generator-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

[data-bs-theme="dark"] .generator-header {
    border-bottom-color: #334155;
}

.generator-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.generator-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.generator-subtitle {
    font-size: 0.625rem;
    color: var(--text-muted-light);
}

.generated-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.text-sample {
    font-size: 0.625rem;
    color: var(--text-muted-light);
    animation: textFadeIn 2s ease-in-out infinite;
}

.text-sample:nth-child(1) {
    animation-delay: 0s;
}

.text-sample:nth-child(2) {
    animation-delay: 0.7s;
}

.text-sample:nth-child(3) {
    animation-delay: 1.4s;
}

/* List Preview */
.list-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

[data-bs-theme="dark"] .list-container {
    background: #1e293b;
    border-color: #334155;
}

.list-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.list-header i {
    color: #f59e0b;
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: listItemAppear 1.5s ease-in-out infinite;
}

.list-item:nth-child(1) {
    animation-delay: 0s;
}

.list-item:nth-child(2) {
    animation-delay: 0.5s;
}

.list-item:nth-child(3) {
    animation-delay: 1s;
}

.item-bullet {
    font-size: 0.625rem;
    font-weight: 600;
    color: #f59e0b;
    min-width: 16px;
}

.item-text {
    font-size: 0.625rem;
    color: var(--text-muted-light);
}

/* Tool Info Section */
.text-tool-info {
    padding: 2rem;
}

.text-tool-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.text-tool-card:hover .text-tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.text-tool-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.text-tool-description {
    color: var(--text-muted-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.text-tool-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--info);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.text-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--info), var(--primary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
    z-index: 2;
    animation: buttonPulse 4s ease-in-out infinite;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.text-tool-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.text-tool-btn::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
}

.text-tool-btn:hover::before {
    left: 100%;
}

.text-tool-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px -3px rgba(34, 211, 238, 0.4);
    text-decoration: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.text-tool-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.5),
        0 12px 25px -3px rgba(34, 211, 238, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.text-tool-btn i {
    transition: all 0.3s ease;
}

.text-tool-btn:hover i {
    transform: translateX(3px);
}

/* Animations */
@keyframes textGenerate {
    0%,
    100% {
        opacity: 0.6;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes textCursor {
    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes textFadeIn {
    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes listItemAppear {
    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-5px);
    }

    50% {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes buttonPulse {
    0%,
    20%,
    80%,
    100% {
        box-shadow: 0 4px 15px rgba(34, 211, 238, 0.15);
    }

    40%,
    60% {
        box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
    }
}

@keyframes cvContainerPulse {
    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: scale(1.01);
    }
}

@keyframes cvTextGlow {
    0%,
    100% {
        text-shadow: 0 0 1px rgba(33, 150, 243, 0.3);
    }

    50% {
        text-shadow: 0 0 5px rgba(33, 150, 243, 0.6);
    }
}

@keyframes cvSectionPulse {
    0%,
    100% {
        color: #2196f3;
    }

    50% {
        color: #64b5f6;
        text-shadow: 0 0 8px rgba(33, 150, 243, 0.4);
    }
}

@keyframes cvSkillsPulse {
    0%,
    100% {
        color: #4caf50;
    }

    50% {
        color: #81c784;
        text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    }
}

@keyframes cvEducationPulse {
    0%,
    100% {
        color: #ff9800;
    }

    50% {
        color: #ffb74d;
        text-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
    }
}

@keyframes cvHeaderGlow {
    0%,
    100% {
        box-shadow: 0 0 2px rgba(33, 150, 243, 0.5);
    }

    50% {
        box-shadow: 0 0 8px rgba(33, 150, 243, 0.8);
    }
}

@keyframes cvNameUnderline {
    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes cvItemFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cvFloat {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes cvDarkGlow {
    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 4px 12px rgba(34, 211, 238, 0.2);
    }
}

@keyframes cvParticleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

/* === TEXT UTILITY CARDS === */
.text-utility-card {
    background: var(--bg-card-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.text-utility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(34, 211, 238, 0.3);
}

.text-utility-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.text-utility-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.text-utility-desc {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.text-utility-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--info);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.text-utility-card:hover .text-utility-link {
    opacity: 1;
    transform: scale(1);
}

/* === TEXT UTILITY COMPACT CARDS === */
.text-utilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.text-utility-card-compact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

[data-bs-theme="dark"] .text-utility-card-compact {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.text-utility-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .text-utility-card-compact:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.text-utility-card-compact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: left 0.5s ease;
}

.text-utility-card-compact:hover::before {
    left: 100%;
}

.text-utility-card-compact i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.text-utility-card-compact i.text-primary {
    color: #0d6efd !important;
}

.text-utility-card-compact i.text-success {
    color: #198754 !important;
}

.text-utility-card-compact i.text-warning {
    color: #ffc107 !important;
}

.text-utility-card-compact i.text-info {
    color: #0dcaf0 !important;
}

.text-utility-card-compact i.text-danger {
    color: #dc3545 !important;
}

.text-utility-card-compact i.text-purple {
    color: #6f42c1 !important;
}

.text-utility-card-compact:hover i {
    transform: scale(1.1);
}

.text-utility-card-compact h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-body-color);
    transition: color 0.3s ease;
}

/* Enhanced Badge for Text Utilities */
.badge-modern-enhanced {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(139, 92, 246, 0.15)
    );
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

[data-bs-theme="dark"] .badge-modern-enhanced {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.2),
        rgba(139, 92, 246, 0.2)
    );
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.badge-modern-enhanced::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.badge-modern-enhanced:hover::before {
    left: 100%;
}

.badge-modern-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

[data-bs-theme="dark"] .badge-modern-enhanced:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
}

.badge-modern-enhanced i {
    font-size: 1rem;
    margin-right: 0.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* === TEXT CTA SECTION === */
.text-cta-section {
    background: var(--text-gradient);
    color: white;
}

.text-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-gradient);
    z-index: 0;
}

.text-cta-badge .badge-modern-light {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.text-cta-buttons .btn {
    transition: all 0.3s ease;
}

.text-cta-buttons .btn:hover {
    transform: translateY(-2px);
}

.text-cta-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 10s ease-in-out infinite;
}

.text-cta-decoration.decoration-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.text-cta-decoration.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .text-hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .text-floating-elements {
        width: 250px;
        height: 250px;
    }

    .text-element {
        width: 60px;
        height: 60px;
    }

    .text-element i {
        font-size: 1.2rem;
    }

    .text-center-icon {
        width: 90px;
        height: 90px;
    }

    .text-center-icon i {
        font-size: 2rem;
    }

    .text-features {
        grid-template-columns: 1fr;
    }

    .text-actions {
        flex-direction: column;
    }

    .text-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .text-tool-card {
        padding: 1rem;
    }

    .text-utility-card {
        min-height: 140px;
    }

    .text-floating-elements {
        display: none;
    }
}
