/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    color: #0066cc;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}   

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}   

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 600;
}   

/* Design tokens (Bootstrap overrides + utilities) */
:root {
    --ms-primary: #821DF0;
    --ms-primary-hover: #620bc7;
    --ms-link: #0069D2;
    --ms-bg: #FCFBF8;
    --ms-bg-hover: #e2ddd2;
    --ms-card-bg: #F7F4EE;

}

body { background: var(--ms-bg); }

.card {
    border-radius: 1.6rem;
}

.badge {
    position: relative;
    top: -1px;
}

.alert.alert-info {
    background: linear-gradient(90deg, #f8f4ee, #fbebcd);
    border: 1px solid #9F8335;
    color: #333;
  }

.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgb(182 182 182 / 12%) !important
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--ms-primary) !important;
}

.btn-primary,
.btn.btn-primary {
    background-color: var(--ms-primary);
    border-color: var(--ms-primary);
}

.btn-primary:hover {
    background-color: var(--ms-primary-hover);
    border-color: var(--ms-primary-hover);
    text-decoration: none;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: #5408aa;
}

.btn.btn-lg {
    padding: 0.75rem 3.5rem;
}

.btn.btn-secondary {
    background-color: var(--ms-card-bg);
    color: #333;

    &:hover {
        background-color: var(--ms-bg-hover);
        text-decoration: none;
    }
}

.btn.btn-outline-secondary {
    border-width: 1px;
    border-color: var(--ms-primary);
    color: var(--ms-primary);

    &:hover {
        background-color: var(--ms-bg-hover);
    }
}

.btn.btn-slim,
.btn.btn-outline-secondary.btn-slim,
.btn.btn-primary.btn-slim { 
    padding: 0.5rem 1.2rem !important;
    min-width: 90px;
}

.lead {
    font-weight: 400;
    line-height: 1.5;
}

a { color: var(--ms-link); }
a:hover { color: #0053a6; }

.card { background: var(--ms-card-bg); border: 0; }

/* Legacy container kept for non-Bootstrap sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Signature demo card (hero sample) */
.signature-demo {
    width: 100%;
    background: var(--ms-card-bg);
    border-radius: 0 0 28px 28px;
    padding: 24px 30px;
    position: relative;
    display: inline-block;
}
.signature-demo::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 36px;
    background: linear-gradient(180deg, var(--ms-bg), rgba(252,251,248,0));
}
.signature-demo p { margin: 0 0 12px 0; }

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform .25s ease;
    background: #fcfbf895;
    -webkit-backdrop-filter: blur(10px)saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
}

.sticky-nav.hidden {
    transform: translateY(-100%);
}

/* Center the main nav truly in the header on desktop */
@media (min-width: 768px) {
  .navbar-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
}

/* Custom burger toggler with label */
.custom-toggler {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.custom-toggler:focus { box-shadow: none; }
.custom-toggler .menu-label { font-size: 12px; line-height: 1; color: #333; }
.custom-toggler .icon-lines {
  width: 24px; height: 14px; position: relative; display: inline-block;
}
.custom-toggler .icon-lines::before,
.custom-toggler .icon-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #333; transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
}
.custom-toggler .icon-lines::before { top: 2px; }
.custom-toggler .icon-lines::after { bottom: 2px; }

/* X state when expanded */
.custom-toggler[aria-expanded="true"] .icon-lines::before { top: 6px; transform: rotate(45deg); }
.custom-toggler[aria-expanded="true"] .icon-lines::after { bottom: 6px; transform: rotate(-45deg); }
.custom-toggler[aria-expanded="true"] .menu-label { content: "Close"; }
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    color: #0066cc;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn.btn-outline-secondary, .btn-danger, .btn-success {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s;
}

.btn.btn-outline-secondary {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--ms-primary);
    color: var(--ms-primary);
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: #0066cc;
    color: white;
    border-radius: 8px;
}

.btn-primary-full {
    width: 100%;
    padding: 0.75rem;
    background: #0066cc;
    color: white;
    text-align: center;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    text-decoration: none;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-link {
    background: none;
    border: none;
    color: #0066cc;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.btn-account {
    background: #f8f9fa;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 2rem;
}

/* Sections */
.section-why, .section-features, .section-plans {
    padding: 4rem 0;
}

.section-why h2, .section-features h2, .section-plans h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Works With Section */
.works-with {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.client-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.client-icon {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.plan-featured {
    border-color: #0066cc;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0066cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.btn-plan {
    background: #0066cc;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 2rem;
}

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin-bottom: 0.5rem;
    color: #333;
}

.auth-header p {
    color: #666;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

/* Signup Pages */
.signup-container {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 2rem;
}

.signup-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.progress-step {
    width: 3rem;
    height: 3rem;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: white;
    color: #666;
}

.progress-step.active {
    border-color: #0066cc;
    background: #0066cc;
    color: white;
}

.progress-step.completed {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.signup-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.signup-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-hint {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.input-with-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
}

.input-prefix {
    background: #f8f9fa;
    padding: 0.75rem;
    color: #666;
    border-right: 1px solid #dee2e6;
    white-space: nowrap;
}

.input-with-prefix input {
    border: none;
    flex: 1;
}

/* Validation Messages */
.validation-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.text-success {
    color: #28a745;
}

.text-error {
    color: #dc3545;
}

/* Plan Note */
.plan-note {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.plan-note-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Selector */
.theme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.theme-option {
    position: relative;
    cursor: pointer;
}

.theme-option input {
    position: absolute;
    opacity: 0;
}

.theme-preview {
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s;
}

.theme-option input:checked + .theme-preview {
    border-color: #0066cc;
    background: #f0f8ff;
}

.theme-classic {
    background: #f8f9fa;
}

.theme-clean {
    background: white;
    border-color: #ccc;
}

.theme-custom {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
}

/* Background Type Selector */
.bg-type-selector {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

.bg-type-selector label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Social Links */
.social-link-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

/* Form Sections */
.form-section {
    border-bottom: 1px solid #e1e5e9;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

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

.form-section h3 {
    margin-bottom: 1rem;
    color: #333;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.actions-right {
    display: flex;
    gap: 1rem;
}

/* Account Layout */
.account-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    background: #f8f9fa;
}

.account-sidebar { display: none; }

.account-nav {
    padding: 0 1rem;
}

.nav-item {
    display: block;
    background: none;
    text-decoration: none;
}

.nav-item:hover {
    text-decoration: none;
}

.nav-item.active {
    background: #0066cc;
    color: white;
}

.account-main {
    padding: 2rem;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.account-header h1 {
    color: #333;
}

.btn-back {
    color: #666;
    font-size: 0.875rem;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dashboard-card h2 {
    margin-bottom: 1rem;
    color: #333;
}

/* Plan Info */
.plan-info {
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0066cc;
}

.plan-status {
    color: #666;
    font-size: 0.875rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.stat-label {
    font-size: 0.875rem;
    color: #666;
}

/* Blur Overlay */
.upgrade-blur {
    position: relative;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    z-index: 10;
}

.blurred-stats {
    filter: blur(4px);
    pointer-events: none;
}

.stat-placeholder {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Signatures */
.signatures-list {
    margin-bottom: 2rem;
}

.signature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.signature-info h3 {
    margin-bottom: 0.25rem;
    color: #333;
}

.signature-meta {
    font-size: 0.875rem;
    color: #666;
}

.signature-actions {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    text-align: center;
    color: #666;
    padding: 2rem;
}

/* Profile Preview */
.profile-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-link {
    font-family: monospace;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-suspended {
    background: #f8d7da;
    color: #721c24;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}


/* Profile View */
.profile-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.profile-avatar {
    margin-bottom: 2rem;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-logo {
    margin-bottom: 1rem;
}

.profile-logo img {
    max-height: 60px;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

.profile-title {
    font-size: 1.1rem;
    color: inherit;
    opacity: 0.8;
}

.profile-contact {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 0.75rem;
}

.contact-link {
    color: inherit;
    font-weight: 500;
}

.contact-text {
    color: inherit;
}

.text-bg-success {
    background-color: rgb(25 135 84 / 11%) !important;
}

.profile-bio {
    margin-bottom: 2rem;
    text-align: left;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.profile-actions {
    margin-bottom: 2rem;
}

.btn-vcard {
    background: #0066cc;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-vcard:hover {
    background: #0052a3;
    text-decoration: none;
    color: white;
}

.profile-branding {
    font-size: 0.75rem;
    opacity: 0.6;
}

.branding-link {
    color: inherit;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h1 {
    margin-bottom: 1rem;
    color: #333;
}

.last-updated {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.legal-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-card, .contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-link {
    font-weight: 500;
    color: #0066cc;
}

/* Error Pages */
.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 500px;
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 1rem;
}

.error-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Verify Pages */
.verify-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.verify-content {
    max-width: 500px;
}

.verify-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.verify-icon.success {
    background: #28a745;
    color: white;
}

.verify-icon.error {
    background: #dc3545;
    color: white;
}

.verify-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Admin */
.admin-layout {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-user {
    font-size: 0.875rem;
    color: #666;
}

.logout-link {
    margin-left: 0.5rem;
    color: #dc3545;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.admin-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-form input {
    flex: 1;
}

.search-results, .users-list {
    max-height: 400px;
    overflow-y: auto;
}

.user-result, .user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.user-info strong {
    display: block;
    color: #333;
}

.user-slug {
    color: #0066cc;
    font-family: monospace;
    font-size: 0.875rem;
}

.user-meta {
    font-size: 0.875rem;
    color: #666;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

/* Signature Editor */
.signature-editor {
    max-width: 800px;
}

.signature-preview {
    margin: 2rem 0;
}

.preview-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.signature-html {
    margin: 2rem 0;
}

.html-code {
    width: 100%;
    height: 200px;
    font-family: monospace;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

/* Installation Guide */
.installation-guide {
    margin-top: 3rem;
}

.guide-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.guide-tab {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    border-bottom: none;
}

.guide-tab.active {
    background: white;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
}

.guide-content {
    display: none;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 6px 6px 6px;
    padding: 1.5rem;
}

.guide-content.active {
    display: block;
}

.guide-content ol {
    margin-left: 1.5rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        order: 2;
        border-right: none;
        border-top: 1px solid #e1e5e9;
    }
    
    .account-nav {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .nav-item {
        white-space: nowrap;
        margin-bottom: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .social-link-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .actions-right {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .signup-card, .auth-card {
        padding: 1.5rem;
    }
    
    .min-vh-100-sm {
        min-height: 100vh;
    }

    .profile-view {
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0rem 0rem 0.25rem 0px rgba(0, 0, 0, 0.125) !important;
    }

    .hero {
        padding: 4rem 0;
    }
    
    .theme-selector {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-block { display: inline-block; }

/* Float animations for email client icons */
@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(-8deg); }
  50% { transform: translateY(-12px) rotate(-8deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-12deg); }
}

@keyframes float4 {
  0%, 100% { transform: translateY(0px) rotate(7deg); }
  50% { transform: translateY(-14px) rotate(7deg); }
}

@keyframes float5 {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(-5deg); }
}

@keyframes float6 {
  0%, 100% { transform: translateY(0px) rotate(10deg); }
  50% { transform: translateY(-11px) rotate(10deg); }
}

@keyframes float7 {
  0%, 100% { transform: translateY(0px) rotate(-6deg); }
  50% { transform: translateY(-9px) rotate(-6deg); }
}

@keyframes float8 {
  0%, 100% { transform: translateY(0px) rotate(3deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}

@keyframes float9 {
  0%, 100% { transform: translateY(0px) rotate(-9deg); }
  50% { transform: translateY(-7px) rotate(-9deg); }
}

@keyframes float10 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .float-icon {
    animation: none !important;
  }
}