        /* Instagram Caption Generator Tool Styles - Isolated */
        .icg-tool-wrapper {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f1efec 0%, #ffffff 100%);
            min-height: 100vh;
        }
        
        .icg-tool-wrapper * {
            box-sizing: border-box;
        }
        
        /* Hero Section */
        .icg-hero-section {
            background: linear-gradient(135deg, #3e40cc 0%, #5a5cd6 50%, #fe6963 100%);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .icg-hero-section::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.05'%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");
        }
        
        .icg-hero-title {
            color: #ffffff;
            font-size: 2.8rem;
            font-weight: 800;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            margin-bottom: 15px;
        }
        
        .icg-hero-subtitle {
            color: rgba(255,255,255,0.95);
            font-size: 1.2rem;
            font-weight: 400;
        }
        
        .icg-rating-badge {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border-radius: 50px;
            padding: 10px 25px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
        }
        
        .icg-rating-badge i {
            color: #ffd700;
        }
        
        .icg-rating-badge span {
            color: #ffffff;
            font-weight: 600;
        }
        
        /* Main Tool Section */
        .icg-main-section {
            padding: 50px 0;
        }
        
        /* Ad Sidebar */
        .icg-ad-sidebar {
            background: #f1efec;
            border: 2px dashed #3e40cc;
            border-radius: 15px;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3e40cc;
            font-weight: 600;
            position: sticky;
            top: 20px;
        }
        
        /* Tool Card */
        .icg-tool-card {
            background: #ffffff;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(62, 64, 204, 0.15);
            padding: 40px;
            border: none;
        }
        
        .icg-tool-header {
            text-align: center;
            margin-bottom: 35px;
        }
        
        .icg-tool-header h2 {
            color: #3e40cc;
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .icg-tool-header p {
            color: #666;
        }
        
        /* Form Styles */
        .icg-form-group {
            margin-bottom: 25px;
        }
        
        .icg-form-label {
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .icg-form-label i {
            color: #fe6963;
        }
        
        .icg-form-control {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f9f9f9;
        }
        
        .icg-form-control:focus {
            border-color: #3e40cc;
            box-shadow: 0 0 0 4px rgba(62, 64, 204, 0.1);
            background: #ffffff;
        }
        
        .icg-form-control::placeholder {
            color: #aaa;
        }
        
        .icg-textarea {
            min-height: 120px;
            resize: vertical;
        }
        
        /* Select Styles */
        .icg-select-wrapper {
            position: relative;
        }
        
        .icg-form-select {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f9f9f9;
            cursor: pointer;
            appearance: none;
        }
        
        .icg-form-select:focus {
            border-color: #3e40cc;
            box-shadow: 0 0 0 4px rgba(62, 64, 204, 0.1);
        }
        
        /* Tone Buttons */
        .icg-tone-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 12px;
        }
        
        .icg-tone-btn {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 12px 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #f9f9f9;
            font-weight: 500;
        }
        
        .icg-tone-btn:hover {
            border-color: #3e40cc;
            background: rgba(62, 64, 204, 0.05);
        }
        
        .icg-tone-btn.active {
            border-color: #3e40cc;
            background: #3e40cc;
            color: #ffffff;
        }
        
        .icg-tone-btn i {
            display: block;
            font-size: 1.5rem;
            margin-bottom: 5px;
        }
        
        /* Generate Button */
        .icg-generate-btn {
            background: linear-gradient(135deg, #3e40cc 0%, #5a5cd6 100%);
            border: none;
            border-radius: 15px;
            padding: 18px 40px;
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .icg-generate-btn:hover {
            background: linear-gradient(135deg, #fe6963 0%, #ff8a85 100%);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(254, 105, 99, 0.4);
        }
        
        .icg-generate-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        
        .icg-generate-btn .spinner-border {
            width: 24px;
            height: 24px;
        }
        
        /* Results Section */
        .icg-results-section {
            display: none;
            margin-top: 40px;
            animation: fadeInUp 0.5s ease;
        }
        
        .icg-results-section.show {
            display: block;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .icg-results-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f1efec;
        }
        
        .icg-results-header h3 {
            color: #3e40cc;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .icg-results-header h3 i {
            color: #fe6963;
        }
        
        /* Caption Card */
        .icg-caption-card {
            background: linear-gradient(135deg, #f8f9ff 0%, #f1efec 100%);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            border-left: 4px solid #3e40cc;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .icg-caption-card:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(62, 64, 204, 0.1);
        }
        
        .icg-caption-card:nth-child(even) {
            border-left-color: #fe6963;
        }
        
        .icg-caption-number {
            position: absolute;
            top: -10px;
            left: -10px;
            width: 35px;
            height: 35px;
            background: #3e40cc;
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.9rem;
        }
        
        .icg-caption-card:nth-child(even) .icg-caption-number {
            background: #fe6963;
        }
        
        .icg-caption-text {
            font-size: 1.05rem;
            line-height: 1.7;
            color: #333;
            margin-bottom: 15px;
        }
        
        .icg-caption-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .icg-action-btn {
            border: none;
            border-radius: 8px;
            padding: 10px 18px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .icg-copy-btn {
            background: #3e40cc;
            color: #ffffff;
        }
        
        .icg-copy-btn:hover {
            background: #2d2f9e;
        }
        
        .icg-copy-btn.copied {
            background: #28a745;
        }
        
        .icg-favorite-btn {
            background: #f1efec;
            color: #fe6963;
            border: 2px solid #fe6963;
        }
        
        .icg-favorite-btn:hover {
            background: #fe6963;
            color: #ffffff;
        }
        
        .icg-share-btn {
            background: #f1efec;
            color: #3e40cc;
            border: 2px solid #3e40cc;
        }
        
        .icg-share-btn:hover {
            background: #3e40cc;
            color: #ffffff;
        }
        
        /* Features Section */
        .icg-features-section {
            padding: 60px 0;
            background: #ffffff;
        }
        
        .icg-section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .icg-section-title h2 {
            color: #3e40cc;
            font-weight: 800;
            font-size: 2.2rem;
            margin-bottom: 15px;
        }
        
        .icg-section-title p {
            color: #666;
            font-size: 1.1rem;
        }
        
        .icg-feature-card {
            background: #f1efec;
            border-radius: 20px;
            padding: 35px 25px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .icg-feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(62, 64, 204, 0.15);
        }
        
        .icg-feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #3e40cc 0%, #fe6963 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .icg-feature-icon i {
            font-size: 2rem;
            color: #ffffff;
        }
        
        .icg-feature-card h4 {
            color: #333;
            font-weight: 700;
            margin-bottom: 12px;
        }
        
        .icg-feature-card p {
            color: #666;
            font-size: 0.95rem;
            margin: 0;
        }
        
        /* How It Works */
        .icg-howto-section {
            padding: 60px 0;
            background: linear-gradient(135deg, #3e40cc 0%, #5a5cd6 100%);
        }
        
        .icg-howto-section .icg-section-title h2,
        .icg-howto-section .icg-section-title p {
            color: #ffffff;
        }
        
        .icg-step-card {
            text-align: center;
            padding: 30px 20px;
        }
        
        .icg-step-number {
            width: 70px;
            height: 70px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.8rem;
            font-weight: 800;
            color: #3e40cc;
        }
        
        .icg-step-card h4 {
            color: #ffffff;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .icg-step-card p {
            color: rgba(255,255,255,0.9);
            margin: 0;
        }
        
        /* Content Section */
        .icg-content-section {
            padding: 60px 0;
            background: #f1efec;
        }
        
        .icg-content-box {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
        }
        
        .icg-content-box h2 {
            color: #3e40cc;
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 1.6rem;
        }
        
        .icg-content-box h3 {
            color: #333;
            font-weight: 600;
            margin: 25px 0 15px;
            font-size: 1.3rem;
        }
        
        .icg-content-box p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 15px;
        }
        
        .icg-content-box ul {
            list-style: none;
            padding: 0;
        }
        
        .icg-content-box ul li {
            padding: 10px 0 10px 30px;
            position: relative;
            color: #555;
        }
        
        .icg-content-box ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #fe6963;
            font-weight: bold;
        }
        
        /* FAQ Section */
        .icg-faq-section {
            padding: 60px 0;
            background: #ffffff;
        }
        
        .icg-accordion-item {
            border: 2px solid #e0e0e0;
            border-radius: 15px !important;
            margin-bottom: 15px;
            overflow: hidden;
        }
        
        .icg-accordion-button {
            background: #f1efec;
            font-weight: 600;
            color: #333;
            padding: 20px 25px;
            border: none;
        }
        
        .icg-accordion-button:not(.collapsed) {
            background: #3e40cc;
            color: #ffffff;
        }
        
        .icg-accordion-button:focus {
            box-shadow: none;
        }
        
        .icg-accordion-body {
            padding: 25px;
            color: #555;
            line-height: 1.8;
        }
        
        /* Popup/Toast Styles */
        .icg-toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }
        
        .icg-toast {
            background: #3e40cc;
            color: #ffffff;
            padding: 15px 25px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 30px rgba(62, 64, 204, 0.4);
            animation: slideIn 0.3s ease;
            margin-bottom: 10px;
        }
        
        .icg-toast.success {
            background: #28a745;
        }
        
        .icg-toast.error {
            background: #fe6963;
        }
        
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        /* Related Tools */
        .icg-related-section {
            padding: 60px 0;
            background: #f1efec;
        }
        
        .icg-related-card {
            background: #ffffff;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            text-decoration: none;
            display: block;
        }
        
        .icg-related-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(62, 64, 204, 0.15);
        }
        
        .icg-related-card i {
            font-size: 2.5rem;
            color: #3e40cc;
            margin-bottom: 15px;
        }
        
        .icg-related-card h5 {
            color: #333;
            font-weight: 600;
            margin: 0;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .icg-ad-sidebar {
                min-height: 250px;
                margin-bottom: 30px;
            }
            
            .icg-hero-title {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .icg-tool-card {
                padding: 25px 20px;
            }
            
            .icg-hero-title {
                font-size: 1.6rem;
            }
            
            .icg-tone-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .icg-caption-actions {
                flex-direction: column;
            }
            
            .icg-action-btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        /* Character Counter */
        .icg-char-counter {
            text-align: right;
            font-size: 0.85rem;
            color: #888;
            margin-top: 5px;
        }
        
        .icg-char-counter.warning {
            color: #fe6963;
        }
        
        /* Hashtag Suggestions */
        .icg-hashtags-box {
            background: #f8f9ff;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .icg-hashtags-box h5 {
            color: #3e40cc;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .icg-hashtag-tag {
            display: inline-block;
            background: #3e40cc;
            color: #ffffff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            margin: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .icg-hashtag-tag:hover {
            background: #fe6963;
        }
        
        /* Loading Animation */
        .icg-loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(62, 64, 204, 0.9);
            z-index: 9998;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        
        .icg-loading-overlay.show {
            display: flex;
        }
        
        .icg-loading-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255,255,255,0.3);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        
        .icg-loading-text {
            color: #ffffff;
            margin-top: 20px;
            font-weight: 600;
        }