/* === Responsive Fixes === */
/* Import Rubik font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');


/* 1) Box-sizing reset — required for predictable widths */
html { box-sizing: border-box; max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: inherit; }

/* 3) Make the platform grid flexible on small screens */
.platform-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (max-width: 480px) {
  .platform-grid { grid-template-columns: 1fr; padding-left: 12px; padding-right: 12px; }
  .platform-card { padding: 12px; box-sizing: border-box; }
}

/* 4) Allow flex children to shrink so they don't force overflow */
.options-container .custom-size-section,
.options-container .quality-section,
.contact-content > .contact-form,
.contact-content > .contact-info {
  min-width: 0;
}

/* 5) Extra safety — prevent any accidental horizontal overflow */
html, body { max-width: 100%; overflow-x: hidden; }






:root {
    /* Primitive Color Tokens */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-cream-50: #ffffff;
    --color-cream-100: #ffffff;
    --color-gray-200: #000000;
    --color-gray-300: #000000;
    --color-gray-400: #000000;
    --color-slate-500: #000000;
    --color-brown-600: #000000;
    --color-charcoal-700: #000000;
    --color-charcoal-800: #000000;
    --color-slate-900: #000000;
    --color-teal-300: #32b8c6;
    --color-teal-400: #32b8c6;
    --color-teal-500: #32b8c6;
    --color-teal-600: #32b8c6;
    --color-teal-700: #32b8c6;
    --color-teal-800: #32b8c6;
    --color-red-400: #32b8c6;
    --color-red-500: #32b8c6;
    --color-orange-400: #32b8c6;
    --color-orange-500: #32b8c6;

    /* RGB versions for opacity control */
    --color-brown-600-rgb: 0, 0, 0;
    --color-teal-500-rgb: 50, 184, 198;
    --color-slate-900-rgb: 0, 0, 0;
    --color-slate-500-rgb: 0, 0, 0;
    --color-red-500-rgb: 50, 184, 198;
    --color-red-400-rgb: 50, 184, 198;
    --color-orange-500-rgb: 50, 184, 198;
    --color-orange-400-rgb: 50, 184, 198;

    /* Background color tokens (Light Mode) */
    --color-bg-1: #ffffff;
    --color-bg-2: #ffffff;
    --color-bg-3: #ffffff;
    --color-bg-4: #ffffff;
    --color-bg-5: #ffffff;
    --color-bg-6: #ffffff;
    --color-bg-7: #ffffff;
    --color-bg-8: #ffffff;

    /* Semantic Color Tokens (Light Mode) */
    --color-background: #ffffff;
    --color-surface: #ffffff;
    --color-text: #000000;
    --color-text-secondary: #000000;
    --color-primary: #32b8c6;
    --color-primary-hover: #32b8c6;
    --color-primary-active: #32b8c6;
    --color-secondary: rgba(0, 0, 0, 0.12);
    --color-secondary-hover: rgba(0, 0, 0, 0.2);
    --color-secondary-active: rgba(0, 0, 0, 0.25);
    --color-border: rgba(0, 0, 0, 0.2);
    --color-btn-primary-text: #ffffff;
    --color-card-border: rgba(0, 0, 0, 0.12);
    --color-card-border-inner: rgba(0, 0, 0, 0.12);
    --color-error: #32b8c6;
    --color-success: #32b8c6;
    --color-warning: #32b8c6;
    --color-info: #32b8c6;
    --color-focus-ring: rgba(50, 184, 198, 0.4);
    --color-select-caret: rgba(0, 0, 0, 0.8);

    /* Common style patterns */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;

    --select-caret-light: 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='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: 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='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for opacity control */
    --color-success-rgb: 50, 184, 198;
    --color-error-rgb: 50, 184, 198;
    --color-warning-rgb: 50, 184, 198;
    --color-info-rgb: 50, 184, 198;

    /* Typography */
    --font-family-base: 'Rubik', sans-serif;
    --font-family-mono: 'Rubik', sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 30px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 550;
    --font-weight-bold: 600;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --letter-spacing-tight: -0.01em;

    /* Spacing */
    --space-0: 0;
    --space-1: 1px;
    --space-2: 2px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-base: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.03);

    /* Animation */
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}


/* Base styles */

html {
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
   
    
    
}

body {
    margin: 0;
    padding: 0;  
     width: 100%; 
     overflow-x: hidden;
    

}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-text);
    letter-spacing: var(--letter-spacing-tight);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-md);
}

p {
    margin: 0 0 var(--space-16) 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
    color: var(--color-primary-hover);
}

code,
pre {
    font-family: var(--font-family-mono);
    font-size: calc(var(--font-size-base) * 0.95);
    background-color: var(--color-secondary);
    border-radius: var(--radius-sm);
}

code {
    padding: var(--space-1) var(--space-4);
}

pre {
    padding: var(--space-16);
    margin: var(--space-16) 0;
    overflow: auto;
    border: 1px solid var(--color-border);
}

pre code {
    background: none;
    padding: 0;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-standard);
    border: none;
    text-decoration: none;
    position: relative;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-btn-primary-text);
}

.btn--primary:hover {
    background: var(--color-primary-hover);
}

.btn--primary:active {
    background: var(--color-primary-active);
}

.btn--secondary {
    background: var(--color-secondary);
    color: var(--color-text);
}

.btn--secondary:hover {
    background: var(--color-secondary-hover);
}

.btn--secondary:active {
    background: var(--color-secondary-active);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn--outline:hover {
    background: var(--color-secondary);
}

.btn--sm {
    padding: var(--space-4) var(--space-12);
    font-size: var(--font-size-sm);
    border-radius: var(--radius-sm);
}

.btn--lg {
    padding: var(--space-10) var(--space-20);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-md);
}

.btn--full-width {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form elements */

.form-control {
    display: block;
    width: 100%;
    padding: var(--space-8) var(--space-12);
    font-size: var(--font-size-md);
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
}

select.form-control {
    padding: var(--space-8) var(--space-12);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--select-caret-light);
    background-repeat: no-repeat;
    background-position: right var(--space-12) center;
    background-size: 16px;
    padding-right: var(--space-32);
}

/* Add a dark mode specific caret */

@media (prefers-color-scheme: dark) {
    select.form-control {
        background-image: var(--select-caret-dark);
    }
}

/* Also handle data-color-scheme */

[data-color-scheme="dark"] select.form-control {
    background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
    background-image: var(--select-caret-light);
}

.form-control:focus {
    border-color: var(--color-primary);
    outline: var(--focus-outline);
}

.form-label {
    display: block;
    margin-bottom: var(--space-8);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.form-group {
    margin-bottom: var(--space-16);
}

/* Card component */

.card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card__body {
    padding: var(--space-16);
}

.card__header,
.card__footer {
    padding: var(--space-16);
    border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */

.status {
    display: inline-flex;
    align-items: center;
    padding: var(--space-6) var(--space-12);
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.status--success {
    background-color: rgba( var(--color-success-rgb, 33, 128, 141), var(--status-bg-opacity));
    color: var(--color-success);
    border: 1px solid rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
    background-color: rgba( var(--color-error-rgb, 192, 21, 47), var(--status-bg-opacity));
    color: var(--color-error);
    border: 1px solid rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
    background-color: rgba( var(--color-warning-rgb, 168, 75, 47), var(--status-bg-opacity));
    color: var(--color-warning);
    border: 1px solid rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
    background-color: rgba( var(--color-info-rgb, 98, 108, 113), var(--status-bg-opacity));
    color: var(--color-info);
    border: 1px solid rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-16);
    padding-left: var(--space-16);
}

@media (min-width: 640px) {
    .container {
        max-width: var(--container-sm);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: var(--container-md);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-lg);
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: var(--container-xl);
    }
}

/* Utility classes */

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: var(--space-4);
}

.gap-8 {
    gap: var(--space-8);
}

.gap-16 {
    gap: var(--space-16);
}

.m-0 {
    margin: 0;
}

.mt-8 {
    margin-top: var(--space-8);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mx-8 {
    margin-left: var(--space-8);
    margin-right: var(--space-8);
}

.my-8 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
}

.p-0 {
    padding: 0;
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.px-8 {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.py-16 {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.px-16 {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
}

.block {
    display: block;
}

.hidden {
    display: none;
}

/* Accessibility */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Dark mode specifics */

[data-color-scheme="dark"] .btn--outline {
    border: 1px solid var(--color-border-secondary);
}

@font-face {
    font-family: 'Rubik', sans-serif;
    src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2') format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */

/* Page Layout */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}





/* AdSense Integration */

.ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    margin: var(--space-16) 0;
}

.header-ad,
.footer-ad {
    min-height: 90px;
    margin: var(--space-8) 0;
}

.sidebar-ad {
    min-height: 250px;
    margin-bottom: var(--space-20);
    position: sticky;
    top: var(--space-20);
}

.content-ad {
    min-height: 120px;
    margin: var(--space-32) 0;
}

.ad-placeholder {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    text-align: center;
    padding: var(--space-16);
    background: var(--color-bg-1);
    border-radius: var(--radius-sm);
    border: 2px dashed var(--color-border);
}

/* Purple Header */

.main-header {
    background: linear-gradient(135deg, #8C85FF 0%, #7C3AED 50%, #6D28D9 100%);
    color: var(--color-white);
    padding: var(--space-24) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-20);
    position: relative;
    z-index: 1;
}

.logo-section {
    flex-shrink: 0;
}

.header-logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-text {
    flex: 1;
}

.header-text h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-8);
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: var(--font-weight-normal);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-nav {
    display: flex;
    gap: var(--space-24);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all var(--duration-fast) var(--ease-standard);
    padding: var(--space-8) var(--space-16);
    border-radius: var(--radius-base);
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-32) 0;
}

/* Hero Section */

.hero-section {
    text-align: center;
    margin-bottom: var(--space-32);
    padding: var(--space-32) 0;
    background: var(--color-bg-1);
    border-radius: var(--radius-lg);
}

.hero-section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-16);
    color: var(--color-text);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-normal);
}

/* Upload Section */

.upload-section {
    margin-bottom: var(--space-32);
}

.upload-area {
    position: relative;
    border: 3px dashed var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-32);
    text-align: center;
    background-color: var(--color-surface);
    transition: all var(--duration-normal) var(--ease-standard);
    cursor: pointer;
}

.upload-area:hover {
    border-color: #8C85FF;
    background-color: var(--color-bg-1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.upload-area.dragover {
    border-color: #8C85FF;
    background-color: var(--color-bg-1);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    width: 56px;
    height: 56px;
    color: var(--color-text-secondary);
    margin: 0 auto var(--space-20) auto;
}

.upload-text {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-12);
}

.upload-primary {
    color: #8C85FF;
    font-weight: var(--font-weight-semibold);
}

.upload-secondary {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    margin: 0;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Image Preview */

.image-preview {
    display: flex;
    align-items: center;
    gap: var(--space-24);
    padding: var(--space-24);
    background-color: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    margin-top: var(--space-24);
    box-shadow: var(--shadow-sm);
}

.image-preview img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
}

.preview-info {
    flex: 1;
}

.preview-info p {
    margin-bottom: var(--space-16);
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
}

/* Platform Selection */

.platform-selection {
    margin-bottom: var(--space-32);
}

.platform-selection h2 {
    margin-bottom: var(--space-12);
    text-align: center;
    font-size: var(--font-size-3xl);
    color: #000000;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-32);
    font-size: var(--font-size-lg);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-20);
    margin-bottom: var(--space-32);
}

.platform-option {
    cursor: pointer;
}

.platform-option input[type="checkbox"] {
    display: none;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: var(--space-20);
    padding: var(--space-20);
    background-color: var(--color-surface);
    border: 2px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-standard);
    height: 80px;
}

.platform-card:hover {
    border-color: #8C85FF;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.platform-option input[type="checkbox"]:checked+.platform-card {
    border-color: #8C85FF;
    background-color: var(--color-bg-1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Enhanced Social Media Platform Icons */

.platform-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    position: relative;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

/* Facebook - Blue gradient */

.facebook-icon {
    background: linear-gradient(135deg, #1877F2 0%, #4267B2 100%);
    border-radius: var(--radius-full);
}

/* Instagram - Multi-color gradient */

.instagram-icon {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    border-radius: var(--radius-md);
}

/* YouTube - Red gradient */

.youtube-icon {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: var(--radius-sm);
}

.youtube-banner-icon {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: var(--radius-sm);
}

/* LinkedIn - Blue gradient */

.linkedin-icon {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
    border-radius: var(--radius-base);
}

/* Twitter/X - Black with silver accent */

.twitter-icon {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: var(--radius-base);
    border: 1px solid #333;
}

/* WhatsApp - Green gradient */

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: var(--radius-full);
}

/* Pinterest - Red gradient */

.pinterest-icon {
    background: linear-gradient(135deg, #E60023 0%, #BD001F 100%);
    border-radius: var(--radius-full);
}

/* TikTok - Black with neon effect */

.tiktok-icon {
    background: #000000;
    border-radius: var(--radius-base);
    position: relative;
    overflow: hidden;
}

.tiktok-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0050, #00f2ea, #ff0050);
    border-radius: var(--radius-base);
    z-index: -1;
    animation: tiktok-glow 3s linear infinite;
}

@keyframes tiktok-glow {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Snapchat - Yellow with shadow */

.snapchat-icon {
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    border-radius: var(--radius-full);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 252, 0, 0.3);
}

/* Discord - Purple gradient */

.discord-icon {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    border-radius: var(--radius-base);
}

/* Telegram - Blue gradient */

.telegram-icon {
    background: linear-gradient(135deg, #0088CC 0%, #006699 100%);
    border-radius: var(--radius-full);
}

.platform-details {
    flex: 1;
}

.platform-details h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
    font-weight: var(--font-weight-semibold);
}

.platform-size {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Custom Size Section */

.custom-size-section {
    background-color: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    margin-bottom: var(--space-24);
}

.custom-size-section h3 {
    margin-bottom: var(--space-8);
    text-align: center;
    font-size: var(--font-size-xl);
}

.custom-size-description {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-20);
    font-size: var(--font-size-md);
}

.custom-size-inputs {
    display: flex;
    align-items: end;
    gap: var(--space-20);
    max-width: 400px;
    margin: 0 auto;
}

.custom-size-inputs .form-group {
    flex: 1;
    margin-bottom: 0;
}

.custom-size-separator {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-secondary);
    padding-bottom: var(--space-8);
    user-select: none;
}

/* Quality Control */

.quality-section {
    background-color: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    margin-bottom: var(--space-24);
}

.quality-section h3 {
    margin-bottom: var(--space-16);
    text-align: center;
    font-size: var(--font-size-xl);
}

.quality-control {
    max-width: 400px;
    margin: 0 auto;
}

.quality-slider {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--color-secondary);
    outline: none;
    margin: var(--space-12) 0;
    -webkit-appearance: none;
}

.quality-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: #8C85FF;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.quality-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: #8C85FF;
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
}

.quality-hints {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* Progress Section */

.progress-section {
    margin-bottom: var(--space-32);
    text-align: center;
}

.progress-container {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-24);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-card-border);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-20);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8C85FF 0%, #A855F7 100%);
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-standard);
    width: 0%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(255, 255, 255, 0.2) 100%);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    color: var(--color-text);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    margin: 0;
}

/* Results Section */

.results-section {
    margin-bottom: var(--space-32);
}

.results-section h2 {
    text-align: center;
    margin-bottom: var(--space-24);
    font-size: var(--font-size-3xl);
}

.results-actions {
    display: flex;
    gap: var(--space-16);
    justify-content: center;
    margin-bottom: var(--space-32);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: var(--space-24);
    margin-bottom: var(--space-32);
}

.result-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-20);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-standard);
}

.result-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.result-preview {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    margin: 0 auto var(--space-16) auto;
    display: block;
    box-shadow: var(--shadow-sm);
}

.result-info h4 {
    margin-bottom: var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
}

.result-info p {
    margin-bottom: var(--space-16);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* Sidebar */

.sidebar {
    max-width: 320px;
}

.sidebar-content {
    background-color: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-20);
    height: fit-content;
    margin-bottom: 50px;
}

.sidebar-content h3 {
    margin-bottom: var(--space-16);
    font-size: var(--font-size-lg);
}

.size-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.size-list li {
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

.size-list li:last-child {
    border-bottom: none;
}

/* Information Sections */

.info-section {
    margin-bottom: var(--space-32);
    padding: var(--space-32);
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-card-border);
}

.info-section h2 {
    margin-bottom: var(--space-20);
    font-size: var(--font-size-3xl);
    text-align: center;
}

.info-section h3 {
    margin-bottom: var(--space-16);
    font-size: var(--font-size-xl);
    color: var(--color-text);
}

.info-content p {
    margin-bottom: var(--space-16);
    font-size: var(--font-size-md);
    line-height: var(--line-height-normal);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-20) 0;
}

.feature-list li {
    padding: var(--space-8) 0;
    font-size: var(--font-size-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-8);
}

/* Features Grid */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-24);
    margin-top: var(--space-24);
}

.feature-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-standard);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-16);
    display: block;
}

.feature-card h3 {
    margin-bottom: var(--space-12);
    font-size: var(--font-size-lg);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    margin: 0;
}

/* FAQ Section */

.faq-list {
    margin-top: var(--space-24);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-20) 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: var(--space-12);
    color: var(--color-text);
    font-size: var(--font-size-lg);
}

.faq-item p {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: var(--font-size-md);
}

/* Contact Section */

.contact-content {
    margin-top: var(--space-24);
}

.contact-info {
    padding: var(--space-20);
    border-radius: var(--radius-base);
    margin-bottom: var(--space-24);
    border: 1px solid rgb(62, 62, 62);
}

.contact-form {
    max-width: 500px;
}

/* Footer */

.main-footer {
    background-color: #000000; /* black background */
    color: #ffffff; /* white text */
    padding: var(--space-32) 0 var(--space-24) 0;
    margin-top: auto;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-32);
    margin-bottom: var(--space-24);
}

.footer-section h4 {
    color: #fff; /* light blue headings */
    margin-bottom: var(--space-12);
    font-size: var(--font-size-lg);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-8);
}

.footer-section a {
    color: #fff; /* lighter light blue for links */
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-section a:hover {
    color: #fff; /* light blue on hover */
}

.footer-section2 h4 {
    color: #fff; /* light blue headings */
    margin-bottom: var(--space-12);
    font-size: var(--font-size-lg);
}

.footer-section2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section2 ul li {
    margin-bottom: var(--space-8);
}

.footer-section2 a {
    color: #fff; /* light blue links */
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--duration-fast) var(--ease-standard);
}

.footer-section2 a:hover {
    color: #fff; /* lighter light blue on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(50, 184, 198, 0.3); /* translucent light blue border */
    padding-top: var(--space-20);
    text-align: left;
}

.footer-tagline {
    font-size: var(--font-size-lg);
    color: #fff; /* lighter light blue */
    margin-bottom: var(--space-8);
    font-style: italic;
}

.copyright {
    font-size: var(--font-size-sm);
    color: #fff; /* muted gray/blue for less emphasis */
    margin: 0;
}

/* Modals */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-20);
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modal-header {
    padding: var(--space-20) var(--space-24);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    margin: 0;
    font-size: var(--font-size-xl);
}

.modal-close {
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: var(--space-4);
    transition: color var(--duration-fast) var(--ease-standard);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-body {
    padding: var(--space-24);
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.modal-body h3 {
    margin-top: var(--space-20);
    margin-bottom: var(--space-12);
    font-size: var(--font-size-lg);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: var(--space-12);
    line-height: var(--line-height-normal);
}

/* Error Messages */

.error-message {
    position: fixed;
    top: var(--space-20);
    right: var(--space-20);
    max-width: 400px;
    z-index: 1100;
}

.error-content {
    background-color: var(--color-error);
    color: var(--color-white);
    padding: var(--space-16) var(--space-20);
    border-radius: var(--radius-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.error-text {
    flex: 1;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.error-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: 0;
    margin-left: var(--space-16);
    opacity: 0.8;
    transition: opacity var(--duration-fast) var(--ease-standard);
}

.error-close:hover {
    opacity: 1;
}

/* Button Enhancements */

.btn--primary {
    background: linear-gradient(135deg, #8C85FF 0%, #7C3AED 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-standard);
}

.btn--primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--primary:active:not(:disabled) {
    background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    transform: translateY(0);
}

.btn:disabled,
.btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--color-text-secondary) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Utility Classes */

.hidden {
    display: none !important;
}

/* Responsive Design */

@media (min-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr 320px;
        gap: var(--space-32);
    }
}

@media (max-width: 768px) {

    .platform-grid {
        grid-template-columns: 1fr;
    }
    .platform-card {
        height: auto;
        padding: var(--space-16);
    }
    .image-preview {
        flex-direction: column;
        text-align: center;
        gap: var(--space-16);
    }
    .custom-size-inputs {
        flex-direction: column;
        gap: var(--space-16);
    }
    .custom-size-separator {
        order: -1;
        padding: 0;
    }
    .results-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .error-message {
        left: var(--space-16);
        right: var(--space-16);
        top: var(--space-16);
        max-width: none;
    }
    .footer-sections {
        grid-template-columns: 1fr;
        gap: var(--space-24);
        text-align: left;
    }
    .ad-placeholder {
        font-size: var(--font-size-xs);
        padding: var(--space-12);
    }
    .hero-section h2 {
        font-size: var(--font-size-2xl);
    }
    .info-section {
        padding: var(--space-20);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for smooth transitions */

.upload-area,
.platform-card,
.result-item,
.feature-card {
    transition: all var(--duration-normal) var(--ease-standard);
}

/* Focus states for accessibility */

.platform-option:focus-within .platform-card {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.modal.hidden {
    display: none !important;
}
.platform-logo img{
    width: 50px;
    margin-top: 8px;
    border-radius: 5px;
}

#fileInput {
    /* Hides the element visually but keeps it accessible for the JavaScript .click() */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-option {
  cursor: pointer;
}

.platform-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
}

.platform-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
}

.platform-details h3 {
  margin: 0;
  font-size: 1rem;
}

.platform-size {
  font-size: 0.85rem;
  color: #666;
}

/* Make it responsive: on smaller screens, use fewer columns */
@media (max-width: 900px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

.results-section{
    width: 100%;
}




 .pricing {
  margin: 0;
  background-color: #ffffff; /* white background */
  color: #000000; /* black text */
  font-family: 'Rubik', sans-serif;
  line-height: 1.5;
  padding: 1.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.pricing .container {
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  margin: 0 auto;
}

.container h2 {
  color: #000000; /* black heading text */
  font-weight: 700;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing h2 .bi-pencil {
  font-size: 1.9rem;
  color: #32b8c6; /* light blue accent icon */
  flex-shrink: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000000; /* black table text */
}

thead tr {
  border-bottom: 1px solid #32b8c6; /* light blue border */
}

thead th {
  text-align: left;
  padding-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #000000; /* black column headers */
  width: 25%;
  vertical-align: bottom;
  word-break: break-word;
}

tbody tr {
  border-bottom: 1px solid #32b8c6; /* light blue separator */
}

tbody td {
  padding: 0.75rem 0;
  vertical-align: top;
  color: #000000; /* black body text */
  font-size: 0.95rem;
  word-wrap: break-word;
}

tbody td.plan {
  font-weight: 600;
  color: #000000; /* black plan text */
  width: 25%;
  padding-right: 1rem;
  white-space: nowrap;
}

tbody td.features {
  width: 50%;
  padding-right: 2rem;
}

tbody td.price {
  width: 25%;
  padding-left: 1rem;
}

/* WhatsApp button styling */
.whatsapp-btn {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #8C85FF; /* light blue button */
  color: #ffffff; /* white text */
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background-color: #8C85FF; /* slightly darker blue */
  outline: none;
  text-decoration: none;
  color: #ffffff;
}

/* Price note (italic info) */
.price-note {
  font-weight: 400;
  font-style: italic;
  color: #333333; /* muted black */
  margin-top: 0.25rem;
  display: block;
}

/* Feature list styling */
.pricing ul.features-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: inline-block;
}

.pricing ul.features-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing ul.features-list li .bi {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* Check icon */
.icon-check {
  color: #8C85FF; /* light blue for checked features */
}

/* X icon */
.icon-x {
  color: #a40000; /* black for excluded features */
  opacity: 0.4;
  text-decoration: line-through;
}

/* Footer section layout adjustment */
.footer-section2 {
  margin-left: 0;
}.feature-icon i {
  color: #8C85FF;
}


@media screen and (min-width: 769px) {
  .footer-section2 {
    margin-left: 80px;
  }
}

/* Responsive Table Layout */
@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
    width: 100%;
  }

  tbody tr {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #32b8c6;
    width: 100%;
  }

  tbody td {
    padding: 0.5rem 0;
    width: 100%;
  }

  tbody td.plan {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
    padding-bottom: 0.5rem;
    width: 100%;
  }

  tbody td.features {
    padding-bottom: 0.5rem;
    width: 100%;
  }

  tbody td.price {
    padding-top: 0.5rem;
    width: 100%;
  }

  .whatsapp-btn {
    display: inline-block;
    margin-top: 0.75rem;
    width: 75%;
  }
}
