# Session: App Store Redirect & Plan Update (2026-06-26)

All DMG downloads and payment gateway redirects were removed. Every CTA now redirects to a single global App Store URL. Pricing was updated from 3 plans to 2 plans.

---

## Changes Summary

### 1. Global App Store URL

**File:** `lib/site-config.ts`

- **Removed:** `downloadUrl` config (had staging S3 URL + production `/download/VPNSuperFast.dmg`)
- **Added:** `appStoreUrl: "https://bit.ly/vpnsuperfast"`
- **Note:** `ENV` constant still exported but unused — can be removed later if needed

**Previous value:**
```ts
downloadUrl: {
  staging: "https://vpn-blue-for-mac.s3.us-east-2.amazonaws.com/staging/VPNdmg1/VPN.dmg",
  production: "/download/VPNSuperFast.dmg",
},
```

---

### 2. All Download Buttons Redirected

Every button that previously downloaded the DMG now links to `siteConfig.appStoreUrl` with `target="_blank"` and `rel="noopener noreferrer"`.

| File | Button Text | Old href | New href |
|------|------------|----------|----------|
| `components/sections/Header.tsx` | "Download Free" | `siteConfig.downloadUrl[ENV]` | `siteConfig.appStoreUrl` |
| `components/sections/Hero.tsx` | "Download Free for Mac" | `siteConfig.downloadUrl[ENV]` | `siteConfig.appStoreUrl` |
| `components/sections/FinalCTA.tsx` | "Download Free for Mac" | `siteConfig.downloadUrl[ENV]` | `siteConfig.appStoreUrl` |

---

### 3. All "Get Premium" Buttons Redirected

Every button that previously went to Razorpay payment URLs now links to `siteConfig.appStoreUrl`.

| File | Button Text | Old href | New href |
|------|------------|----------|----------|
| `components/sections/Pricing.tsx` | "Get Premium Now" | `selectedPlan.url[ENV]` | `siteConfig.appStoreUrl` |
| `components/sections/FinalCTA.tsx` | "Get Premium Now" | `selectedPlan.url[ENV]` | `siteConfig.appStoreUrl` |

---

### 4. Pricing Plans Updated (3 → 2)

**File:** `lib/constants.ts`

**Removed plan:**
```ts
{
  id: "2year",
  planId: "plan_VPSFProMax2YJ4pRt8",
  name: "2 Years",
  badge: "SAVE 72%",
  savePercent: 72,
  billingText: "$79.99 billed every 2 years",
  pricePerDay: "0.11",
  originalPerDay: "0.40",
  totalPrice: "$79.99",
  cycleName: "24 months",
  url: { staging: "...", production: "..." },
}
```

**Updated plan (Yearly):**
| Field | Old Value | New Value |
|-------|-----------|-----------|
| billingText | "$59.99 billed yearly" | "$69.99 billed yearly" |
| pricePerDay | "0.16" | "0.19" |
| totalPrice | "$59.99" | "$69.99" |
| badge | "SAVE 58%" | "SAVE 51%" |
| savePercent | 58 | 51 |

**Monthly plan:** Unchanged ($11.99)

**Removed `url` field** from both plans (unused — buttons use `siteConfig.appStoreUrl` directly).

---

### 5. TypeScript Type Updated

**File:** `lib/types.ts`

- Removed `"2year"` from `id` union type: `"monthly" | "yearly" | "2year"` → `"monthly" | "yearly"`
- Removed `url` field from `PricingPlan` interface:
  ```ts
  // Removed:
  url: {
    staging: string;
    production: string;
  };
  ```

---

### 6. Analytics Updated

**File:** `app/layout.tsx`

**Removed:**
- `download_click` event listener (matched `/download/VPNSuperFast.dmg` links)
- `begin_checkout` event listener (intercepted `vpnproxymaster.app/web/payment/` links, added gclid/ga_cid params)
- `PRICES` constant (`{ 'month-lite': 11.99, 'year-pro': 59.99, '2year-pro-max': 79.99 }`)

**Added:**
```js
document.addEventListener('click', function (e) {
  var dl = e.target.closest('a[href*="bit.ly/vpnsuperfast"]');
  if (dl) {
    if (typeof gtag === 'function') {
      gtag('event', 'app_store_click', { app: 'mac' });
    }
  }
}, true);
```

---

### 7. Structured Data (JSON-LD) Updated

**File:** `app/layout.tsx`

- `downloadUrl`: `"https://vpnsuperfast.com/download/VPNSuperFast.dmg"` → `"https://bit.ly/vpnsuperfast"`
- Yearly offer price: `"59.99"` → `"69.99"`

---

### 8. Content Text Updates

| File | Old Text | New Text |
|------|----------|----------|
| `components/sections/Hero.tsx` | "Save up to 72% — limited time" | "Save up to 51% — limited time" |
| `components/sections/FreeVsPremium.tsx` | "From $0.11/day (2-yr plan)" | "From $0.19/day (yearly plan)" |
| `lib/constants.ts` (Step 1) | "Click the button. You get a safe, Apple-notarized file (.dmg). No payment." | "Click the button to open the App Store. Download for free — no payment needed." |
| `lib/constants.ts` (Step 2) | "Open the file and drag the app to your Applications folder." | "The app installs automatically from the App Store. Open it from your Applications folder." |
| `lib/constants.ts` (FAQ: "Is the app safe?") | "Yes. The app is signed and notarized by Apple, so Apple has checked it for safety. You download it straight from this website." | "Yes. The app is available on the Mac App Store, reviewed and approved by Apple for safety." |
| `lib/constants.ts` (FAQ: "Is a free VPN safe?") | "VPN SuperFast is Apple-notarized, uses strong encryption..." | "VPN SuperFast is available on the Mac App Store, uses strong encryption..." |
| `app/layout.tsx` (JSON-LD FAQ) | Same two FAQ answers as above | Updated to match constants.ts |
| `components/sections/Pricing.tsx` | "30-day money-back guarantee" + "Not happy? Get a full refund within 30 days." | "Cancel anytime" + "Manage or cancel your subscription anytime from the App Store." |
| `components/sections/FinalCTA.tsx` | "30-day money-back guarantee · cancel anytime" | "Cancel anytime from the App Store" |
| `lib/constants.ts` (FAQ: "How do I cancel?") | "Cancel anytime in one click from your account. Every paid plan also has a 30-day money-back guarantee — contact support for a full refund." | "Cancel anytime from the App Store — go to Settings → Apple ID → Subscriptions and tap Cancel. No questions asked." |
| `lib/constants.ts` (Trust metric) | `{ value: "30 days", label: "Money-back" }` | `{ value: "Cancel", label: "Anytime" }` |
| `app/layout.tsx` (JSON-LD FAQ) | Same cancel/refund FAQ as above | Updated to match constants.ts |

---

### 9. Razorpay / Payment UI Removed

**File:** `components/sections/Pricing.tsx`

**Removed:**
- "Pay securely" heading with "Powered by Razorpay" branding
- Payment method chips (Cards, UPI, Wallets, Net Banking, Visa, Mastercard, RuPay)
- "🔒 Secure payment · SSL encrypted · We never see your card details"
- `paymentMethods` import from constants

**Replaced with:**
- "Available on the Mac App Store" text below the CTA button

**File:** `components/sections/FinalCTA.tsx`

**Removed:**
- "Powered by Razorpay · Cards, UPI, Wallets & Net Banking"

**Replaced with:**
- "Available on the Mac App Store"

---

### 10. Payment Methods Array Removed

**File:** `lib/constants.ts`

**Removed:**
```ts
export const paymentMethods: PaymentMethod[] = [
  { name: "Cards" },
  { name: "UPI" },
  { name: "Wallets" },
  { name: "Net Banking" },
  { name: "Visa" },
  { name: "Mastercard" },
  { name: "RuPay" },
];
```

Also removed `PaymentMethod` from the imports in `constants.ts`.

---

### 11. DMG File Deleted

**Deleted:** `public/download/VPNSuperFast.dmg` and `public/download/` directory

The physical DMG file is no longer served from the website.

---

### 12. public/llms.txt Updated

**Old:**
```
Plans: $11.99/month, $59.99/year, $79.99/2 years.
30-day money-back guarantee. Cancel anytime.
Download: https://vpnsuperfast.com/download/VPNSuperFast.dmg
```

**New:**
```
Plans: $11.99/month, $69.99/year.
Cancel anytime.
App Store: https://bit.ly/vpnsuperfast
```

---

### 13. Unused Imports Cleaned

- Removed `ENV` import from: `Header.tsx`, `Hero.tsx`, `FinalCTA.tsx`, `Pricing.tsx`
- `Pricing.tsx`: Changed `import { ENV } from "@/lib/site-config"` → `import { siteConfig } from "@/lib/site-config"`
- `Pricing.tsx`: Removed `paymentMethods` import from `@/lib/constants`
- `constants.ts`: Removed `PaymentMethod` from type imports

---

### 14. Footer Updates

- **Removed:** Support link (`https://support.vpnproxymaster.app/support/tickets/new`)
- **Removed:** "VPN SuperFast is the macOS app from VPN Proxy Master." line
- **Changed:** Privacy Policy link from `https://vpnproxymaster.app/privacy-policy/` → `/privacy-policy` (local page)
- **Changed:** Terms link from `https://vpnproxymaster.app/terms-of-use/` → `/terms` (local page)

---

### 15. New Pages Created

**Privacy Policy page:** `app/privacy-policy/page.tsx`
- Full privacy policy with no-logs policy, data collection, App Store billing, security, third-party services
- Links to support page for contact
- SEO metadata with canonical URL

**Terms & Conditions page:** `app/terms/page.tsx`
- Full terms with subscription details ($11.99/month, $69.99/year, 3-day free trial)
- Apple auto-renewal disclosure, acceptable use, privacy link, IP, warranties, liability
- SEO metadata with canonical URL

---

### 16. "Get Premium Now →" → "Get it on the Mac App Store"

| File | Old Text | New Text |
|------|----------|----------|
| `components/sections/Pricing.tsx` | "Get Premium Now →" | "Get it on the Mac App Store" |
| `components/sections/FinalCTA.tsx` | "Get Premium Now →" | "Get it on the Mac App Store" |

---

### 17. Server Count: 350+ → 300+

Updated in all locations:

| File | Context |
|------|---------|
| `lib/constants.ts` | premiumFeatures, premiumBenefits, FAQ answers |
| `lib/site-config.ts` | description meta |
| `components/sections/FreeVsPremium.tsx` | comparison table |
| `app/layout.tsx` | twitter card, JSON-LD description, JSON-LD FAQ |
| `public/llms.txt` | premium section |

---

### 18. Apple Subscription Disclosure Added

**File:** `components/sections/Pricing.tsx`

Added below the guarantee card, above the trusted badge:

```
VPN SuperFast Premium is an auto-renewing subscription.
Premium Monthly is $11.99/month and Premium Yearly is $69.99/year,
each with a 3-day free trial. Your subscription renews automatically
unless cancelled at least 24 hours before the end of the current period.
Manage or cancel anytime in your App Store account settings. Any unused
part of a free trial is forfeited when you buy Premium. Payment is
charged to your Apple Account at confirmation. By subscribing you agree
to our Terms and Privacy Policy.
```

Terms and Privacy Policy are linked to `/terms` and `/privacy-policy`.

---

### 19. "VPN Proxy Master" References Removed

| File | What was removed |
|------|-----------------|
| `components/sections/Footer.tsx` | "VPN SuperFast is the macOS app from VPN Proxy Master." |
| `app/layout.tsx` (JSON-LD) | `parentOrganization: { name: "VPN Proxy Master" }` |
| `public/llms.txt` | "from VPN Proxy Master" in description |

---

### 20. 30-Day Money-Back Guarantee Removed

Replaced with "Cancel anytime" messaging (App Store subscriptions don't offer 30-day money-back):

| File | Old Text | New Text |
|------|----------|----------|
| `Pricing.tsx` (guarantee title) | "30-day money-back guarantee" | "Cancel anytime" |
| `Pricing.tsx` (guarantee text) | "Not happy? Get a full refund within 30 days. No questions asked." | "Manage or cancel your subscription anytime from the App Store. No questions asked." |
| `FinalCTA.tsx` (subtitle) | "30-day money-back guarantee · cancel anytime" | "Cancel anytime from the App Store" |
| `constants.ts` (FAQ) | "30-day money-back guarantee — contact support for a full refund" | "Cancel anytime from the App Store — Settings → Apple ID → Subscriptions" |
| `constants.ts` (trust metric) | "30 days / Money-back" | "Cancel / Anytime" |
| `layout.tsx` (JSON-LD) | Same FAQ answer | Updated to match |

---

### 21. App Store Badge (Black SVG) Added

**Badge file:** `public/images/app-store-badge.svg` (copied from Apple's official "Download on the App Store" black SVG)

Added in 3 locations:

| File | Location | Notes |
|------|----------|-------|
| `components/sections/Hero.tsx` | Below "Download Free for Mac" + "See Premium" buttons | White inverted (`brightness-0 invert`) for dark background |
| `components/sections/Pricing.tsx` | Below renewal text in CTA card | Black badge on white background |
| `components/sections/FinalCTA.tsx` | Below renewal text | White inverted for dark background |

Each badge links to `siteConfig.appStoreUrl` with `target="_blank"` and `rel="noopener noreferrer"`.

---

## How to Revert

To restore DMG downloads and payment gateway:
1. Restore `downloadUrl` in `lib/site-config.ts` (add staging + production URLs)
2. Re-add `ENV` import and use `siteConfig.downloadUrl[ENV]` in Header, Hero, FinalCTA
3. Re-add `url` field to `PricingPlan` type and plan data in constants
4. Use `selectedPlan.url[ENV]` in Pricing and FinalCTA for "Get Premium Now" buttons
5. Restore analytics: `download_click` + `begin_checkout` event listeners with PRICES map
6. Re-add 2-year plan to `pricingPlans` array if needed
7. Update structured data `downloadUrl` back to DMG path
8. Re-add `paymentMethods` array to constants and Razorpay UI in Pricing.tsx
9. Restore DMG file to `public/download/VPNSuperFast.dmg`
10. Revert FAQ answers back to "Apple-notarized" / "download straight from this website" language
11. Revert `public/llms.txt` to include 3 plans and DMG download URL

## How to Change the Global URL

Edit **one line** in `lib/site-config.ts`:
```ts
appStoreUrl: "https://bit.ly/vpnsuperfast",  // change this value
```
All buttons across the site will update automatically.
