/* Stili personalizzati per il Professional Favicon Generator */

:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
}

body {
    background-color: #f5f7fa;
}

.card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 1rem 1.25rem;
    border-radius: 12px 12px 0 0 !important;
}

.card-header h5 {
    margin: 0;
  font-weight: 600;
    color: white;
}

.card-header i {
    margin-right: 0.5rem;
}

/* Sezioni configurazione e preview */
.card-body h6 {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    background: #f8f9fa;
    border-left: 4px solid;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.card-body h6.text-primary {
    border-left-color: var(--primary-color);
    background: rgba(13, 110, 253, 0.05);
}

.card-body h6.text-success {
    border-left-color: var(--success-color);
    background: rgba(25, 135, 84, 0.05);
}

.card-body h6.text-info {
    border-left-color: var(--info-color);
    background: rgba(13, 202, 240, 0.05);
}

.card-body h6.text-dark {
    border-left-color: var(--dark-color);
    background: rgba(33, 37, 41, 0.05);
}

.card-body h6 i {
    margin-right: 0.5rem;
}

/* Form controls */
.form-range {
    cursor: pointer;
    height: 6px;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.form-range::-webkit-slider-runnable-track {
    background: #e9ecef;
    border-radius: 3px;
}

.form-range::-moz-range-track {
    background: #e9ecef;
    border-radius: 3px;
}

.btn-primary {
    padding: 12px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
}

.btn-secondary {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
}

/* Preview icone */
.img-thumbnail {
    padding: 0.5rem;
    background-color: #fff;
    /* Sfondo a scacchiera per vedere la trasparenza */
    background-image: 
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    border: 2px solid #e9ecef;
  border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.img-thumbnail:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    z-index: 10;
    border-color: var(--primary-color);
}

/* Immagine dentro il thumbnail - per vedere meglio i bordi */
.img-thumbnail img {
    display: block;
    max-width: 100%;
    height: auto;
    /* Rimuovi eventuali sfondi dall'immagine stessa */
    background: transparent !important;
}

/* Spinner personalizzati per categoria */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert migliorati */
.alert-info {
  background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #004085;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Form controls */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.6rem 0.8rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border-radius: 0.3em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Text truncate per nomi file */
.text-truncate {
    max-width: 120px;
    display: inline-block;
}

/* Icon categories */
.bi-filetype-svg {
    color: #FF9800;
}

.bi-file-earmark-code {
    color: #6c757d;
}

/* Upload area enhancement */
.form-control[type="file"] {
    cursor: pointer;
}

.form-control[type="file"]:hover {
    background-color: #f8f9fa;
}

/* Header principale */
h1 {
font-weight: 700;
 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Area configurazione vs preview */
.col-md-4 {
 border-right: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
    .col-md-4 {
        border-right: none;
     border-bottom: 2px solid #f0f0f0;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}

/* Loading state per preview */
.spinner-border.text-primary {
    color: var(--primary-color) !important;
}

.spinner-border.text-success {
    color: var(--success-color) !important;
}

.spinner-border.text-info {
    color: var(--info-color) !important;
}

.spinner-border.text-dark {
    color: var(--dark-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
     padding: 1rem;
    }
    
    .btn-primary {
     width: 100%;
    }
    
    h6 {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }
    
    .img-thumbnail {
   max-width: 80px !important;
 max-height: 80px !important;
    }
}

/* Animation per la generazione */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
    opacity: 0.5;
    }
}

.spinner-border {
    animation: spinner-border 0.75s linear infinite, pulse 1.5s ease-in-out infinite;
}

/* Miglioramenti hover per pulsanti */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Button disabled state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Success indicator */
.bi-check-circle-fill {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    0% {
    transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
 100% {
        transform: scale(1);
    }
}

/* Smooth transitions per form inputs */
input[type="color"] {
    height: 45px;
    cursor: pointer;
    transition: all 0.2s;
}

input[type="color"]:hover {
    transform: scale(1.05);
}

/* Small text styling */
small.text-muted {
    font-size: 0.85rem;
    color: #6c757d !important;
    display: block;
 margin-top: 0.25rem;
}

/* Spacing migliorato */
.mb-3 {
    margin-bottom: 1.25rem !important;
}

/* Card body padding specifico */
.card-body .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.card-body .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Preview grid ottimizzata */
.col-md-3.col-sm-4.col-6 {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Icon preview hover effect migliorato */
.img-thumbnail {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.img-thumbnail:hover {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
}

/* ============================================
   ICON PREVIEW STYLES - Anteprime Contestuali
   ============================================ */

.contextual-preview-section {
    margin-bottom: 2rem;
}

.contextual-preview-section h6 {
font-weight: 700;
    font-size: 1rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

.contextual-preview-section h6 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.preview-grid {
 display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* ============================================
   BROWSER MOCKUPS
   ============================================ */

.browser-mockup {
    width: 100%;
    max-width: 320px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    background: white;
}

.browser-mockup.light-theme {
    background: #ffffff;
}

.browser-mockup.dark-theme {
    background: #202124;
}

.browser-mockup.dark-theme .tab-title,
.browser-mockup.dark-theme .address-text {
    color: #e8eaed;
}

.browser-tab {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: #f1f3f4;
    /*border-bottom: 1px solid #dadce0;*/
}

.browser-mockup.dark-theme .browser-tab {
    background: #35363a;
 border-bottom-color: #5f6368;
}

.tab-favicon {
    width: 16px;
    height: 16px;
 flex-shrink: 0;
}

.tab-title {
  flex: 1;
    font-size: 13px;
    color: #202124;
 white-space: nowrap;
    overflow: hidden;
  text-overflow: ellipsis;
}

.tab-close {
    font-size: 18px;
    color: #5f6368;
    cursor: pointer;
    line-height: 1;
}

.browser-addressbar {
    padding: 10px 12px;
    background: white;
    border-bottom: 1px solid #e8eaed;
}

.browser-mockup.dark-theme .browser-addressbar {
    background: #202124;
 border-bottom-color: #5f6368;
}

.address-text {
font-size: 13px;
  color: #5f6368;
}

/* ============================================
   GOOGLE SEARCH RESULT
   ============================================ */

.google-result-mockup {
    width: 100%;
    max-width: 320px;
 padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.search-result {
    display: flex;
    gap: 12px;
}

.result-favicon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
}

.result-content {
    flex: 1;
}

.result-url {
    font-size: 12px;
    color: #5f6368;
 margin-bottom: 2px;
}

.result-title {
    font-size: 16px;
    color: #1a0dab;
    font-weight: 500;
    margin-bottom: 4px;
    cursor: pointer;
}

.result-title:hover {
    text-decoration: underline;
}

.result-description {
    font-size: 13px;
    color: #4d5156;
    line-height: 1.4;
}

/* ============================================
   iOS MOCKUPS
   ============================================ */

.ios-homescreen {
    width: 100%;
    max-width: 260px;
    height: 480px;
    background: linear-gradient(180deg, #4A90E2 0%, #7B68EE 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
    flex-direction: column;
}

.ios-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
  color: white;
    font-size: 12px;
    font-weight: 600;
}

.status-icons {
  display: flex;
    gap: 6px;
}

.ios-apps {
 display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 30px 12px;
    align-content: start;
}

.ios-app-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ios-app-icon {
    width: 60px;
    height: 60px;
border-radius: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ios-app-icon.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-app-icon.ios-system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.ios-app-icon.ios-system-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.ios-emoji-icon {
 font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.ios-app-name {
    font-size: 11px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 60px;
    overflow: hidden;
 text-overflow: ellipsis;
    white-space: nowrap;
}

/* Safari iOS Mockup */
.ios-safari {
    width: 100%;
    max-width: 260px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.safari-header {
    background: #f7f7f7;
    padding: 8px;
}

.safari-tabs {
    display: flex;
    gap: 4px;
}

.safari-tab {
    flex: 1;
    background: white;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
  gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.safari-favicon {
    width: 16px;
    height: 16px;
}

.safari-tab-title {
    font-size: 13px;
    color: #000;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.safari-addressbar {
    padding: 12px;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e5e5e5;
}

.safari-url {
    font-size: 14px;
  color: #000;
}

/* ============================================
   ANDROID MOCKUPS
   ============================================ */

.android-homescreen {
    width: 100%;
    max-width: 260px;
    height: 480px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
  padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.android-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.android-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
 gap: 20px;
  padding: 30px 12px;
    align-content: start;
}

.android-app-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.android-app-icon {
 width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.android-app-icon.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.android-app-icon.android-system-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.android-app-icon.android-system-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.android-emoji-icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.android-app-name {
    font-size: 11px;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.android-chrome {
    width: 100%;
    max-width: 320px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.chrome-header {
    background: #f1f3f4;
    padding: 8px;
}

.chrome-tab {
    background: white;
    border-radius: 8px 8px 0 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chrome-favicon {
    width: 16px;
    height: 16px;
}

.chrome-tab-title {
    font-size: 13px;
    color: #202124;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chrome-addressbar {
    padding: 12px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e8eaed;
}

.chrome-url {
    font-size: 14px;
    color: #5f6368;
}

/* ============================================
   WINDOWS MOCKUPS
   ============================================ */

.windows-start {
    width: 100%;
    max-width: 320px;
    background: rgba(32, 32, 32, 0.95);
    backdrop-filter: blur(50px);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.windows-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.windows-tile {
    aspect-ratio: 1;
    background: #2B5797;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.windows-tile:hover {
    transform: scale(1.05);
}

.windows-tile-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.windows-tile-icon-placeholder {
    font-size: 32px;
    color: white;
}

.windows-tile-name {
    font-size: 11px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.edge-browser {
    width: 100%;
    max-width: 320px;
    background: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.edge-tab {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 8px;
    background: #f3f3f3;
    border-bottom: 1px solid #e1e1e1;
}

.edge-favicon {
    width: 16px;
    height: 16px;
}

.edge-tab-title {
    flex: 1;
    font-size: 13px;
    color: #323130;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edge-close {
    font-size: 18px;
    color: #605e5c;
    cursor: pointer;
}

.edge-addressbar {
    padding: 12px;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #edebe9;
}

.edge-url {
    font-size: 14px;
    color: #323130;
}

/* ============================================
   BROWSER MOCKUPS - DESKTOP STYLE
   ============================================ */

.browser-desktop-mockup {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    overflow: hidden;
 box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.browser-desktop-mockup.light-theme {
    background: #ffffff;
}

.browser-desktop-mockup.dark-theme {
    background: #2d2d2d;
}

.browser-tabs-bar {
    display: flex;
    align-items: flex-end;
    background: #e8e8e8;
    padding: 8px 8px 0 8px;
    gap: 4px;
}

.browser-desktop-mockup.dark-theme .browser-tabs-bar {
 background: #353535;
}

.browser-tab {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 8px;
    background: #d5d5d5;
    border-radius: 8px 8px 0 0;
    min-width: 200px;
    position: relative;
    cursor: pointer;
}

.browser-tab.inactive {
    background: transparent;
    min-width: 40px;
    padding: 10px 12px;
    justify-content: center;
    opacity: 0.7;
}

.browser-desktop-mockup.dark-theme .browser-tab {
    background: #404040;
}

.browser-desktop-mockup.dark-theme .browser-tab.inactive {
    background: transparent;
}

.browser-tab.active {
    background: #ffffff;
    padding-bottom: 12px;
    z-index: 2;
}

.browser-desktop-mockup.dark-theme .browser-tab.active {
    background: #2d2d2d;
}

.tab-favicon {
 width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tab-title {
    flex: 1;
    font-size: 13px;
    color: #3c4043;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

.browser-desktop-mockup.dark-theme .tab-title {
    color: #e8eaed;
}

.tab-close,
.tab-close-left {
    font-size: 18px;
    color: #5f6368;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    opacity: 0.7;
}

.browser-desktop-mockup.dark-theme .tab-close,
.browser-desktop-mockup.dark-theme .tab-close-left {
    color: #9aa0a6;
}

.tab-close:hover,
.tab-close-left:hover {
    opacity: 1;
}

.tab-new {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
  font-size: 20px;
    color: #5f6368;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 4px;
}

.browser-desktop-mockup.dark-theme .tab-new {
    color: #9aa0a6;
}

.tab-new:hover {
    background: rgba(0, 0, 0, 0.05);
}

.browser-desktop-mockup.dark-theme .tab-new:hover {
    background: rgba(255, 255, 255, 0.08);
}

.browser-addressbar-desktop {
    padding: 12px 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    min-height: 48px;
    border-radius: 0 8px 0 0;
    position: relative;
    z-index: 1;
}

.browser-desktop-mockup.dark-theme .browser-addressbar-desktop {
    background: #2d2d2d;
}

.address-url {
    font-size: 14px;
    color: #3c4043;
    font-weight: 400;
}

.browser-desktop-mockup.dark-theme .address-url {
    color: #e8eaed;
}

/* Remove old mobile browser styles */
.browser-mockup {
    display: none;
}

/* Hover effects for mockups */
.browser-desktop-mockup,
.google-result-mockup,
.ios-homescreen,
.ios-safari,
.android-homescreen,
.android-chrome,
.windows-start,
.edge-browser {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-desktop-mockup:hover,
.google-result-mockup:hover,
.ios-homescreen:hover,
.ios-safari:hover,
.android-homescreen:hover,
.android-chrome:hover,
.windows-start:hover,
.edge-browser:hover {
    transform: translateY(-4px);
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-card {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea;
}

.download-card .card-body {
    background: white;
}

.download-icon {
    animation: scaleInBounce 0.6s ease-out;
}

@keyframes scaleInBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
      transform: scale(1);
 opacity: 1;
    }
}

.btn-primary.btn-lg {
    padding: 16px 48px;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary.btn-lg:hover {
  transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.btn-primary.btn-lg:active {
    transform: translateY(-1px);
}

.download-card h3 {
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LANDING PAGE STYLES
 ============================================ */

/* Hero Section */
.display-4 {
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
}

.lead strong {
    color: #667eea;
    font-weight: 700;
}

/* Features Cards */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
 margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
}

.hover-lift:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

/* How It Works Steps */
.step-number {
    margin-bottom: 1rem;
}

.step-number .badge {
    width: 60px;
    height: 60px;
  display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/* Upload Area */
.upload-area {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: #667eea !important;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #764ba2 !important;
    transform: scale(1.02);
}

.upload-area .form-control {
    cursor: pointer;
    font-size: 1.1rem;
}

/* What You Get Section */
.bg-light {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%) !important;
}

.list-unstyled li {
    padding: 0.4rem 0;
}

.list-unstyled li i {
    margin-right: 0.5rem;
}

/* Gradient Backgrounds */
.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Icon Hover Effects */
.bi-cloud-arrow-up {
 transition: transform 0.3s ease;
}

.card:hover .bi-cloud-arrow-up {
  transform: translateY(-8px);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .display-4 {
font-size: 2.5rem;
 }
    
    .lead {
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 60px;
   height: 60px;
    }
    
    .feature-icon i {
   font-size: 2rem !important;
    }
    
    .step-number .badge {
        width: 50px;
      height: 50px;
        font-size: 1.5rem;
    }
}

/* Smooth Animations */
.card,
.hover-lift,
.upload-area {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
      transform: translateY(30px);
    }
    to {
    opacity: 1;
        transform: translateY(0);
    }
}

/* Delay animations for each card */
.col-md-3:nth-child(1) .hover-lift {
    animation-delay: 0.1s;
}

.col-md-3:nth-child(2) .hover-lift {
    animation-delay: 0.2s;
}

.col-md-3:nth-child(3) .hover-lift {
    animation-delay: 0.3s;
}

.col-md-3:nth-child(4) .hover-lift {
    animation-delay: 0.4s;
}

/* Shadows */
.shadow-lg {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Card Title Styling */
.card-title {
    font-weight: 700;
    color: #2c3e50;
}

.card-text.small {
    line-height: 1.6;
}

/* Alert Styling in Landing */
.alert-info strong {
    color: #004085;
}

/* Benefits Section Icons */
.bi-lightning-charge-fill,
.bi-shield-check,
.bi-unlock-fill {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Opacity adjustments */
.opacity-75 {
opacity: 0.85 !important;
}

/* Check icons in lists */
.bi-check-circle-fill.text-success {
    font-size: 0.9rem;
}

/* Spacing improvements */
.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.mb-5 {
    margin-bottom: 3.5rem !important;
}

/* ============================================
   BROWSER MOCKUP - WHAT IS FAVICON PAGE
   ============================================ */

.browser-mockup {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.browser-mockup .browser-header {
    border-bottom: 2px solid #dee2e6;
}

.browser-mockup .browser-tabs {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.browser-mockup .tab {
    cursor: pointer;
    transition: all 0.2s ease;
}

.browser-mockup .tab.active-tab {
    border-bottom: 3px solid #667eea;
    background: white !important;
}

.browser-mockup .tab:not(.active-tab):hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.browser-mockup .browser-content {
    min-height: 200px;
}

/* Responsive adjustments for browser mockup */
@media (max-width: 768px) {
    .browser-mockup .tab {
        font-size: 0.8rem;
    }
    
    .browser-mockup .tab img {
        width: 12px !important;
        height: 12px !important;
    }
}
