/* Products Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-template-page-products {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: white;
    overflow-x: hidden;
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}


.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(74, 144, 226, 0.1) 25%,
        rgba(126, 211, 33, 0.15) 50%,
        rgba(74, 144, 226, 0.1) 75%,
        transparent 100%
    );
    animation: iotSweep 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gridFlow {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-60px) translateY(-60px);
    }
}

@keyframes iotSweep {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.logo {
    width: 200px;
    height: 80px;
    background: url('myasset-1-final.png') center/contain no-repeat;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)) drop-shadow(0 0 20px rgba(74, 144, 226, 0.2));
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)) drop-shadow(0 0 20px rgba(74, 144, 226, 0.2));
    }
    100% {
        filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)) drop-shadow(0 0 30px rgba(126, 211, 33, 0.4));
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 40px;
}

.explore-btn {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.explore-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    opacity: 0.6;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.scroll-indicator:hover {
    opacity: 1;
}

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

.products-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: none;
    background: #f8f9fa;
    min-height: 100vh;
}

.products-section .section-header {
    text-align: center !important;
    margin-bottom: 50px;
    display: block;
}

.products-section .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    letter-spacing: -0.5px;
    text-align: center !important;
}

.products-section .section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    text-align: center !important;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-header {
    padding: 30px;
    color: white;
    position: relative;
}

.product-header.mobile {
    background: #4a90e2;
}

.product-header.stationary {
    background: #e74c3c;
}

.product-header.gps {
    background: #f39c12;
}

.product-header.shadow {
    background: #9b59b6;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.product-content {
    padding: 30px;
    color: #333;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #666;
    font-size: 0.9rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.perfect-for {
    margin-top: 20px;
}

.perfect-for h4 {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #e9ecef;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: space-between;
    align-items: center;
    display: none;
}

.login-btn {
    background: rgba(74, 144, 226, 0.2);
    color: white;
    padding: 8px 16px;
    border: 1px solid rgba(74, 144, 226, 0.5);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-logo {
    height: 40px;
    background: url('myasset-1-final.png') left center/contain no-repeat;
    width: 150px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.back-to-home {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
    transition: all 0.3s ease;
    display: none;
}

.back-to-home:hover {
    background: rgba(44, 62, 80, 1);
    transform: translateY(-2px);
}

.back-to-home::before {
    content: '← ';
    margin-right: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #333;
}

.modal-header {
    padding: 30px;
    color: white;
    position: relative;
    border-radius: 15px 15px 0 0;
}

.modal-header.mobile {
    background: #4a90e2;
}

.modal-header.stationary {
    background: #e74c3c;
}

.modal-header.gps {
    background: #f39c12;
}

.modal-header.shadow {
    background: #9b59b6;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
}

.close:hover {
    opacity: 1;
}

.modal-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.modal-body {
    padding: 30px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.modal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-section.how-it-works h3 {
    color: #4a90e2;
}

.modal-section.key-benefits h3 {
    color: #4a90e2;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.step-number.stationary {
    background: #e74c3c;
}

.step-number.gps {
    background: #f39c12;
}

.step-number.shadow {
    background: #9b59b6;
}

.step-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.benefit-check {
    color: #27ae60;
    font-weight: bold;
}

.get-started-btn {
    background: #4a90e2;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.get-started-btn.stationary {
    background: #e74c3c;
}

.get-started-btn.gps {
    background: #f39c12;
}

.get-started-btn.shadow {
    background: #9b59b6;
}

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

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.contact-content {
    background: white;
    margin: 2% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    position: relative;
    color: #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-header {
    padding: 25px 30px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.contact-header.mobile {
    background: #4a90e2;
}

.contact-header.stationary {
    background: #e74c3c;
}

.contact-header.gps {
    background: #f39c12;
}

.contact-header.shadow {
    background: #9b59b6;
}

.contact-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
}

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

.contact-icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: inline;
}

.contact-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.contact-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.contact-form:hover {
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.contact-form::-webkit-scrollbar {
    width: 6px;
}

.contact-form::-webkit-scrollbar-track {
    background: transparent;
}

.contact-form::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
}

.contact-form:hover::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.contact-form:hover::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

.contact-form::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.form-section {
    margin-bottom: 25px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.section-number {
    width: 25px;
    height: 25px;
    background: #4a90e2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
}

.additional-products {
    margin: 20px 0;
}

.additional-products p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.product-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.product-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.product-option:hover {
    border-color: #4a90e2;
}

.product-option.selected {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.product-option.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4a90e2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.product-option .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.product-option .name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-option .desc {
    font-size: 0.75rem;
    color: #666;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.pricing-alert {
    background: #e3f2fd;
    border: 1px solid #4a90e2;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    display: none;
}

.pricing-alert .icon {
    color: #4a90e2;
    margin-right: 8px;
}

.pricing-alert .text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.project-details textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.pricing-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: #4a90e2;
}

.pricing-card.selected {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.pricing-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4a90e2;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.pricing-tier {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.pricing-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 5px;
}

.pricing-users {
    font-size: 0.8rem;
    color: #666;
}

.bronze { border-color: #cd7f32; }
.bronze.selected { background: #fdf6f0; border-color: #cd7f32; }
.bronze .pricing-amount { color: #cd7f32; }

.silver { border-color: #c0c0c0; }
.silver.selected { background: #f8f8f8; border-color: #c0c0c0; }
.silver .pricing-amount { color: #c0c0c0; }

.gold { border-color: #ffd700; }
.gold.selected { background: #fffdf0; border-color: #ffd700; }
.gold .pricing-amount { color: #ffd700; }

.platinum { border-color: #e5e4e2; }
.platinum.selected { background: #f9f9f9; border-color: #e5e4e2; }
.platinum .pricing-amount { color: #666; }

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-options {
        grid-template-columns: 1fr;
    }
    
    .pricing-plans {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-section .section-title {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background: transparent;
    color: white;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.footer-logo {
    height: 40px;
    background: url('myasset-1-final.png') left center/contain no-repeat;
    width: 150px;
    display: inline-block;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    white-space: nowrap;
    display: inline-block;
    float: right;
}
