/* =============================================
           STORY TEXT ANIMATION TOOL - SCOPED STYLES
           Using .txta- prefix to avoid conflicts
           ============================================= */
        
        :root {
            --txta-primary: #3e40cc;
            --txta-secondary: #fe6963;
            --txta-light: #d2e8f9;
            --txta-dark: #1a1a2e;
            --txta-success: #28a745;
            --txta-warning: #ffc107;
            --txta-danger: #dc3545;
            --txta-info: #17a2b8;
        }
        
        .txta-wrapper {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f8f9ff 0%, #e8ecf4 100%);
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        .txta-wrapper * {
            box-sizing: border-box;
        }
        
        /* Toast Notifications */
        .txta-toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 999999;
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-width: 380px;
            width: 100%;
        }
        
        .txta-toast {
            background: white;
            border-radius: 12px;
            padding: 16px 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            gap: 15px;
            animation: txtaToastIn 0.4s ease;
            border-left: 4px solid var(--txta-primary);
        }
        
        .txta-toast.success {
            border-left-color: var(--txta-success);
        }
        
        .txta-toast.error {
            border-left-color: var(--txta-danger);
        }
        
        .txta-toast.warning {
            border-left-color: var(--txta-warning);
        }
        
        .txta-toast.info {
            border-left-color: var(--txta-info);
        }
        
        .txta-toast.hide {
            animation: txtaToastOut 0.4s ease forwards;
        }
        
        @keyframes txtaToastIn {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes txtaToastOut {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(100%);
            }
        }
        
        .txta-toast-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        
        .txta-toast.success .txta-toast-icon {
            background: rgba(40, 167, 69, 0.15);
            color: var(--txta-success);
        }
        
        .txta-toast.error .txta-toast-icon {
            background: rgba(220, 53, 69, 0.15);
            color: var(--txta-danger);
        }
        
        .txta-toast.warning .txta-toast-icon {
            background: rgba(255, 193, 7, 0.15);
            color: var(--txta-warning);
        }
        
        .txta-toast.info .txta-toast-icon {
            background: rgba(62, 64, 204, 0.15);
            color: var(--txta-primary);
        }
        
        .txta-toast-content {
            flex: 1;
        }
        
        .txta-toast-title {
            font-weight: 600;
            font-size: 0.95rem;
            color: #1a1a2e;
            margin-bottom: 2px;
        }
        
        .txta-toast-message {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.4;
        }
        
        .txta-toast-close {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: #999;
            cursor: pointer;
            padding: 0;
            line-height: 1;
            transition: color 0.2s;
        }
        
        .txta-toast-close:hover {
            color: #333;
        }
        
        /* Hero Section */
        .txta-hero {
            background: linear-gradient(135deg, var(--txta-primary) 0%, #6366f1 50%, var(--txta-secondary) 100%);
            padding: 50px 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .txta-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 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='%23ffffff' fill-opacity='0.08'%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");
            pointer-events: none;
        }
        
        .txta-hero-content {
            position: relative;
            z-index: 1;
        }
        
        .txta-hero h1 {
            font-size: 2.4rem;
            font-weight: 800;
            margin-bottom: 15px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
        }
        
        .txta-hero p {
            font-size: 1.1rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto 20px;
        }
        
        .txta-rating-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(255,255,255,0.2);
            padding: 10px 20px;
            border-radius: 50px;
            backdrop-filter: blur(10px);
            gap: 8px;
        }
        
        .txta-rating-badge i {
            color: #ffc107;
        }
        
        .txta-rating-badge span {
            font-weight: 600;
        }
        
        /* Main Layout */
        .txta-main {
            padding: 40px 0;
        }
        
        /* Ad Spaces */
        .txta-ad-space {
            background: linear-gradient(135deg, var(--txta-light) 0%, #e8f4fd 100%);
            border: 2px dashed var(--txta-primary);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            position: sticky;
            top: 20px;
        }
        
        .txta-ad-space h5 {
            color: var(--txta-primary);
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .txta-ad-space p {
            color: #666;
            font-size: 0.9rem;
            margin: 0;
        }
        
        /* Tool Card */
        .txta-tool-card {
            background: white;
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(62, 64, 204, 0.12);
            overflow: hidden;
        }
        
        .txta-tool-header {
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            color: white;
            padding: 25px 30px;
        }
        
        .txta-tool-header h2 {
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0 0 5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .txta-tool-header p {
            margin: 0;
            opacity: 0.9;
            font-size: 0.95rem;
        }
        
        .txta-tool-body {
            padding: 30px;
        }
        
        /* Preview Section */
        .txta-preview-section {
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a35 100%);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
        }
        
        .txta-preview-canvas {
            width: 100%;
            height: 320px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        }
        
        .txta-preview-text {
            font-size: 48px;
            font-weight: 700;
            text-align: center;
            padding: 20px;
            word-break: break-word;
            max-width: 100%;
            line-height: 1.3;
            color: #ffffff;
            position: relative;
            z-index: 1;
        }
        
        /* Animation Status Indicator */
        .txta-animation-status {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 10;
            backdrop-filter: blur(5px);
        }
        
        .txta-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--txta-success);
            animation: txtaPulse 1.5s ease infinite;
        }
        
        .txta-status-dot.paused {
            background: var(--txta-warning);
            animation: none;
        }
        
        @keyframes txtaPulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }
        
        /* Preview Controls */
        .txta-preview-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .txta-control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.1);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            position: relative;
        }
        
        .txta-control-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.1);
        }
        
        .txta-control-btn.active {
            background: var(--txta-primary);
            box-shadow: 0 0 20px rgba(62, 64, 204, 0.5);
        }
        
        .txta-control-btn.play-btn.active {
            background: var(--txta-success);
            box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
        }
        
        .txta-control-btn.pause-btn.active {
            background: var(--txta-warning);
            box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
        }
        
        .txta-control-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none !important;
        }
        
        .txta-control-btn[title]::after {
            content: attr(title);
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.8);
            color: white;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.7rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s;
        }
        
        .txta-control-btn:hover[title]::after {
            opacity: 1;
        }
        
        .txta-control-divider {
            width: 1px;
            height: 30px;
            background: rgba(255,255,255,0.2);
            margin: 0 8px;
        }
        
        /* Section Panels */
        .txta-panel {
            background: #f8f9fc;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
            border: 1px solid #eef0f5;
        }
        
        .txta-panel-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--txta-primary);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 12px;
            border-bottom: 2px solid #eef0f5;
        }
        
        .txta-panel-title i {
            background: linear-gradient(135deg, var(--txta-primary), var(--txta-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 1.1rem;
        }
        
        /* Form Elements */
        .txta-form-group {
            margin-bottom: 18px;
        }
        
        .txta-label {
            display: block;
            font-weight: 500;
            color: #444;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }
        
        .txta-input,
        .txta-select,
        .txta-textarea {
            width: 100%;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 0.95rem;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
            background: white;
        }
        
        .txta-input:focus,
        .txta-select:focus,
        .txta-textarea:focus {
            outline: none;
            border-color: var(--txta-primary);
            box-shadow: 0 0 0 4px rgba(62, 64, 204, 0.1);
        }
        
        .txta-textarea {
            min-height: 100px;
            resize: vertical;
        }
        
        /* Range Slider */
        .txta-range-group {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .txta-range {
            flex: 1;
            -webkit-appearance: none;
            appearance: none;
            height: 8px;
            border-radius: 4px;
            background: #e5e7eb;
            outline: none;
        }
        
        .txta-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--txta-primary), var(--txta-secondary));
            cursor: pointer;
            border: 3px solid white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            transition: transform 0.2s;
        }
        
        .txta-range::-webkit-slider-thumb:hover {
            transform: scale(1.1);
        }
        
        .txta-range::-moz-range-thumb {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--txta-primary), var(--txta-secondary));
            cursor: pointer;
            border: 3px solid white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .txta-range-value {
            min-width: 55px;
            text-align: center;
            background: var(--txta-primary);
            color: white;
            padding: 6px 12px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        /* Color Picker */
        .txta-color-group {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        
        .txta-color-picker {
            width: 50px;
            height: 50px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            padding: 0;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .txta-color-picker::-webkit-color-swatch-wrapper {
            padding: 0;
        }
        
        .txta-color-picker::-webkit-color-swatch {
            border: none;
            border-radius: 10px;
        }
        
        .txta-color-presets {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .txta-color-preset {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .txta-color-preset:hover {
            transform: scale(1.15);
            border-color: #333;
        }
        
        .txta-color-preset.no-color {
            background: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%),
                        linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%);
            background-size: 10px 10px;
            background-position: 0 0, 5px 5px;
            position: relative;
        }
        
        .txta-color-preset.no-color::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: #dc3545;
            transform: rotate(-45deg);
        }
        
        /* Animation Grid */
        .txta-animation-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            max-height: 320px;
            overflow-y: auto;
            padding: 5px;
        }
        
        .txta-animation-grid::-webkit-scrollbar {
            width: 6px;
        }
        
        .txta-animation-grid::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        
        .txta-animation-grid::-webkit-scrollbar-thumb {
            background: var(--txta-primary);
            border-radius: 3px;
        }
        
        .txta-anim-item {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 14px 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .txta-anim-item:hover {
            border-color: var(--txta-primary);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(62, 64, 204, 0.15);
        }
        
        .txta-anim-item.selected {
            border-color: var(--txta-primary);
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            color: white;
        }
        
        .txta-anim-item i {
            font-size: 1.4rem;
            margin-bottom: 6px;
            display: block;
        }
        
        .txta-anim-item span {
            font-size: 0.7rem;
            font-weight: 600;
            display: block;
        }
        
        /* Gradient Presets */
        .txta-gradient-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
        }
        
        .txta-gradient-item {
            height: 55px;
            border-radius: 10px;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s ease;
        }
        
        .txta-gradient-item:hover {
            transform: scale(1.05);
        }
        
        .txta-gradient-item.selected {
            border-color: white;
            box-shadow: 0 0 0 3px var(--txta-primary);
        }
        
        /* Action Buttons */
        .txta-btn {
            padding: 14px 28px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-family: 'Poppins', sans-serif;
            border: none;
        }
        
        .txta-btn-primary {
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            color: white;
        }
        
        .txta-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(62, 64, 204, 0.35);
        }
        
        .txta-btn-secondary {
            background: linear-gradient(135deg, var(--txta-secondary) 0%, #ff8a85 100%);
            color: white;
        }
        
        .txta-btn-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(254, 105, 99, 0.35);
        }
        
        .txta-btn-outline {
            background: transparent;
            border: 2px solid var(--txta-primary);
            color: var(--txta-primary);
        }
        
        .txta-btn-outline:hover {
            background: var(--txta-primary);
            color: white;
        }
        
        .txta-btn-success {
            background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
            color: white;
        }
        
        .txta-btn-success:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(40, 167, 69, 0.35);
        }
        
        /* Export Grid */
        .txta-export-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }
        
        .txta-export-btn {
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 14px;
            padding: 18px 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
        }
        
        .txta-export-btn:hover {
            border-color: var(--txta-primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(62, 64, 204, 0.15);
        }
        
        .txta-export-btn i {
            font-size: 2rem;
            color: var(--txta-primary);
            margin-bottom: 10px;
            display: block;
        }
        
        .txta-export-btn strong {
            display: block;
            font-size: 0.95rem;
            color: #333;
            margin-bottom: 3px;
        }
        
        .txta-export-btn small {
            display: block;
            color: #888;
            font-size: 0.75rem;
        }
        
        /* Features Section */
        .txta-features {
            padding: 60px 0;
            background: white;
        }
        
        .txta-section-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--txta-dark);
            text-align: center;
            margin-bottom: 15px;
        }
        
        .txta-section-subtitle {
            font-size: 1rem;
            color: #666;
            text-align: center;
            max-width: 600px;
            margin: 0 auto 45px;
        }
        
        .txta-feature-card {
            background: #f8f9fc;
            border-radius: 20px;
            padding: 35px 25px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .txta-feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(62, 64, 204, 0.12);
        }
        
        .txta-feature-icon {
            width: 75px;
            height: 75px;
            background: linear-gradient(135deg, var(--txta-primary) 0%, var(--txta-secondary) 100%);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.8rem;
            color: white;
        }
        
        .txta-feature-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--txta-dark);
            margin-bottom: 12px;
        }
        
        .txta-feature-card p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
        }
        
        /* How It Works */
        .txta-how-it-works {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--txta-light) 0%, #e8f4fd 100%);
        }
        
        .txta-step {
            text-align: center;
        }
        
        .txta-step-num {
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            font-weight: 700;
            color: white;
            margin: 0 auto 20px;
            box-shadow: 0 10px 25px rgba(62, 64, 204, 0.3);
        }
        
        .txta-step h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--txta-dark);
            margin-bottom: 10px;
        }
        
        .txta-step p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
        }
        
        /* FAQ Section */
        .txta-faq {
            padding: 60px 0;
            background: #f8f9fc;
        }
        
        .txta-accordion {
            background: white;
            border-radius: 14px;
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        }
        
        .txta-accordion-head {
            padding: 20px 25px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: var(--txta-dark);
            transition: all 0.3s ease;
        }
        
        .txta-accordion-head:hover {
            background: #f8f9fc;
        }
        
        .txta-accordion-head.open {
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            color: white;
        }
        
        .txta-accordion-head i {
            transition: transform 0.3s ease;
        }
        
        .txta-accordion-head.open i {
            transform: rotate(180deg);
        }
        
        .txta-accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }
        
        .txta-accordion-content.open {
            max-height: 500px;
        }
        
        .txta-accordion-body {
            padding: 20px 25px;
            color: #666;
            line-height: 1.7;
        }
        
        /* Content Section */
        .txta-content-section {
            padding: 60px 0;
            background: white;
        }
        
        .txta-content-section h2 {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--txta-dark);
            margin-bottom: 20px;
        }
        
        .txta-content-section h3 {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--txta-primary);
            margin: 28px 0 15px;
        }
        
        .txta-content-section p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        .txta-content-section ul {
            padding-left: 20px;
            margin-bottom: 20px;
        }
        
        .txta-content-section ul li {
            color: #555;
            margin-bottom: 10px;
            line-height: 1.7;
        }
        
        /* CTA Section */
        .txta-cta {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--txta-secondary) 0%, #ff8a85 100%);
            color: white;
            text-align: center;
        }
        
        .txta-cta h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .txta-cta p {
            font-size: 1.1rem;
            opacity: 0.95;
            margin-bottom: 25px;
        }
        
        .txta-cta-btn {
            background: white;
            color: var(--txta-secondary);
            padding: 16px 45px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.1rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: 'Poppins', sans-serif;
        }
        
        .txta-cta-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        /* Modal */
        .txta-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.6);
            z-index: 99999;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }
        
        .txta-modal-overlay.show {
            display: flex;
        }
        
        .txta-modal {
            background: white;
            border-radius: 24px;
            padding: 40px;
            max-width: 450px;
            width: 90%;
            text-align: center;
            animation: txtaModalIn 0.4s ease;
        }
        
        @keyframes txtaModalIn {
            from {
                opacity: 0;
                transform: scale(0.9) translateY(-20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        
        .txta-modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2.2rem;
        }
        
        .txta-modal-icon.success {
            background: rgba(40, 167, 69, 0.12);
            color: var(--txta-success);
        }
        
        .txta-modal-icon.error {
            background: rgba(220, 53, 69, 0.12);
            color: var(--txta-danger);
        }
        
        .txta-modal-icon.info {
            background: rgba(62, 64, 204, 0.12);
            color: var(--txta-primary);
        }
        
        .txta-modal-icon.loading {
            background: rgba(62, 64, 204, 0.12);
            color: var(--txta-primary);
        }
        
        .txta-modal h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--txta-dark);
            margin-bottom: 10px;
        }
        
        .txta-modal p {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }
        
        .txta-progress-bar {
            height: 10px;
            background: #e5e7eb;
            border-radius: 5px;
            overflow: hidden;
            margin: 20px 0;
        }
        
        .txta-progress-fill {
            height: 100%;
            background: linear-gradient(135deg, var(--txta-primary), var(--txta-secondary));
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 5px;
        }
        
        .txta-modal-close {
            background: linear-gradient(135deg, var(--txta-primary) 0%, #5558e3 100%);
            color: white;
            border: none;
            padding: 14px 45px;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .txta-modal-close:hover {
            transform: scale(1.05);
        }
        
        /* Animation Keyframes */
        @keyframes txtaFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes txtaFadeInUp {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes txtaFadeInDown {
            from { opacity: 0; transform: translateY(-50px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes txtaFadeInLeft {
            from { opacity: 0; transform: translateX(-50px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes txtaFadeInRight {
            from { opacity: 0; transform: translateX(50px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes txtaSlideUp {
            from { opacity: 0; transform: translateY(100%); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes txtaSlideDown {
            from { opacity: 0; transform: translateY(-100%); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes txtaSlideLeft {
            from { opacity: 0; transform: translateX(-100%); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes txtaSlideRight {
            from { opacity: 0; transform: translateX(100%); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes txtaBounce {
            0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-40px); }
            60% { transform: translateY(-20px); }
        }
        
        @keyframes txtaBounceIn {
            0% { opacity: 0; transform: scale(0.3); }
            50% { transform: scale(1.08); }
            70% { transform: scale(0.9); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        @keyframes txtaPulseAnim {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }
        
        @keyframes txtaShake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-15px); }
            20%, 40%, 60%, 80% { transform: translateX(15px); }
        }
        
        @keyframes txtaWobble {
            0% { transform: translateX(0) rotate(0); }
            15% { transform: translateX(-25px) rotate(-5deg); }
            30% { transform: translateX(20px) rotate(3deg); }
            45% { transform: translateX(-15px) rotate(-3deg); }
            60% { transform: translateX(10px) rotate(2deg); }
            75% { transform: translateX(-5px) rotate(-1deg); }
            100% { transform: translateX(0) rotate(0); }
        }
        
        @keyframes txtaSwing {
            20% { transform: rotate(15deg); }
            40% { transform: rotate(-10deg); }
            60% { transform: rotate(5deg); }
            80% { transform: rotate(-5deg); }
            100% { transform: rotate(0deg); }
        }
        
        @keyframes txtaRubberBand {
            0% { transform: scaleX(1) scaleY(1); }
            30% { transform: scaleX(1.25) scaleY(0.75); }
            40% { transform: scaleX(0.75) scaleY(1.25); }
            50% { transform: scaleX(1.15) scaleY(0.85); }
            65% { transform: scaleX(0.95) scaleY(1.05); }
            75% { transform: scaleX(1.05) scaleY(0.95); }
            100% { transform: scaleX(1) scaleY(1); }
        }
        
        @keyframes txtaTada {
            0% { transform: scale(1) rotate(0); }
            10%, 20% { transform: scale(0.9) rotate(-3deg); }
            30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
            40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
            100% { transform: scale(1) rotate(0); }
        }
        
        @keyframes txtaZoomIn {
            from { opacity: 0; transform: scale(0.3); }
            to { opacity: 1; transform: scale(1); }
        }
        
        @keyframes txtaZoomInDown {
            from { opacity: 0; transform: scale(0.1) translateY(-500px); }
            60% { opacity: 1; transform: scale(0.475) translateY(30px); }
            to { transform: scale(1) translateY(0); }
        }
        
        @keyframes txtaRotateIn {
            from { opacity: 0; transform: rotate(-200deg); }
            to { opacity: 1; transform: rotate(0); }
        }
        
        @keyframes txtaFlipX {
            0% { transform: perspective(400px) rotateX(90deg); opacity: 0; }
            40% { transform: perspective(400px) rotateX(-20deg); }
            60% { transform: perspective(400px) rotateX(10deg); opacity: 1; }
            80% { transform: perspective(400px) rotateX(-5deg); }
            100% { transform: perspective(400px) rotateX(0); }
        }
        
        @keyframes txtaFlipY {
            0% { transform: perspective(400px) rotateY(90deg); opacity: 0; }
            40% { transform: perspective(400px) rotateY(-20deg); }
            60% { transform: perspective(400px) rotateY(10deg); opacity: 1; }
            80% { transform: perspective(400px) rotateY(-5deg); }
            100% { transform: perspective(400px) rotateY(0); }
        }
        
        @keyframes txtaHeartbeat {
            0% { transform: scale(1); }
            14% { transform: scale(1.3); }
            28% { transform: scale(1); }
            42% { transform: scale(1.3); }
            70% { transform: scale(1); }
        }
        
        @keyframes txtaJello {
            0%, 100% { transform: skewX(0) skewY(0); }
            11.1% { transform: skewX(-12.5deg) skewY(-12.5deg); }
            22.2% { transform: skewX(6.25deg) skewY(6.25deg); }
            33.3% { transform: skewX(-3.125deg) skewY(-3.125deg); }
            44.4% { transform: skewX(1.5625deg) skewY(1.5625deg); }
        }
        
        @keyframes txtaFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-30px); }
        }
        
        @keyframes txtaGlitch {
            0% { transform: translate(0); }
            20% { transform: translate(-6px, 6px); }
            40% { transform: translate(-6px, -6px); }
            60% { transform: translate(6px, 6px); }
            80% { transform: translate(6px, -6px); }
            100% { transform: translate(0); }
        }
        
        @keyframes txtaNeon {
            0%, 100% {
                text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor, 0 0 80px currentColor;
            }
            50% {
                text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor, 0 0 40px currentColor;
            }
        }
        
        @keyframes txtaRainbow {
            0% { color: #ff0000; }
            17% { color: #ff8800; }
            33% { color: #ffff00; }
            50% { color: #00ff00; }
            67% { color: #0088ff; }
            83% { color: #8800ff; }
            100% { color: #ff0000; }
        }
        
        @keyframes txtaFlash {
            0%, 50%, 100% { opacity: 1; }
            25%, 75% { opacity: 0; }
        }
        
        @keyframes txtaLightSpeed {
            from { transform: translateX(100%) skewX(-30deg); opacity: 0; }
            60% { transform: skewX(20deg); opacity: 1; }
            80% { transform: skewX(-5deg); }
            to { transform: translateX(0); }
        }
        
        @keyframes txtaRollIn {
            from { opacity: 0; transform: translateX(-100%) rotate(-120deg); }
            to { opacity: 1; transform: translateX(0) rotate(0); }
        }
        
        @keyframes txtaJackIn {
            from { opacity: 0; transform: scale(0.1) rotate(30deg); transform-origin: center bottom; }
            50% { transform: rotate(-10deg); }
            70% { transform: rotate(3deg); }
            to { opacity: 1; transform: scale(1); }
        }
        
        @keyframes txtaTypewriter {
            from { width: 0; }
            to { width: 100%; }
        }
        
        @keyframes txtaBlur {
            from { filter: blur(20px); opacity: 0; }
            to { filter: blur(0); opacity: 1; }
        }
        
        /* Responsive */
        @media (max-width: 1200px) {
            .txta-ad-space {
                display: none;
            }
        }
        
        @media (max-width: 992px) {
            .txta-hero h1 {
                font-size: 2rem;
            }
            
            .txta-animation-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .txta-gradient-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .txta-hero h1 {
                font-size: 1.6rem;
            }
            
            .txta-hero {
                padding: 35px 0;
            }
            
            .txta-preview-canvas {
                height: 260px;
            }
            
            .txta-preview-text {
                font-size: 32px;
            }
            
            .txta-tool-body {
                padding: 20px;
            }
            
            .txta-section-title {
                font-size: 1.6rem;
            }
            
            .txta-animation-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .txta-gradient-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .txta-toast-container {
                left: 10px;
                right: 10px;
                max-width: none;
            }
        }
        
        @media (max-width: 576px) {
            .txta-hero h1 {
                font-size: 1.4rem;
            }
            
            .txta-preview-canvas {
                height: 220px;
            }
            
            .txta-preview-text {
                font-size: 26px;
                padding: 15px;
            }
            
            .txta-animation-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .txta-control-btn {
                width: 44px;
                height: 44px;
            }
            
            .txta-export-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .txta-btn {
                width: 100%;
                margin-bottom: 10px;
            }
        }