/* Demos Page Specific Styles */



/* Hero Section */
.demos-hero {
    padding: 8rem 0 5rem 0;
    background: var(--black);
    text-align: center;
}

.demos-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.demos-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Demo Cards */
.demos-section {
    padding: 5rem 0;
    background: var(--black);
}

.demo-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: visible; /* Allow particles to escape demo card */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.demo-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%,
        transparent 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.15);
}

.demo-card:hover::before {
    opacity: 1;
}

.demo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.02) 0%,
        rgba(59, 130, 246, 0.01) 40%,
        transparent 70%);
    border-radius: 24px;
    z-index: -1;
    pointer-events: none;
}

.demo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.demo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(147, 197, 253, 0.5);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.demo-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.7;
}

/* SMS Demo Styles */
.sms-demo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.computer-section {
    flex: 1;
    max-width: 600px;
}

.computer-screen {
    background: #0a0a0a;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.screen-header {
    background: #2a2a2a;
    padding: 1rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.screen-title {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.screen-content {
    padding: 2rem;
}

.message-compose {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message-compose input,
.message-compose textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    resize: none;
    transition: border-color 0.2s ease;
}

.message-compose input:focus,
.message-compose textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
}

.message-compose textarea {
    height: 80px;
}

.send-sms-btn {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 
        0 8px 24px rgba(74, 222, 128, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.send-sms-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 10px 20px rgba(74, 222, 128, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.send-sms-btn:active {
    transform: translateY(0);
}

.message-log {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem;
}

.log-header {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.log-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.log-time {
    color: rgba(255, 255, 255, 0.6);
    min-width: 60px;
}

.log-phone {
    color: rgba(255, 255, 255, 0.8);
    min-width: 120px;
}

.log-message {
    color: rgba(255, 255, 255, 0.9);
}

/* Phone Section */
.phone-section {
    flex: 0 0 280px;
}

.phone-device {
    width: 280px;
    height: 580px;
    background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
    border-radius: 30px;
    padding: 15px;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 2px solid #2a2a2a;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

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

.carrier {
    color: var(--white);
    font-weight: 500;
}

.time {
    color: var(--white);
    font-weight: 600;
}

.battery {
    width: 25px;
    height: 12px;
    border: 1px solid var(--white);
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: var(--white);
    border-radius: 0 1px 1px 0;
}

.phone-messages {
    flex: 1;
    overflow-y: auto;
}

.message-bubble {
    max-width: 80%;
    margin-bottom: 1rem;
    animation: messageSlideIn 0.5s ease-out;
}

.message-bubble.received {
    align-self: flex-start;
}

.message-bubble.sent {
    align-self: flex-end;
    margin-left: auto;
}

.bubble-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 18px;
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-bubble.sent .bubble-content {
    background: rgba(0, 123, 255, 0.8);
}

.bubble-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    padding: 0 0.5rem;
}

/* SMS Animation Line */
.sms-animation-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translateY(-50%);
    opacity: 0;
    z-index: 10;
}

/* Admin Panel Demo Styles */
.admin-demo-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    min-height: 500px;
}

.admin-sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--white);
    border-left-color: #3b82f6;
}

.admin-nav-item i {
    width: 16px;
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-change.positive {
    color: #4ade80;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.analytics-content h3,
.messages-content h3,
.users-content h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.analytics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analytics-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.analytics-label {
    color: rgba(255, 255, 255, 0.8);
    min-width: 150px;
}

.analytics-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.analytics-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 4px;
    transition: width 2s ease;
}

.analytics-value {
    color: var(--white);
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

/* Messages Tab */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.message-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.message-item.unread {
    border-left-color: #4ade80;
}

.message-sender {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.message-preview {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.message-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Users Tab */
.users-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.users-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.users-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.users-row:last-child {
    border-bottom: none;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.status.active {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Payment Demo Styles */
.payment-demo-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.payment-success-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.payment-success-animation {
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payment-success-animation.animate {
    opacity: 1;
    transform: scale(1);
}

.success-circle {
    width: 120px;
    height: 120px;
    background: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    animation: successPulse 0.8s ease-out;
}

.checkmark {
    color: white;
    font-size: 48px;
    animation: checkmarkPop 0.4s ease-out 0.3s both;
}

.success-message {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    animation: textSlideUp 0.5s ease-out 0.5s both;
}

.success-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    animation: textSlideUp 0.5s ease-out 0.7s both;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes textSlideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.payment-form {
    flex: 1;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.payment-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.payment-total {
    color: #4ade80;
    font-size: 1.8rem;
    font-weight: 700;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    color: rgba(255, 255, 255, 0.7);
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.payment-method.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: var(--white);
}

.payment-method i {
    font-size: 1.5rem;
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
}

.card-row {
    display: flex;
    gap: 1rem;
}

.payment-submit {
    width: 100%;
    background: #4ade80;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.payment-submit:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.payment-security {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-receipt {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.payment-receipt.show {
    display: block;
    animation: receiptSlideIn 0.5s ease-out;
}

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

.receipt-header i {
    color: #4ade80;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.receipt-header h3 {
    color: var(--white);
    margin: 0;
}

.receipt-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.receipt-row:last-child {
    border-bottom: none;
    font-weight: 600;
    color: var(--white);
}

/* Blog Demo Styles */
.blog-demo-container {
    display: flex;
    gap: 3rem;
    min-height: 600px;
}

.blog-editor {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-editor:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.editor-toolbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    padding: 1.25rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.editor-toolbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        transparent 100%);
}

.editor-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 500;
}

.editor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.2) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editor-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.editor-btn:hover::before {
    opacity: 1;
}

.editor-btn:active {
    transform: translateY(0);
}

.editor-divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.5rem;
}

.blog-title {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    resize: none;
}

.blog-title:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.blog-title::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.blog-editor-content {
    padding: 2rem;
    min-height: 350px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    outline: none;
    font-size: 1rem;
}

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

.blog-content-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-editor-content h3 {
    color: var(--white);
    margin: 1.5rem 0 1rem 0;
}

.blog-actions {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.blog-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.blog-btn.primary {
    background: #4ade80;
    border: 1px solid #4ade80;
    color: #000;
}

.blog-btn:hover {
    transform: translateY(-2px);
}

.blog-preview {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s ease;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.preview-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.8) 0%, transparent 100%);
}

.preview-header h3 {
    color: var(--white);
    margin: 0;
}

.preview-stats {
    display: flex;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    align-items: center;
}

.preview-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.preview-stat:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.preview-stat i {
    color: rgba(59, 130, 246, 0.8);
    font-size: 1rem;
}

.blog-post-preview h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.post-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.post-content h3 {
    color: var(--white);
    margin: 1.5rem 0 1rem 0;
}

/* Search Demo Styles */
.search-demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-controls {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-bar {
    position: relative;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--white);
    font-size: 1rem;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem;
    color: var(--white);
    font-size: 0.9rem;
}

.search-results {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.product-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-info h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    color: #4ade80;
    font-weight: 600;
    font-size: 1.1rem;
}

.search-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 0 0 15px 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations Demo Styles */
.animations-demo-container {
    text-align: center;
}

.animation-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.animation-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.animation-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.animation-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

/* Continuous animations for all icons */
.animation-item:nth-child(1) .animation-icon {
    animation: bounceAnimation 2s ease-in-out infinite;
}

.animation-item:nth-child(2) .animation-icon {
    animation: pulseAnimation 2s ease-in-out infinite;
}

.animation-item:nth-child(3) .animation-icon {
    animation: rotateAnimation 3s linear infinite;
}

.animation-item:nth-child(4) .animation-icon {
    animation: scaleAnimation 2s ease-in-out infinite;
}

.animation-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.particle-system {
    position: relative;
    height: 240px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    overflow: visible; /* Allow particles to escape container */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.particle-system:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.particle-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 
        0 4px 16px rgba(59, 130, 246, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 
            0 4px 16px rgba(59, 130, 246, 0.3),
            0 1px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(59, 130, 246, 0.6),
            0 1px 4px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(59, 130, 246, 0.4);
    }
}

.particle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

.particle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(59, 130, 246, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.particle-btn:active {
    transform: translateY(-1px);
}

/* Demo Container Lighting Effects */
.payment-demo-container,
.admin-demo-container,
.blog-demo-container,
.search-demo-container,
.animation-demo-container {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s ease;
}

.payment-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
        rgba(59, 130, 246, 0.03) 0%,
        transparent 70%);
    border-radius: 16px;
    z-index: -1;
}

.admin-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left,
        rgba(59, 130, 246, 0.02) 0%,
        transparent 60%);
    border-radius: 16px;
    z-index: -1;
}

.blog-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center bottom,
        rgba(59, 130, 246, 0.02) 0%,
        transparent 70%);
    border-radius: 16px;
    z-index: -1;
}

.search-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right,
        rgba(59, 130, 246, 0.02) 0%,
        transparent 60%);
    border-radius: 16px;
    z-index: -1;
}

.animation-demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center,
        rgba(59, 130, 246, 0.03) 0%,
        transparent 70%);
    border-radius: 16px;
    z-index: -1;
}

/* Enhanced Element Styling */
.admin-main,
.blog-editor,
.blog-preview,
.search-filters,
.search-results {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Liquid Particle Animation */
.liquid-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.5px);
}

/* Hover Animation Classes */
.bounce-animation {
    animation: bounceHover 0.6s ease-in-out;
}

.pulse-animation {
    animation: pulseHover 0.8s ease-in-out;
}

.rotate-animation {
    animation: rotateHover 0.8s ease-in-out;
}

.scale-animation {
    animation: scaleHover 0.6s ease-in-out;
}

/* Blog Empty State */
.empty-blog-state {
    text-align: center;
    padding: 80px 40px;
    color: rgba(255, 255, 255, 0.7);
}

.empty-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.empty-blog-state h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-blog-state p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Blog Stats */
.post-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.stat-item i {
    color: #4ade80;
}

/* Animation Keyframes */
@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes receiptSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes smsLineAnimation {
    0% {
        width: 0;
        left: 60%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        width: 30%;
        left: 75%;
        opacity: 0;
    }
}

@keyframes bounceHover {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulseHover {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes scaleHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes bounceAnimation {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes scaleAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-icon.active {
    animation: bounce 1s ease-in-out;
}

.pulse-icon.active {
    animation: pulse 1s ease-in-out;
}

.rotate-icon.active {
    animation: rotate 1s ease-in-out;
}

.scale-icon.active {
    animation: scaleAnimation 1s ease-in-out;
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFly 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    filter: brightness(2) blur(0.5px);
    mix-blend-mode: screen;
    z-index: 9999;
}

.particle.glow {
    animation: particleFly 3s cubic-bezier(0.4, 0, 0.2, 1) forwards, particleGlow 1s ease-in-out infinite;
}

.particle.orbit {
    animation: particleOrbit 4s linear infinite;
}

.particle.pulse {
    animation: particleFly 3s cubic-bezier(0.4, 0, 0.2, 1) forwards, particlePulse 1.5s ease-in-out infinite;
}

@keyframes particleFly {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(0deg);
        filter: blur(0px) brightness(2);
    }
    5% {
        opacity: 1;
        transform: translate(0, 0) scale(2) rotate(45deg);
    }
    25% {
        opacity: 1;
        transform: translate(calc(var(--random-x) * 0.25), calc(var(--random-y) * 0.25)) scale(1.5) rotate(180deg);
        filter: blur(0px) brightness(2.5);
    }
    50% {
        opacity: 1;
        transform: translate(calc(var(--random-x) * 0.5), calc(var(--random-y) * 0.5)) scale(1.2) rotate(360deg);
        filter: blur(0.5px) brightness(2);
    }
    75% {
        opacity: 0.9;
        transform: translate(calc(var(--random-x) * 0.75), calc(var(--random-y) * 0.75)) scale(1) rotate(540deg);
        filter: blur(1px) brightness(1.5);
    }
    90% {
        opacity: 0.5;
        filter: blur(2px) brightness(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--random-x), var(--random-y)) scale(0) rotate(720deg);
        filter: blur(4px) brightness(0);
    }
}

@keyframes particleGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px currentColor,
            0 0 40px currentColor,
            0 0 60px currentColor;
    }
    50% {
        box-shadow: 
            0 0 30px currentColor,
            0 0 60px currentColor,
            0 0 90px currentColor;
    }
}

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes particlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes flashEffect {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes epicParticle {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 0;
        filter: hue-rotate(0deg) brightness(2);
    }
    10% {
        transform: translate(0, 0) scale(2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--random-x), var(--random-y)) scale(0) rotate(720deg);
        opacity: 0;
        filter: hue-rotate(180deg) brightness(0.5);
    }
}

@keyframes shockwaveExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
        border-width: 5px;
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
    50% {
        box-shadow: 0 0 100px rgba(59, 130, 246, 0.6);
    }
    100% {
        width: 2000px;
        height: 2000px;
        opacity: 0;
        border-width: 1px;
        box-shadow: 0 0 200px rgba(59, 130, 246, 0);
    }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 350px;
    animation: slideIn 0.3s ease-out;
    position: relative;
}

.notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success {
    border-left: 4px solid #4ade80;
}

.notification-success i {
    color: #4ade80;
}

.notification-warning {
    border-left: 4px solid #fbbf24;
}

.notification-warning i {
    color: #fbbf24;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error i {
    color: #ef4444;
}

.notification-info {
    border-left: 4px solid #60a5fa;
}

.notification-info i {
    color: #60a5fa;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--white);
}

/* Tooltip System */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    z-index: 10000;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Animation keyframes */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-120deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(-15deg);
    }
    70% {
        transform: scale(0.9) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Interactive States */
.send-sms-btn:disabled,
.payment-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.message-item:hover {
    background: rgba(255, 255, 255, 0.05);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .sms-demo-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .phone-section {
        align-self: center;
    }
    
    .admin-demo-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
    }
    
    .payment-demo-container {
        flex-direction: column;
    }
    
    .blog-demo-container {
        flex-direction: column;
    }
}

/* Admin Demo Enhancements */
.no-messages-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-messages-icon {
    font-size: 48px;
    color: #999;
    margin-bottom: 20px;
}

.no-messages-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.no-messages-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.analytics-section {
    margin-bottom: 40px;
}

.analytics-section h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytics-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.analytics-label i {
    width: 16px;
    color: #4ade80;
}

.contacts-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.contacts-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1.5fr 1fr;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    font-weight: 600;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 2fr 1.5fr 1fr;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: background-color 0.2s ease;
}

.contacts-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contacts-row:last-child {
    border-bottom: none;
}

.contact-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.contact-name span {
    color: var(--white);
}

.contacts-row > div:not(.contact-name):not(.status) {
    color: rgba(255, 255, 255, 0.8);
}

.status.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.admin-nav-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,0.08);
}

/* Analytics Layout */
.analytics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Pie Chart Styles */
.device-chart-section h4,
.visit-metrics-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.pie-chart-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.pie-chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        #4ade80 0% 65.2%,
        #60a5fa 65.2% 93.6%,
        #fbbf24 93.6% 100%
    );
    position: relative;
    flex-shrink: 0;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.desktop-color { background: #4ade80; }
.mobile-color { background: #60a5fa; }
.tablet-color { background: #fbbf24; }

.legend-item i {
    width: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Visit Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Cards Layout */
.contacts-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contacts-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.contacts-count {
    color: var(--white);
    font-weight: 600;
}

.contacts-active {
    color: #4ade80;
    font-weight: 500;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info {
    flex: 1;
}

.contact-name {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-phone,
.contact-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.contact-card .status {
    align-self: flex-start;
}

/* Blog Demo Enhancements */
.post-published-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4ade80;
    font-weight: 500;
    animation: slideInFromBottom 0.5s ease-out;
}

.post-published-notice i {
    font-size: 18px;
}

.blog-post-preview.published {
    border-left: 4px solid #4ade80;
    background: rgba(59, 130, 246, 0.02);
}

/* Product Popup Styles */
.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    transition: transform 0.3s ease;
}

.product-popup.show .popup-content {
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--white);
}

.popup-product {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.popup-image {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.popup-details {
    flex: 1;
}

.popup-details h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 24px;
}

.popup-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.5;
}

.popup-price {
    color: #4ade80;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.popup-actions {
    display: flex;
    gap: 12px;
}

.add-to-cart-btn,
.wishlist-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn {
    background: #4ade80;
    color: #000;
    flex: 1;
}

.add-to-cart-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.wishlist-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Cart Particle Animation */
.cart-particle {
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

/* Animation Keyframes */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .demos-hero {
        padding: 6rem 0 3rem 0;
    }
    
    .demos-hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
    }
    
    .demos-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1.5rem;
        line-height: 1.6;
    }
    
    .demo-title {
        font-size: 1.75rem;
        line-height: 1.3;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }
    
    .demo-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .demo-card {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 60px rgba(59, 130, 246, 0.06);
    }
    
    .demo-card:hover {
        transform: none; /* Disable hover transform on mobile */
    }
    
    .phone-device {
        width: 240px;
        height: 500px;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .animation-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .morphing-shapes {
        flex-wrap: wrap;
    }
    
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .notification {
        max-width: none;
    }
    
    .tooltip {
        font-size: 0.8rem;
        padding: 6px 10px;
        max-width: 200px;
        white-space: normal;
    }
    
    .contacts-header,
    .contacts-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .contacts-header > div:nth-child(3),
    .contacts-header > div:nth-child(4),
    .contacts-row > div:nth-child(3),
    .contacts-row > div:nth-child(4) {
        display: none;
    }

    /* SMS Demo Mobile */
    .sms-demo-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        padding: 1.5rem;
        align-items: center;
    }
    
    .computer-section {
        width: 100%;
        max-width: none;
        order: 1;
    }
    
    .phone-section {
        width: 100%;
        max-width: 280px;
        order: 2;
        margin: 0 auto;
    }
    
    .computer-screen {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .screen-content {
        padding: 1.5rem;
    }
    
    .message-compose {
        padding: 1.2rem;
    }
    
    .send-sms-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .phone-device {
        width: 100%;
        max-width: 280px;
        height: 520px;
        margin: 0 auto;
        transform: scale(0.95);
    }
    
    .sms-line {
        display: none; /* Hide connection line on mobile */
    }
    
    .message-log {
        padding: 1rem;
    }
    
    .log-header {
        font-size: 0.85rem;
    }
    
    .log-item {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.6rem 0;
        font-size: 0.75rem;
    }
    
    .log-time {
        min-width: 50px;
    }
    
    .log-phone {
        min-width: 90px;
    }
    
    .log-message {
        width: 100%;
        word-break: break-word;
    }
    
    /* Admin Panel Mobile */
    .admin-demo-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .admin-sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-nav-item {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-main {
        width: 100%;
    }
    
    /* Analytics Mobile Fixes */
    .analytics-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    .analytics-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .device-types,
    .visit-metrics {
        width: 100%;
        max-width: none;
    }
    
    .pie-chart-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .pie-chart {
        width: 200px;
        height: 200px;
    }
    
    .analytics-chart {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .chart-container {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .chart-legend {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        font-size: 0.9rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .visit-metrics-section {
        width: 100%;
    }
    
    .metric-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .metric-card h3 {
        font-size: 1.5rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    /* Payment Demo Mobile */
    .payment-demo-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
        padding: 1rem;
    }
    
    .payment-form {
        width: 100%;
        max-width: none;
        padding: 2rem 1.5rem;
        margin: 0;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 16px;
    }
    
    .payment-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .payment-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .payment-total {
        font-size: 2rem;
        margin: 1rem 0;
        color: #4ade80;
        font-weight: 700;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .payment-method {
        padding: 1rem;
        border-radius: 10px;
        text-align: center;
    }
    
    .payment-method i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .card-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .card-form input {
        width: 100%;
        padding: 0.875rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .form-row input {
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-group input {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .payment-submit {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    .payment-receipt {
        width: 100%;
        max-width: none;
        padding: 1.5rem;
        margin-top: 1rem;
        text-align: center;
    }
    
    .payment-success-area {
        min-height: 300px;
        padding: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .success-circle {
        width: 100px;
        height: 100px;
        margin: 0 auto 1rem;
    }
    
    .success-circle i {
        font-size: 3rem;
    }
    
    /* Blog Demo Mobile */
    .blog-demo-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .blog-editor,
    .blog-preview {
        width: 100%;
        max-width: none;
        padding: 1.5rem;
    }
    
    .preview-header {
        padding: 0.75rem;
        border-radius: 10px 10px 0 0;
    }
    
    .preview-header h3 {
        font-size: 1rem;
    }
    
    .preview-stats {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    
    .blog-post-preview {
        padding: 1.25rem;
    }
    
    .blog-post-preview h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }
    
    .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .post-meta span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    
    .post-content {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .post-content p {
        margin-bottom: 1rem;
    }
    
    .editor-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
        justify-content: center;
    }
    
    .editor-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
        border-radius: 8px;
    }
    
    .blog-title {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    #blog-content {
        min-height: 200px;
        font-size: 0.9rem;
        padding: 1rem;
        border-radius: 8px;
        line-height: 1.5;
    }
    
    .blog-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .blog-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .blog-preview {
        margin-top: 1rem;
    }
    
    .preview-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Search Demo Mobile */
    .search-demo-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .search-filters {
        width: 100%;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .search-bar {
        margin-bottom: 1.5rem;
    }
    
    .search-bar input {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        width: 100%;
    }
    
    .search-results {
        width: 100%;
    }
    
    .results-header {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-item {
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .product-price {
        font-size: 1.25rem;
        margin-top: 0.5rem;
    }
    
    /* Animation Demo Mobile */
    .animation-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .animation-item {
        padding: 1.5rem 1rem;
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .animation-item:active {
        transform: scale(0.95);
    }
    
    .animation-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .animation-item h4 {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .particle-system {
        height: 220px;
        margin-bottom: 2rem;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        background: linear-gradient(135deg, 
            rgba(59, 130, 246, 0.08) 0%, 
            rgba(147, 197, 253, 0.05) 25%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(147, 197, 253, 0.05) 75%,
            rgba(59, 130, 246, 0.08) 100%);
    }
    
    .particle-btn {
        padding: 16px 32px;
        font-size: 1rem;
        border-radius: 12px;
        width: auto;
        min-width: 200px;
        letter-spacing: 1.5px;
        font-weight: 600;
    }
    
    .morphing-shapes {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .shape {
        width: 60px;
        height: 60px;
        margin: 0.5rem;
    }
    
    /* Demo Header Mobile */
    .demo-header {
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .demo-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .demo-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
        max-width: 90%;
        margin: 0 auto;
    }
    
    .title-underline {
        width: 80px;
        margin: 1rem auto;
    }
    
    /* General Mobile Improvements */
    .demo-card {
        border-radius: 16px;
        overflow: hidden;
    }
    
    /* Notification Mobile */
    .notification-container {
        top: 20px;
        right: 15px;
        left: 15px;
        z-index: 10001;
    }
    
    .notification {
        max-width: none;
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }
    
    .notification i {
        font-size: 1.1rem;
    }
    
    /* Touch-friendly buttons */
    button, .btn, input[type="submit"] {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Improve form elements */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        padding: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Admin Panel Analytics - Fix overflowing elements */
    .analytics-section h2 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .device-types h3,
    .visit-metrics h3 {
        font-size: 1rem;
    }
    
    .chart-legend {
        font-size: 0.8rem;
    }
    
    .metric-card {
        padding: 0.75rem;
    }
    
    .metric-card h3 {
        font-size: 1.25rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    /* Payment Form - Prevent overflow */
    .payment-header h3 {
        font-size: 1.25rem;
    }
    
    .payment-total {
        font-size: 1.5rem;
    }
    
    .card-form input {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    /* SMS Demo - Fix text overflow */
    .log-item {
        font-size: 0.7rem;
        padding: 0.5rem 0;
    }
    
    .log-time {
        min-width: 45px;
    }
    
    .log-phone {
        min-width: 80px;
    }
    
    /* Blog Preview - Better mobile layout */
    .preview-header {
        padding: 0.5rem;
    }
    
    .preview-header h3 {
        font-size: 0.85rem;
    }
    
    .preview-stats {
        font-size: 0.75rem;
    }
    
    .preview-stats span {
        gap: 0.25rem;
    }
    
    .blog-post-preview {
        padding: 1rem;
    }
    
    .blog-post-preview h2 {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .post-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .post-content {
        font-size: 0.9rem;
    }
    
    .post-content h3 {
        font-size: 1rem;
    }
    
    .demos-hero {
        padding: 6rem 0 4rem 0;
    }
    
    .demos-hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .demos-hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .demo-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .demo-card {
        padding: 1.25rem 1rem;
        margin-bottom: 2.5rem;
        border-radius: 12px;
    }
    
    /* SMS Demo */
    .phone-device {
        width: 180px;
        height: 380px;
    }
    
    .computer-screen {
        min-height: 320px;
        padding: 1rem;
    }
    
    .message-compose textarea {
        min-height: 80px;
        font-size: 0.9rem;
    }
    
    /* Admin Demo */
    .admin-nav {
        gap: 0.25rem;
    }
    
    .admin-nav-item {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
        min-width: 80px;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Payment Demo */
    .payment-form {
        padding: 1.25rem;
    }
    
    .payment-header h3 {
        font-size: 1.25rem;
    }
    
    .payment-total {
        font-size: 1.75rem;
    }
    
    .payment-method {
        padding: 0.875rem;
    }
    
    .payment-method i {
        font-size: 1.25rem;
    }
    
    .form-group input {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .payment-submit {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .success-circle {
        width: 80px;
        height: 80px;
    }
    
    .success-circle i {
        font-size: 2.5rem;
    }
    
    /* Animation Demo */
    .animation-showcase {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .animation-item {
        padding: 1.25rem 1rem;
    }
    
    .animation-icon {
        font-size: 2rem;
    }
    
    .particle-system {
        height: 150px;
        margin-bottom: 1.5rem;
    }
    
    .particle-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    /* Blog Demo */
    .blog-editor,
    .blog-preview {
        padding: 1.25rem;
    }
    
    .editor-btn {
        padding: 0.625rem;
        font-size: 0.8rem;
        min-width: 36px;
    }
    
    .blog-title {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    #blog-content {
        min-height: 180px;
        padding: 0.875rem;
        font-size: 0.85rem;
    }
    
    /* Search Demo */
    .search-filters {
        padding: 1.25rem;
    }
    
    .search-bar input {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .filter-group select {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .product-item {
        padding: 1.25rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    /* Notifications */
    .notification {
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }
    
    .notification i {
        font-size: 1rem;
    }
    
    /* General touch improvements */
    button, .btn {
        min-height: 40px;
    }
    
    input, select, textarea {
        min-height: 40px;
    }
}

/* Screen shake animation for full-width particles */
@keyframes screenShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Additional smooth animations */
@keyframes mobileSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobileFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gentleGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
    }
}

@keyframes smoothSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth interactive animations */
.animation-item,
.product-item,
.stat-item,
.payment-method {
    animation: fadeInScale 0.6s ease-out;
}

.admin-nav-item {
    animation: smoothSlideIn 0.4s ease-out;
}

.editor-btn:hover,
.payment-method.active {
    animation: gentleGlow 2s ease-in-out infinite;
}

/* Demo entrance animations */
.sms-demo-container,
.payment-demo-container,
.admin-demo-container,
.blog-demo-container,
.search-demo-container,
.animation-demo-container {
    animation: containerSlideUp 0.8s ease-out;
}

.computer-screen,
.phone-device,
.payment-form,
.admin-sidebar,
.blog-editor {
    animation: elementFadeIn 1s ease-out 0.2s both;
}

@keyframes containerSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes elementFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile touch feedback */
@media (max-width: 768px) {
    .demo-card {
        animation: mobileSlideIn 0.6s ease-out;
    }
    
    button:active, .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .payment-method:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .animation-item:active {
        transform: scale(0.9);
    }
    
    /* Analytics Tab Mobile Fixes - ensure proper layout on all mobile devices */
    .analytics-content {
        padding: 0.5rem;
        width: 100%;
        overflow-x: hidden;
    }
    
    .analytics-content h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .analytics-grid {
        gap: 0.75rem;
        width: 100%;
        padding: 0;
    }
    
    .analytics-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .analytics-label {
        min-width: auto;
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .analytics-bar {
        width: 100%;
        height: 6px;
        margin: 0.25rem 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
    }
    
    .analytics-fill {
        height: 100%;
        background: #3b82f6;
        border-radius: 3px;
        transition: width 0.3s ease;
    }
    
    .analytics-value {
        font-size: 0.9rem;
        text-align: right;
        margin-top: 0.25rem;
        font-weight: 600;
        color: var(--white);
    }
}
