/* style.css - Complete Stylesheet for All Trifanzo Pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ===== COMMON STYLES ===== */

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(84%) sepia(4%) saturate(103%) hue-rotate(195deg) brightness(89%) contrast(84%);
}

.logo:hover .logo-img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(90%) saturate(877%) hue-rotate(339deg) brightness(101%) contrast(98%);
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #222;
}

/* LIQUID EFFECT BUTTON STYLES */
.nav-cta, .btn {
    position: relative;
    background: #ffa630;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-dark {
    background: #222;
}

.btn-dark::before {
    background: linear-gradient(115deg, 
        #222, #333, #444, #222, 
        #333, #444, #222) !important;
}

.nav-cta::before,
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    background: linear-gradient(115deg, 
        #ffa630, #ff8a00, #ff6b35, #ffa630, 
        #ff8a00, #ff6b35, #ffa630);
    z-index: -1;
    transition: transform 0.5s ease-in-out;
    transform: translateX(-25%);
}

.nav-cta:hover::before,
.btn:hover::before {
    transform: translateX(0);
    animation: liquidWave 1.5s linear infinite;
}

.nav-cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 166, 48, 0.4);
    color: white;
}

.btn-dark:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes liquidWave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400% 0;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #222;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 6px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 13px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 13px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-135deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 99;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    transform: translateX(-30px);
    opacity: 0;
    display: block;
    width: 100%;
    font-size: 1.1rem;
}

.mobile-menu.active a {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation for menu items */
.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover {
    color: #222;
    transform: translateX(10px) !important;
    background: #f8f9fa;
    padding-left: 15px;
    border-radius: 8px;
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 1rem;
    text-align: center;
    background: #ffa630;
    color: white;
    border-radius: 30px;
    padding: 0.9rem 1.5rem;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu a:last-child:hover {
    background: #e69520;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 166, 48, 0.3);
    padding-left: 1.5rem;
}

/* Main Container */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

/* ===== INDEX PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #222;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: #555;
    max-width: 900px;
    line-height: 1.5;
    margin: 0 auto 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hero .btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    background: #222;
    color: white;
    position: relative;
    z-index: 10;
}

/* Brands Section */
.brands {
    padding: 3rem 1rem;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

/* Centered Section Title for Brands */
.brands .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #222;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    display: block;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo-item {
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 25;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.portfolio-logo {
    max-width: 160px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover .portfolio-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.png-logo {
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover .png-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===== COMMON CONTENT STYLES ===== */

/* Content Sections */
.content-section {
    padding: 6rem 1.5rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #222;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #555;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
}

.last-updated {
    color: #666;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Content Blocks */
.content-block {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.content-block p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #ffa630;
    font-weight: 600;
}

/* Terms & Privacy Specific Styles */
.terms-content, .policy-content {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.term-section, .policy-section {
    margin-bottom: 3rem;
}

.term-section:last-child, .policy-section:last-child {
    margin-bottom: 0;
}

.term-section h2, .policy-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* This .section-title is for terms/privacy pages - left aligned */
.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
}

.section-icon {
    color: #ffa630;
    font-size: 2rem;
}

.term-section h2 .section-number, .subsection-number {
    color: #ffa630;
    margin-right: 0.5rem;
}

.term-section p, .subsection p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.term-section ul, .subsection ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.term-section li, .subsection li {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.term-section li:before, .subsection li:before {
    content: "•";
    color: #ffa630;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid #ffa630;
}

.contact-info h3, .contact-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.email-link {
    color: #ffa630;
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.contact-header, .ticket-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1, .ticket-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #222;
    line-height: 1.2;
}

.contact-header p, .ticket-header p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    max-width: 500px;
    line-height: 1.5;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-item {
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.contact-item h3 i {
    color: #ffa630;
    font-size: 1.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-note {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ffa630;
    margin-top: 2rem;
    text-align: center;
}

.contact-note h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #222;
}

.contact-note p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Support Ticket Styles */
.ticket-section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.ticket-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.ticket-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ticket-info-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ticket-info-box h3 i {
    color: #ffa630;
}

.ticket-info-box ul {
    list-style: none;
    margin-bottom: 2rem;
}

.ticket-info-box li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #555;
}

.ticket-info-box li:last-child {
    border-bottom: none;
}

.ticket-info-box li i {
    color: #ffa630;
    width: 20px;
}

.zoho-widget-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-height: 600px;
    position: relative;
}

.widget-header {
    text-align: center;
    margin-bottom: 2rem;
}

.widget-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

.widget-header p {
    color: #666;
    font-size: 1rem;
}

.zoho-iframe-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 570px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

#zsfeedbackFrame {
    width: 100%;
    max-width: 890px;
    height: 570px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.widget-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffa630;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alternative-contact {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.alternative-contact a {
    color: #ffa630;
    text-decoration: none;
    font-weight: 500;
}

.alternative-contact a:hover {
    text-decoration: underline;
}

/* ===== BACKGROUND EFFECTS ===== */

/* Grid Backgrounds */
.mobile-grid-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: mobileGridMove 25s linear infinite;
    pointer-events: none;
    overflow: hidden;
}

@keyframes mobileGridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

.desktop-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: desktopGridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes desktopGridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle 180px at var(--mouse-x) var(--mouse-y), rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle 180px at var(--mouse-x) var(--mouse-y), rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    transition: mask-image 0.1s ease, -webkit-mask-image 0.1s ease;
}

.glow-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    mask-image: radial-gradient(circle 220px at var(--mouse-x) var(--mouse-y), rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle 220px at var(--mouse-x) var(--mouse-y), rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(253, 158, 51, 0.15) 0%, rgba(253, 158, 51, 0.05) 100px, transparent 220px);
    transition: all 0.1s ease;
}

/* Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s;
    display: none;
}

.cursor-ring {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
    display: none;
}

/* ===== FOOTER ===== */

.footer {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    position: relative;
    z-index: 20;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #222;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #222;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    body {
        cursor: default;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Index Page */
    .hero {
        padding: 3rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .logo-item {
        width: 160px;
        height: 80px;
    }
    
    .portfolio-logo, .png-logo {
        max-width: 130px;
        max-height: 65px;
    }
    
    /* Common Pages */
    .content-section, .contact-section, .ticket-section {
        padding: 4rem 1rem 3rem;
    }
    
    .page-header h1, .contact-header h1, .ticket-header h1 {
        font-size: 2rem;
    }
    
    .page-header p, .contact-header p, .ticket-header p {
        font-size: 1.1rem;
    }
    
    .terms-content, .policy-content, .content-block, .contact-info-box, .ticket-info-box, .zoho-widget-container {
        padding: 2.5rem;
    }
    
    .term-section h2, .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .subsection h3 {
        font-size: 1.3rem;
    }
    
    .term-section p, .term-section li, .subsection p, .subsection li, .content-block p {
        font-size: 1rem;
    }
    
    .contact-item h3, .ticket-info-box h3, .widget-header h3 {
        font-size: 1.3rem;
    }
    
    .mobile-menu {
        height: calc(100vh - 70px);
    }
    
    .mobile-menu a {
        font-size: 1.1rem;
        padding: 1.2rem 0;
    }
    
    .ticket-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #zsfeedbackFrame {
        height: 500px;
    }
    
    /* Mobile - Show mobile grid, hide desktop elements */
    .mobile-grid-bg {
        display: block;
    }
    
    .desktop-grid-bg {
        display: none;
    }
    
    .grid-overlay {
        display: none;
    }
    
    .glow-effect {
        display: none;
    }
    
    .cursor, .cursor-ring {
        display: none;
    }
    
    /* Disable liquid effects on mobile */
    .nav-cta::before, .btn::before {
        animation: none !important;
        display: none;
    }
    
    .nav-cta:hover, .btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    body {
        cursor: none;
    }
    
    .mobile-grid-bg {
        display: none;
    }
    
    .desktop-grid-bg {
        display: block;
    }
    
    .grid-overlay {
        display: block;
    }
    
    .glow-effect {
        display: block;
    }
    
    .cursor, .cursor-ring {
        display: block;
    }
}

@media (max-width: 480px) {
    /* Index Page */
    .hero {
        padding: 3rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .brands .section-title {
        font-size: 1.7rem;
    }
    
    .logo-item {
        width: 140px;
        height: 70px;
    }
    
    .portfolio-logo, .png-logo {
        max-width: 110px;
        max-height: 55px;
    }
    
    /* Common Pages */
    .content-section, .contact-section, .ticket-section {
        padding: 3rem 1rem 2rem;
    }
    
    .page-header h1, .contact-header h1, .ticket-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p, .contact-header p, .ticket-header p {
        font-size: 1rem;
    }
    
    .terms-content, .policy-content, .content-block, .contact-info-box, .ticket-info-box, .zoho-widget-container {
        padding: 2rem;
    }
    
    .term-section h2, .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .mobile-menu a {
        font-size: 1rem;
        padding: 1rem 0;
    }
    
    .mobile-menu a:last-child {
        padding: 0.8rem 1.2rem;
        margin-top: 0.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    #zsfeedbackFrame {
        height: 450px;
    }
    
    /* Even more visible on small mobile */
    .mobile-grid-bg {
        opacity: 0.25;
        background-size: 25px 25px;
        animation: mobileGridMove 20s linear infinite;
    }
    
    @keyframes mobileGridMove {
        0% {
            background-position: 0 0;
        }
        100% {
            background-position: 50px 50px;
        }
    }
}

@media (max-width: 1024px) {
    .ticket-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
    }
    
    #zsfeedbackFrame {
        height: 600px;
    }
}

@media (max-width: 360px) {
    /* Index Page */
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .brands .section-title {
        font-size: 1.5rem;
    }
    
    .logo-item {
        width: 120px;
        height: 60px;
    }
    
    .portfolio-logo, .png-logo {
        max-width: 90px;
        max-height: 45px;
    }
    
    /* Common Pages */
    .page-header h1, .contact-header h1, .ticket-header h1 {
        font-size: 1.6rem;
    }
    
    .terms-content, .policy-content, .content-block, .contact-info-box, .ticket-info-box, .zoho-widget-container {
        padding: 1.5rem;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #zsfeedbackFrame {
        height: 400px;
    }
}
/*404*/
/* 404 Error Page Styles */.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-image {
    margin-bottom: 2rem;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.error-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.error-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6e8efb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-message {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-buttons .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.error-buttons .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.error-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.error-buttons .btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
}

.error-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .error-title {
        font-size: 2.5rem;
    }
    
    .error-message {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .error-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .error-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .error-stats {
        gap: 2rem;
    }
    
    .error-img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .error-title {
        font-size: 2rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .error-img {
        max-width: 200px;
    }
}

/*sitemap*/

.sitemap-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .sitemap-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .sitemap-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-color) 0%, #6e8efb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .sitemap-subtitle {
            font-size: 1.2rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .sitemap-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            margin-bottom: 4rem;
        }

        .sitemap-category {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .sitemap-category:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .category-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .category-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #6e8efb 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .category-icon i {
            font-size: 1.5rem;
            color: white;
        }

        .category-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-color);
        }

        .sitemap-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sitemap-links li {
            margin-bottom: 1rem;
            position: relative;
        }

        .sitemap-links li:last-child {
            margin-bottom: 0;
        }

        .link-arrow {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1rem;
        }

        .sitemap-links a {
            color: var(--text-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0.75rem 0.75rem 2rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .sitemap-links a:hover {
            background: rgba(var(--primary-rgb), 0.1);
            color: var(--primary-color);
            padding-left: 2.5rem;
        }

        .sitemap-links a:hover .link-arrow {
            left: 0.5rem;
        }

        .sitemap-links .link-icon {
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .sitemap-info {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sitemap-info p {
            color: var(--text-light);
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .sitemap-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .stat-box {
            text-align: center;
            padding: 1.5rem;
            min-width: 150px;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-color) 0%, #6e8efb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 768px) {
            .sitemap-container {
                padding: 2rem 1rem;
            }

            .sitemap-title {
                font-size: 2.5rem;
            }

            .sitemap-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .sitemap-category {
                padding: 1.5rem;
            }

            .category-header {
                gap: 0.75rem;
            }

            .category-icon {
                width: 40px;
                height: 40px;
            }

            .category-icon i {
                font-size: 1.25rem;
            }

            .sitemap-stats {
                gap: 1.5rem;
            }

            .stat-box {
                min-width: 120px;
                padding: 1rem;
            }

            .stat-number {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .sitemap-title {
                font-size: 2rem;
            }

            .sitemap-subtitle {
                font-size: 1rem;
            }

            .stat-box {
                min-width: 100px;
            }
        }