* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea,
button,
a {
    -webkit-user-select: text;
    user-select: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background: #e8e8e8;
    color: #2c3e50;
}

nav a.active {
    background: #4a5568;
    color: white;
}

main {
    flex: 1;
    padding: 40px 20px;
}

h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.rates-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.update-date {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.rate-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a5568;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: #4a5568;
    margin-bottom: 8px;
}

.price span {
    font-size: 18px;
    font-weight: 500;
    color: #666;
}

.gst-info {
    color: #666;
    font-size: 14px;
}

.contact-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.contact-item .icon {
    font-size: 32px;
}

.contact-item .details strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 18px;
}

.contact-item .details p {
    color: #555;
    line-height: 1.8;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2c3e50;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.whatsapp-btn,
.chatbot-btn,
.order-btn {
    flex: 1;
    min-width: 200px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.chatbot-btn {
    background: linear-gradient(135deg, #4a5568 0%, #2c3e50 100%);
    color: white;
}

.chatbot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 85, 104, 0.3);
}

.chatbot-container {
    position: fixed;
    bottom: -500px;
    right: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease;
    z-index: 1000;
}

.chatbot-container.active {
    bottom: 20px;
}

.chatbot-header {
    background: linear-gradient(135deg, #4a5568 0%, #2c3e50 100%);
    color: white;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
}

.bot-message,
.user-message {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 12px;
    max-width: 80%;
}

.bot-message {
    background: white;
    border: 1px solid #dee2e6;
}

.user-message {
    background: #4a5568;
    color: white;
    margin-left: auto;
}

.timestamp {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.user-message .timestamp {
    color: rgba(255, 255, 255, 0.7);
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #dee2e6;
}

.chatbot-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
}

.chatbot-input button {
    padding: 12px 24px;
    background: #4a5568;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.chatbot-input button:hover {
    background: #2c3e50;
}

.bank-section,
.terms-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.bank-card {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #dee2e6;
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #dee2e6;
}

.bank-detail:last-child {
    border-bottom: none;
}

.bank-detail .label {
    color: #666;
    font-weight: 600;
}

.bank-detail .value {
    color: #2c3e50;
    font-weight: 700;
    text-align: right;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 20px;
    border-radius: 12px;
    margin-top: 24px;
    color: #856404;
}

.terms-content {
    margin-top: 30px;
}

.term-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #dee2e6;
}

.term-number {
    background: #4a5568;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.term-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 18px;
}

.term-text p {
    color: #555;
    line-height: 1.8;
}

.action-section {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.back-btn,
.order-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-btn {
    background: #e9ecef;
    color: #2c3e50;
    border: 2px solid #dee2e6;
}

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

.order-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 24px 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
}

button,
.whatsapp-btn,
.chatbot-btn,
.order-btn,
.back-btn,
nav a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

.rate-card,
.contact-item,
.term-item,
.bank-card {
    touch-action: manipulation;
}

@media (max-width: 768px) {
    header {
        padding: 16px 0;
    }
    header .container {
        flex-direction: column;
        gap: 12px;
    }
    header h1 {
        font-size: 24px;
    }
    nav {
        width: 100%;
        justify-content: center;
    }
    nav a {
        padding: 12px 16px;
        font-size: 14px;
    }
    main {
        padding: 20px 12px;
    }
    .rates-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rate-card {
        padding: 24px;
    }
    .price {
        font-size: 42px;
    }
    .contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-item {
        padding: 20px;
    }
    .action-buttons {
        flex-direction: column;
    }
    .whatsapp-btn,
    .chatbot-btn {
        width: 100%;
        padding: 18px 32px;
        font-size: 15px;
    }
    .rates-section,
    .contact-section,
    .bank-section,
    .terms-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 22px;
    }
    .chatbot-container {
        width: calc(100vw - 24px);
        right: 12px;
    }
    .chatbot-container.active {
        bottom: 12px;
    }
    .chatbot-messages {
        height: 250px;
    }
    .action-section {
        flex-direction: column;
    }
    .back-btn,
    .order-btn {
        width: 100%;
        padding: 18px 32px;
    }
    .bank-card {
        padding: 20px;
    }
    .bank-detail {
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
    }
    .bank-detail .value {
        text-align: left;
        font-size: 15px;
    }
    .term-item {
        padding: 16px;
        gap: 12px;
    }
    .term-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    footer {
        padding: 20px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .rate-card {
        padding: 20px;
    }
    .company-name {
        font-size: 20px;
    }
    .price {
        font-size: 36px;
    }
    h2 {
        font-size: 20px;
    }
    .contact-item .icon {
        font-size: 28px;
    }
    .warning-box {
        padding: 16px;
        font-size: 14px;
    }
}
