/* TriPayments OS Specific Styles */

/* Hero Section */
.tripos-hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.tripos-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tripos-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Device Showcase */
.device-showcase {
    padding: 6rem 0;
    background: #f8fafc;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.device-item {
    text-align: center;
}

.device-frame {
    position: relative;
    margin: 0 auto 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.tablet-frame {
    width: 300px;
    height: 400px;
    background: #1f2937;
    padding: 20px;
}

.phone-frame {
    width: 200px;
    height: 360px;
    background: #1f2937;
    padding: 15px;
    border-radius: 25px;
}

.desktop-frame {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background: #1f2937;
    padding: 10px;
    border-radius: 8px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* TriPOS Interface Styles */
.tripos-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.interface-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.8rem;
}

.logo-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.logo-mini .material-icons {
    font-size: 16px;
}

.interface-time {
    font-weight: 500;
}

.interface-content {
    flex: 1;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.amount-display {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 200px;
}

.amount-display.compact {
    padding: 10px 15px;
    max-width: 150px;
}

.currency {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 500;
}

.amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: 5px;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 200px;
    margin-bottom: 15px;
}

.keypad.compact {
    gap: 6px;
    max-width: 150px;
}

.keypad-row {
    display: contents;
}

.key {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.key:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.key:active {
    transform: translateY(0);
}

.key.clear {
    background: #fef2f2;
    color: #dc2626;
}

.key.delete {
    background: #fef3c7;
    color: #d97706;
}

.charge-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #4ECDC4;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 200px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.charge-btn.compact {
    padding: 10px 15px;
    max-width: 150px;
    font-size: 0.9rem;
}

.charge-btn:hover {
    background: white;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #4ECDC4, #45B7D1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Desktop Interface Specific */
.desktop-interface {
    flex-direction: row;
}

.interface-sidebar {
    width: 120px;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.interface-sidebar .logo-mini {
    margin-bottom: 15px;
    font-size: 0.7rem;
    flex-direction: column;
    text-align: center;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border-radius: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.6rem;
    transition: all 0.2s ease;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-item .material-icons {
    font-size: 14px;
    margin-bottom: 2px;
}

.interface-main {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: white;
}

.main-header h2 {
    font-size: 0.9rem;
    font-weight: 600;
}

.pos-layout {
    display: flex;
    gap: 10px;
    flex: 1;
}

.pos-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pos-right {
    width: 80px;
    display: flex;
    flex-direction: column;
}

.amount-display.large {
    max-width: 120px;
    padding: 8px 12px;
}

.amount-display.large .amount {
    font-size: 1.2rem;
}

.keypad.large {
    max-width: 120px;
    gap: 4px;
}

.keypad.large .key {
    padding: 6px;
    font-size: 0.7rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 0.6rem;
    color: #4ECDC4;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.payment-btn .material-icons {
    font-size: 12px;
}

.payment-btn:hover {
    background: white;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #4ECDC4, #45B7D1);
    transform: translateY(-1px);
}

/* Interactive Demo */
.interactive-demo {
    padding: 6rem 0;
    background: white;
}

.demo-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.demo-device {
    background: #1f2937;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.demo-screen {
    background: white;
    border-radius: 12px;
    overflow: visible;
    min-height: 500px;
    height: auto;
}

.tripos-demo {
    min-height: 100%;
    height: auto;
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.demo-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.demo-controls .demo-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-controls .demo-btn:hover {
    background: white;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #4ECDC4, #45B7D1);
}

.demo-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.demo-display {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.demo-display .amount-input {
    margin-bottom: 20px;
}

.demo-display .currency {
    font-size: 2rem;
    color: #6b7280;
    font-weight: 500;
}

.demo-display .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: 10px;
}

.transaction-info {
    color: #6b7280;
    font-size: 1rem;
}

.demo-keypad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.keypad-section h4,
.payment-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.demo-keypad .keypad {
    max-width: none;
    gap: 10px;
}

.demo-keypad .key {
    padding: 15px;
    font-size: 1.2rem;
    border-radius: 10px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-option {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 15px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4ECDC4;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.payment-option:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.payment-option .material-icons {
    font-size: 24px;
}

/* Demo Features */
.demo-features h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item .material-icons {
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-size: 20px;
}

.feature-item h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Technical Specifications */
.tech-specs {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.spec-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.spec-category h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.spec-category ul {
    list-style: none;
}

.spec-category li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.spec-category li:last-child {
    border-bottom: none;
}

.spec-category .material-icons {
    color: #4ECDC4;
    font-size: 18px;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active Navigation Link */
.nav-link.active {
    color: white;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Tablet Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .tripos-hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: none;
    }
    
    .demo-screen {
        height: auto;
        min-height: 800px;
        overflow: visible;
    }
    
    .tripos-demo {
        min-height: 800px;
        overflow: visible;
    }
    
    .demo-content {
        padding: 20px;
    }
    
    .demo-display {
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .demo-keypad {
        max-height: none;
        overflow: visible;
        min-height: 300px;
        flex: 1;
    }
    
    .keypad-section {
        min-height: 250px;
        overflow: visible;
    }
    
    .device-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .tablet-frame {
        width: 280px;
        height: 350px;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 3rem 0;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .tripos-hero h1 {
        font-size: 2.5rem;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-keypad {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .tripos-hero {
        padding: 6rem 0 3rem;
    }
    
    .tripos-hero h1 {
        font-size: 2rem;
    }
    
    .tablet-frame {
        width: 250px;
        height: 320px;
    }
    
    .phone-frame {
        width: 160px;
        height: 280px;
    }
    
    .demo-screen {
        height: 400px;
    }
    
    .demo-display .amount {
        font-size: 2rem;
    }
    
    .demo-keypad .key {
        padding: 12px;
        font-size: 1rem;
    }
}