/* Gmail Generator Tool Styles */

.gmail-generator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #EEF2FF;
    color: #4f46e5;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-banner {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #e6f3ff;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #2d5a8c;
}

.info-banner svg {
    flex-shrink: 0;
}

.gmail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.gmail-card-header {
    margin-bottom: 1.5rem;
}

.gmail-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.gmail-card-title svg {
    color: #667eea;
}

.email-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input-group {
    display: flex;
    gap: 0.75rem;
}

.email-input-helper {
    margin-top: -6px;
    font-size: 0.875rem;
    color: #718096;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-generate-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-generate-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(102, 126, 234, 0.3);
}

.btn-generate-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.live-preview {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.preview-label {
    font-weight: 600;
    color: #4a5568;
}

.preview-value {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Options Header */
.options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    user-select: none;
}

.options-header:hover {
    opacity: 0.8;
}

.options-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.options-toggle {
    color: #667eea;
    transition: transform 0.3s ease;
}

.options-content {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Option Section */
.option-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.option-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 400;
    color: #2d3748;
    text-transform: none;
    letter-spacing: 0px;
    margin: 0;
}

/* Override for Gmail Generator specific section titles */
.tags-section .section-title,
.slider-control .section-title,
.option-section .section-title {
    font-size: 0.95rem;
    font-weight: 700 !important;
    color: #2d3748;
    text-transform: none !important;
    letter-spacing: 0px !important;
    margin: 0;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.toggle-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #cbd5e0;
    border-radius: 14px;
    transition: 0.3s;
}

.toggle-switch .slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(22px);
}

.toggle-label {
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
}

.option-help {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.5;
    margin: 0;
}

.mode-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.mode-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #4a5568;
}

.mode-option:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.mode-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

/* Slider Control */
.slider-control {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.range-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #cbd5e0 0%, #cbd5e0 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    border: 2px solid white;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    border: 2px solid white;
}

.slider-value {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.slider-hint {
    font-size: 0.8rem;
    color: #718096;
    margin: 0.5rem 0 0 0;
}

/* Tags Section */
.tags-section {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    min-height: 40px;
    align-content: flex-start;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.tag-remove:hover {
    transform: scale(1.2);
}

.tag-input-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.tag-add-btn {
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.plus-options {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dot-limit-control,
.custom-tags-input {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

.dot-limit-control label,
.custom-tags-input label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.limit-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.limit-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.limit-input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.limit-badge {
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    min-width: 55px;
    text-align: center;
    font-size: 0.9rem;
}

.custom-tags-input input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.custom-tags-input input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.help-text {
    font-size: 0.8rem;
    color: #718096;
    margin: 0.5rem 0 0 0;
}

.plus-mode-options {
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

.option-label {
    display: block;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

/* Results Section */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.results-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.results-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    background: #f7fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #667eea;
    color: white;
}

.export-options {
    display: none;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.export-btn {
    padding: 10px 16px;
    border: 2px solid #cbd5e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.export-btn:hover {
    border-color: #667eea;
    background: #f7fafc;
    color: #667eea;
}

/* Results Stats */
.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 8px;
    width: fit-content;
}

.view-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #4a5568;
}

.view-btn.active {
    border-color: #667eea;
    background: white;
    color: #667eea;
}

.view-btn:hover {
    border-color: #667eea;
}

/* Results Display */
.results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.results-list::-webkit-scrollbar {
    width: 8px;
}

.results-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.results-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.results-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f7fafc;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    border-color: #667eea;
    background: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.result-email {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1a202c;
    word-break: break-all;
}

.result-copy-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.result-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Table View */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.results-table-wrapper {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    border-radius: 8px;
}

.results-table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.results-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.results-table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.results-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.results-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
}

.results-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.results-table tr:hover {
    background: #f7fafc;
}

/* Gmail Techniques Section */
.gmail-techniques-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.techniques-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.techniques-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.techniques-subtitle {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.6;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.technique-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #667eea;
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
    border-top-color: #764ba2;
}

.technique-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.technique-icon {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 40px;
    text-align: center;
}

.technique-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.technique-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.technique-text strong {
    color: #667eea;
    font-weight: 600;
}

.technique-uses {
    background: #f7fafc;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.uses-title {
    font-weight: 700;
    color: #2d3748;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem 0;
}

.uses-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.uses-list li {
    color: #4a5568;
    font-size: 0.85rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.uses-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Info Cards */
.info-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.info-card {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #667eea;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
    border-top-color: #764ba2;
}

.info-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.info-card-text {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* How to Use Section */
.how-to-use-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.how-to-header {
    text-align: center;
    margin-bottom: 3rem;
}

.how-to-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-to-subtitle {
    font-size: 1.05rem;
    color: #718096;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.step-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.step-icon {
    font-size: 3rem;
    display: inline-block;
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem 0;
}

.step-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.gmail-faq-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.gmail-faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gmail-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.gmail-faq-container {
    display: grid;
    gap: 1rem;
}

.gmail-faq-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: visible;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gmail-faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.gmail-faq-item.active {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.gmail-faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
}

.gmail-faq-question:hover {
    background: #f8f9ff;
}

.gmail-faq-item.active .gmail-faq-question {
    background: #f8f9ff;
    color: #667eea;
}

.gmail-faq-question-text {
    flex: 1;
    margin-right: 1rem;
    word-wrap: break-word;
    text-align: left;
}

.gmail-faq-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.gmail-faq-item.active .gmail-faq-icon {
    transform: rotate(180deg);
    color: #764ba2;
}

.gmail-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    background: white;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    display: block;
    visibility: hidden;
}

.gmail-faq-item.active .gmail-faq-answer {
    max-height: 500px;
    padding: 1.5rem;
    visibility: visible;
}

.gmail-faq-answer p {
    padding: 0;
    margin: 0;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    word-wrap: break-word;
}

.gmail-faq-answer strong {
    color: #667eea;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gmail-generator-wrapper {
        padding: 15px 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .email-input-group {
        flex-direction: column;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-actions {
        margin-top: 1rem;
    }

    .results-list {
        grid-template-columns: 1fr;
    }

    .gmail-card {
        padding: 1.5rem;
    }

    .info-cards-section {
        grid-template-columns: 1fr;
    }

    .mode-selector {
        grid-template-columns: 1fr;
    }

    .tag-input-group {
        flex-direction: column;
    }

    .tag-input {
        min-width: 100%;
    }

    .slider-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .range-slider {
        width: 100%;
    }

    .slider-value {
        width: 100%;
        text-align: center;
    }
}
