        /* Reset and Base Styles */
        .container-main * {
            box-sizing: border-box;
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        color: #111827;
        line-height: 1.6;
        padding: 0;
        margin: 0;
        overflow-x: hidden
    }
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 10px;
        box-sizing: border-box;
         font-family: "Work Sans", sans-serif !important;
    }

    nav span{
        font-size: 40px;
    }
    nav a {
        text-decoration: none;
        color: #000;
        font-size: 20px;
    }

    nav a:first-child {
        margin-right: auto; /* Pushes "Join" link to the left */
    }

    nav a:last-child {
        margin-left: auto; /* Pushes "Login" link to the right */
    }

        .container-main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Header Styles */
        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .header h1 {
            
            font-size: 3rem;
            font-weight: 600;
            color: #212121;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        .header p {
            color:#666666;
                font-size: 1.25rem;
                font-weight: 400;
            }


        /* Two Column Layout */
        .generator-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            align-items: start; /* Align items at the top */
        }

        @media (max-width: 900px) {
            .generator-layout {
                grid-template-columns: 1fr;
            }
        }

        /* Main Card */
        .generator-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
            padding: 32px;
            margin-bottom: 24px;
        }

        /* Form Sections */
        .form-section {
            margin-bottom: 28px;
            position: relative;
        }

        .form-section:last-child {
            margin-bottom: 0;
        }

        .form-section-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: #4b5563;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 16px;
        }

        /* Form Controls */
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-group:last-child {
            margin-bottom: 0;
        }

        label {
            display: block;
            font-weight: 500;
            margin-bottom: 6px;
            color: #374151;
            font-size: 0.9375rem;
        }

.container-main input,
.container-main textarea,
.container-main select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.demo-link:hover {
    color: #0056b3;
}

.demo-link svg {
    margin-left: 6px;
    width: 14px;
    height: 14px;
    fill: currentColor;
}


        input:focus, textarea:focus, select:focus {
            border-color: #2563eb;
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        textarea {
            resize: vertical;
            min-height: 80px;
        }

        select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 40px;
        }

        /* Character Counter */
        .char-counter {
            position: absolute;
            right: 10px;
            bottom: 10px;
            font-size: 0.75rem;
            color: #9ca3af;
            background-color: rgba(255, 255, 255, 0.9);
            padding: 2px 6px;
            border-radius: 12px;
            pointer-events: none;
        }

        /* Slider */
        .slider-container {
            padding: 10px 0;
        }


        .slider-values {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: #6b7280;
            margin-top: 8px;
        }

        .slider-value {
            text-align: center;
            padding: 2px 4px;
            border-radius: 4px;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .slider-value.active {
            background-color: #2563eb;
            color: white;
            font-weight: 500;
        }

        .slider-display {
            font-size: 1.125rem;
            font-weight: 600;
            color: #2563eb;
            text-align: center;
            margin-top: 10px;
        }

        /* AI Model Selection */
        .ai-options {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .ai-option {
            flex: 1;
            min-width: 120px;
            position: relative;
        }

        .ai-option input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .ai-option label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 12px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            height: 50px;
            gap: 10px;
        }

        .ai-option label:hover {
            background-color: #f9fafb;
        }

        .ai-option input[type="radio"]:checked + label {
            border-color: #2563eb;
            background-color: rgba(37, 99, 235, 0.05);
        }

        .ai-logo.deepseek {
            width: 110px;
            display: flex;
            align-items: center;
            justify-content: center;
        }


        .ai-logo.google {
            width: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1px;
        }
        .ai-logo.gpt{
             width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .ai-logo {
            height: 30px;
            width: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ai-logo img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .ai-name {
            font-weight: 500;
            font-size: 0.875rem;
            color: #374151;
        }
        .ai-model-title{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .ai-logo-small {
          height: 20px;
          width: 20px;
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain; 
        }

        .ai-logo-small.chatgpt{
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%2310A37F" viewBox="0 0 24 24" role="img"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>');
        }

        .ai-logo-small.deepseek{
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" viewBox="0 0 57.86 43.38"><defs><style>.cls-1{fill:%234d6bfe;}</style></defs><path id="path" class="cls-1" d="M57.26,3.65c-.61-.31-.88.27-1.24.57-.12.09-.22.22-.33.33-.89.98-1.94,1.62-3.31,1.54-1.99-.11-3.7.53-5.21,2.08-.32-1.92-1.39-3.06-3.01-3.8-.85-.38-1.7-.76-2.3-1.59-.41-.6-.53-1.26-.73-1.91-.14-.39-.27-.79-.71-.86-.48-.07-.67.34-.86.68-.75,1.41-1.05,2.96-1.02,4.52.07,3.53,1.53,6.34,4.43,8.34.33.22.42.45.31.79-.19.69-.43,1.35-.64,2.04-.13.44-.33.54-.79.35-1.59-.68-2.97-1.68-4.19-2.9-2.06-2.03-3.93-4.28-6.26-6.04-.54-.41-1.09-.79-1.66-1.15-2.37-2.35.32-4.28.94-4.51.65-.24.22-1.06-1.88-1.06-2.1.01-4.02.73-6.48,1.69-.35.14-.73.25-1.12.33-2.22-.43-4.53-.52-6.95-.25-4.54.52-8.17,2.71-10.84,6.44C.2,13.77-.55,18.88.37,24.2c.97,5.61,3.78,10.25,8.1,13.88,4.48,3.77,9.64,5.61,15.52,5.26,3.58-.21,7.56-.7,12.04-4.57,1.14.57,2.32.8,4.29.98,1.52.14,2.98-.08,4.12-.32,1.77-.38,1.65-2.05,1-2.36-5.19-2.46-4.05-1.46-5.09-2.27,2.64-3.19,6.62-6.49,8.18-17.2.12-.85.02-1.39,0-2.08-.01-.42.08-.58.55-.63,1.31-.15,2.57-.51,3.73-1.16,3.36-1.88,4.72-4.95,5.04-8.64.05-.57,0-1.15-.59-1.44ZM27.92,36.84c-5.03-4.03-7.47-5.36-8.48-5.3-.94.06-.78,1.15-.57,1.87.22.71.5,1.2.9,1.82.27.41.46,1.02-.28,1.48-1.62,1.02-4.44-.35-4.57-.41-3.28-1.97-6.02-4.57-7.96-8.13-1.86-3.42-2.95-7.09-3.13-11-.04-.95.23-1.28,1.15-1.46,1.22-.22,2.47-.27,3.69-.09,5.14.76,9.51,3.1,13.18,6.81,2.1,2.11,3.68,4.64,5.31,7.1,1.74,2.62,3.6,5.11,5.98,7.16.84.72,1.51,1.26,2.15,1.66-1.93.22-5.16.27-7.37-1.51ZM30.34,21.03c0-.42.33-.76.74-.76.1,0,.18.02.26.05.1.04.2.1.27.18.13.14.21.33.21.53,0,.42-.33.75-.75.75s-.73-.33-.73-.75ZM37.83,24.94c-.48.21-.96.38-1.42.4-.72.03-1.5-.26-1.92-.62-.66-.57-1.13-.88-1.33-1.87-.09-.42-.04-1.07.04-1.44.17-.8-.02-1.32-.58-1.79-.45-.38-1.03-.49-1.66-.49-.23,0-.45-.1-.61-.19-.27-.13-.48-.46-.28-.88.07-.13.39-.45.47-.51.85-.5,1.84-.34,2.76.04.85.35,1.49,1,2.41,1.92.95,1.11,1.12,1.41,1.65,2.24.43.65.81,1.32,1.08,2.09.16.47-.05.87-.61,1.1Z"/></svg>');
        }

        .ai-logo-small.gemini{
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="%234285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="%2334A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="%23FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="%23EA4335"/><path d="M1 1h22v22H1z" fill="none"/></svg>');
        }


        /* Expandable Section */
        .expandable-header {
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
        }

        .expandable-header h3 {
            font-size: 0.9375rem;
            font-weight: 500;
            color: #4b5563;
        }

        .expandable-icon {
            transition: transform 0.3s ease;
        }

        .expandable-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .expandable.open .expandable-icon {
            transform: rotate(180deg);
        }

        .expandable.open .expandable-content {
            max-height: 500px;
        }

        /* Button */
        .button {
            background-color: #2563eb;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 14px 24px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
        }

        .button:hover {
            background-color: #1d4ed8;
        }

        .button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
        }

        .button svg {
            width: 20px;
            height: 20px;
        }

        .button-loading {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .spinner {
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top: 2px solid white;
            width: 16px;
            height: 16px;
            animation: spin 1s linear infinite;
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

.ai-text-loader {
    display: flex;
    align-items: baseline;
    gap: 4px;
    background: linear-gradient(90deg, #6b7280 0%, #7c3aed 50%, #6b7280 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai-shimmer 3s infinite;
    position: absolute;
    top: 20px;
}
.ai-generating-text {
    font-size: 16px;
    letter-spacing: 1px;
}
.ai-loading-dots {
    display: flex;
    gap: 3px;
    align-items: flex-end;
}
.ai-loading-dot {
    width: 3px;
    height: 3px;
    background: linear-gradient(90deg, #6b7280 0%, #7c3aed 50%, #6b7280 100%);
    background-size: 200% 100%;
    border-radius: 50%;
    animation: ai-typing 1.4s infinite ease-in-out, ai-shimmer 3s infinite;
}
.ai-loading-dot:nth-child(1) { animation-delay: 0s; }
.ai-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes ai-typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}


        /* Result Section */
        .result-card {

            height: 90%;
            display: flex;
            flex-direction: column;
            position: relative;

        }

        .result-card:has(#resultPlaceholder:not([style*="display: none"])) {
          gap: 15vh;
        }

        .result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 24px;
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
            top: 10px;
            background-color: white;
            z-index: 10;
            border-top-right-radius: 15px;
            border-top-left-radius: 15px;
            border-radius: 12px;
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
        }

        .result-title {
            font-weight: 600;
            font-size: 1.125rem;
            color: #111827;
        }

        .result-actions {
            display: flex;
            gap: 8px;
        }

        .result-button {
            background-color: transparent;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 0.75rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            color: #4b5563;
            transition: all 0.2s ease;
        }

        .result-button:hover {
            background-color: #f9fafb;
            color: #111827;
        }

        .result-button svg {
            width: 14px;
            height: 14px;
        }

    .result-content {
        flex: 1;
        padding: 24px;
        font-size: 0.9375rem;
        line-height: 1.6;
        white-space: pre-line;
        overflow-y: auto;
    }

    .email-editor{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        background-color: white;
        width: 100%;
        position: sticky;
        top: 63px;
        min-height: 300px;
        padding: 16px;
        outline: none;
        white-space: pre-wrap;
        overflow-y: auto;
        line-height: 1.5;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    }



        .result-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            color: #6b7280;
            padding: 20px;
            background-color: white;
            width: 100%;
            position: sticky;
            top: calc(50% - 100px); /* Just below the header */
            z-index: 5;
        }

        .result-placeholder svg {
            width: 48px;
            height: 48px;
            margin-bottom: 16px;
            color: #9ca3af;
        }

        .result-placeholder h3 {
            font-weight: 600;
            font-size: 1.125rem;
            margin-bottom: 8px;
            color: #4b5563;
        }

        .result-placeholder p {
            font-size: 0.875rem;
            max-width: 80%;
            margin: 0 auto;
        }



/* Tone Selection Styles */
.tone-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  position: relative;
}

.tone-option {
  flex: 1;
  min-width: 0px;
  max-width: calc(25% - 8px);
  position: relative;
}

.tone-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tone-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  height: 74px;
  gap: 6px;
}

.tone-option label:hover {
  background-color: #f9fafb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tone-option input[type="radio"]:checked + label {
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tone-emoji {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.tone-name {
  font-weight: 500;
  font-size: 0.75rem;
  color: #374151;
}

/* Make sure the "Show more" button takes full width */
.tone-more-btn {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tone-more-btn:hover {
  background-color: #f9fafb;
  color: #2563eb;
}

.tone-more-btn .expand-icon {
  transition: transform 0.3s ease;
}

.tone-more-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

.tone-more-btn .less-text {
  display: none;
}

.tone-more-btn.expanded .more-text {
  display: none;
}

.tone-more-btn.expanded .less-text {
  display: inline;
}

/* Additional tones layout */
.additional-tones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.additional-tones.expanded {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

.additional-tones .tone-option {
  flex: 1;
  min-width: 90px;
  max-width: calc(25% - 8px);
}

/* Tone intensity slider */
.tone-intensity {
  margin-top: 16px;
  padding: 0 2px;
}

.tone-intensity-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.tone-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #dbeafe, #2563eb);
  outline: none;
  margin: 10px 0;
  padding: 0 !important;
  border: none !important;
}

.tone-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  transition: background 0.15s ease;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tone-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  transition: background 0.15s ease;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tone-slider:hover::-webkit-slider-thumb,
.tone-slider:hover::-moz-range-thumb {
  background: #1d4ed8;
  transform: scale(1.1);
}

.additional-faq{
    display: none;
}
.faq-toggle-btn {
    display: block;
    margin: 30px auto 15px;
    background-color: transparent;
    color: #999999;
    border: 1px solid #d1daf0;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.faq-toggle-btn:hover {
    background-color: #f7f9ff;
    border-color: #c0ceeb;
    color: #5271ff;
}

.faq-toggle-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
}

.faq-toggle-btn::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236986da' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.faq-toggle-btn.expanded::after {
    transform: rotate(180deg);
}


/* Plans Section */
.features-container {
  position: relative;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-color: #bae6fd;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #1d1d1f 0, #515154 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card p {
  color: #86868b;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.dots-container {
  display: none;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
.features-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d7;
  cursor: pointer;
  transition: all 0.3s ease;
}
.features-dot.active {
  background: #007aff;
  transform: scale(1.2);
}
.pricing-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.pricing-section {
background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    width: 100%;
    margin: 0;
    padding: 2rem 1.5rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
} 
.pricing-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin-bottom: 1rem;
}
.pricing-header p {
  font-size: 1.25rem;
  color: #86868b;
  font-weight: 400;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff 0, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s ease, border-width 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}
.pricing-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
}
.hiaipro {
  font-family: "Work Sans", sans-serif;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  text-align: center;
}
.hiaipro::after {
  content: "ai";
  position: absolute;
  transform: translateX(10px);
}
.selected-card {
  border-color: #007aff;
  border-width: 2px;
}
.savings-badge {
  position: absolute;
  top: -18.5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #007aff 0, #0056d6 100%);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}
.savings-icon {
  width: 16px;
  height: 16px;
}
.card-header {
  text-align: center;
  margin-bottom: 0;
  padding-top: 1rem;
}
.plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0;
}
.savings-text {
  color: #007aff;
  font-weight: 600;
  font-size: 0.875rem;
}
.price-section {
  text-align: center;
  margin-bottom: 2rem;
}
.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}
.price-period {
  font-size: 1.125rem;
  color: #86868b;
  margin-left: 0.25rem;
}
.pricing-dots-container {
  display: none;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.5rem;
}
.pricing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d7;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pricing-dot.active {
  background: #007aff;
  transform: scale(1.2);
}
.price-note {
  color: #86868b;
  font-size: 0.875rem;
}
.features-list {
  margin-bottom: 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #1d1d1f;
}
.feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 12px;
  height: 12px;
  color: #059669;
  stroke-width: 3;
}
.premium-feature .feature-icon {
  background: rgba(0, 122, 255, 0.1);
}
.premium-feature .feature-icon svg {
  color: #007aff;
}
.premium-feature {
  color: #007aff;
  font-weight: 500;
}
.cta-button {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  margin-top: auto;
}
.secondary-button {
  background: #fff;
  color: #007aff;
  border: 2px solid #007aff;
}
.secondary-button:hover {
  background: #007aff;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}
.primary-button {
  background: linear-gradient(135deg, #007aff 0, #0056d6 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.25);
}
.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}
.trust-indicators {
  text-align: center;
  margin-top: 3rem;
}
.trust-indicators p {
  color: #86868b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 1050px) {
  .dots-container {
    display: flex;
  }
}
@media (min-width: 768px) {
  .pricing-grid {
    transition: none !important;
  }
}
@media (max-width: 768px) {
  .feature-card {
    padding: 1.25rem;
  }
  .pricing-section {
    padding: 2rem 0;
  }
  .pricing-card {
    padding: 1.5rem;
  }
  .price-amount {
    font-size: 2.5rem;
  }
  .pricing-section {
    overflow: hidden;
  }
  .pricing-grid {
    display: flex;
    width: 200%;
    max-width: none;
    transform: translateX(-50%);
    gap: 0;
    transition: transform 0.3s ease-in-out;
  }
  .features-list {
    width: fit-content;
    margin: auto;
  }
  .feature-item {
    margin-left: calc(-20.4px - 0.75rem);
    justify-content: center;
  }
  .price-section {
    margin-bottom: 1rem;
  }
  .pricing-card {
    width: 45%;
    margin: 0 2.5%;
    flex-shrink: 0;
  }
  .pricing-header {
    margin-bottom: 2rem;
  }
  .pricing-dots-container {
    display: flex;
  }
}


@media (max-width: 600px) {
    .pro-service-promo h2 {
        font-size: 24px;
    }
    
    .pro-service-promo p {
        font-size: 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .tone-option,
  .additional-tones .tone-option {
    min-width: calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
  }
    .badge, .feature-pills{
        display: none !important;
    }
}

@media (max-width: 500px) {
    .header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
        font-weight: 500;
    }
}
@media (max-width: 420px) {
    .header h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .generator-card{
        padding: 25px 10px;
    }
}
@media (max-width: 400px) {
  .tone-option,
  .additional-tones .tone-option {
    min-width: calc(50% - 5px);
    max-width: calc(50% - 5px);
  }
    .feature-item {
        margin-left: 0;
    }
}

.seo-content-wrapper {
  max-width: 1200px;
  margin: 60px auto 0px auto;
  padding: 0 20px;
  color: #374151;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.seo-content-wrapper h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 16px;
}

.subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 36px;
  font-size: 1.1rem;
}

/* Feature Cards */
.feature-section {
  margin-bottom: 60px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
    position: relative;
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon-generator {
    position: absolute;
    left: 10px;
    top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background-color: #EBF5FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.5;
}

/* AI Comparison */
.ai-comparison-section {
  margin-bottom: 60px;
  padding: 40px 0;
  background-color: #F9FAFB;
  border-radius: 16px;
}

.ai-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 24px;
}

.ai-comparison-grid .ai-model {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.ai-comparison-grid .ai-model:hover {
  transform: translateY(-3px);
}


.ai-strengths {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.strength-tag {
  background-color: #E0F2FE;
  color: #0369A1;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
}

.ai-model h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.ai-model p {
  color: #6b7280;
  line-height: 1.5;
  font-size: 0.9375rem;
}

/* Use Cases */
.use-cases-section {
  margin-bottom: 60px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.use-case {
  padding: 20px;
    text-align: center;
  border-radius: 0 8px 8px 0;
}

.use-case h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.use-case p {
  color: #6b7280;
  line-height: 1.5;
  font-size: 0.9375rem;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-item {
  padding: 20px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #2563EB;
}

.faq-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.faq-item p {
  color: #6b7280;
  line-height: 1.5;
  font-size: 0.9375rem;
}


.limit-message{
    text-align: center;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .seo-content-wrapper h2 {
    font-size: 1.5rem;
  }
  
  .feature-cards, 
  .ai-comparison-grid, 
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}