/*
Theme Name: THOPASS
Theme URI: https://thopass.com
Author: THOPASS Team
Author URI: https://thopass.com
Description: Professional cloud infrastructure and VM hosting website theme with clean light mode aesthetic. Features Ultra-Fast NVMe VPS hosting, pricing tables, features section, and client portal integration.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thopass
Tags: light-mode, hosting, cloud, vps, modern, responsive, one-column, custom-colors, custom-menu, featured-images, threaded-comments
*/

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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b7f;
    --accent-primary: #0070f3;
    --accent-secondary: #5a67d8;
    --accent-gradient: linear-gradient(135deg, #0070f3 0%, #5a67d8 100%);
    --border-color: #e0e0e0;
    --shadow-glow: 0 0 30px rgba(0, 112, 243, 0.15);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
    
    /* Abstract Background Colors */
    --bg-gradient-1: #e6f2ff;
    --bg-gradient-2: #cce5ff;
    --bg-gradient-3: #ffffff;
    --bg-gradient-4: #f0f8ff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Abstract Vector Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 112, 243, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(90, 103, 216, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 112, 243, 0.03) 0%, transparent 60%),
        linear-gradient(135deg, rgba(0, 112, 243, 0.02) 0%, rgba(90, 103, 216, 0.02) 100%);
    pointer-events: none;
}

/* Floating 3D Geometric Shapes Background */
.abstract-bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
}

.shape {
    position: absolute;
    border-radius: 20px;
    filter: blur(1px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.08) 0%, rgba(90, 103, 216, 0.05) 100%);
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 0s;
    box-shadow: 0 20px 60px rgba(0, 112, 243, 0.08);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(90, 103, 216, 0.06) 0%, rgba(0, 112, 243, 0.04) 100%);
    top: 60%;
    right: 10%;
    transform: rotate(-30deg);
    animation-delay: -5s;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(90, 103, 216, 0.05);
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.07) 0%, rgba(90, 103, 216, 0.04) 100%);
    bottom: 15%;
    left: 15%;
    transform: rotate(60deg);
    animation-delay: -10s;
    border-radius: 40px;
    box-shadow: 0 25px 70px rgba(0, 112, 243, 0.06);
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(90, 103, 216, 0.08) 0%, rgba(0, 112, 243, 0.05) 100%);
    top: 30%;
    right: 20%;
    transform: rotate(-45deg);
    animation-delay: -15s;
    border-radius: 25px;
    box-shadow: 0 18px 55px rgba(90, 103, 216, 0.05);
}

.shape-5 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.06) 0%, rgba(90, 103, 216, 0.04) 100%);
    bottom: 30%;
    right: 5%;
    transform: rotate(30deg);
    animation-delay: -7s;
    border-radius: 35px;
    box-shadow: 0 20px 65px rgba(0, 112, 243, 0.04);
}

.shape-6 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(90, 103, 216, 0.07) 0%, rgba(0, 112, 243, 0.04) 100%);
    top: 50%;
    left: 50%;
    transform: rotate(-60deg);
    animation-delay: -12s;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(90, 103, 216, 0.05);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg));
    }
    25% {
        transform: translate(30px, -30px) rotate(calc(var(--rotation, 0deg) + 10deg));
    }
    50% {
        transform: translate(-20px, 20px) rotate(calc(var(--rotation, 0deg) - 10deg));
    }
    75% {
        transform: translate(20px, 30px) rotate(calc(var(--rotation, 0deg) + 5deg));
    }
}

.shape-1 { --rotation: 45deg; }
.shape-2 { --rotation: -30deg; }
.shape-3 { --rotation: 60deg; }
.shape-4 { --rotation: -45deg; }
.shape-5 { --rotation: 30deg; }
.shape-6 { --rotation: -60deg; }

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

/* ========================================
   HEADER / NAVIGATION STYLES
   ======================================== */

/* Main Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* Brand/Logo Section */
.nav-brand {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-image,
.custom-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block !important;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1);
    visibility: visible !important;
    opacity: 1 !important;
}

/* Make logo brighter if it's too dark on dark background */
.logo-image.logo-bright,
.custom-logo.logo-bright {
    filter: brightness(1.5) contrast(1.1);
}

.logo-image.logo-invert,
.custom-logo.logo-invert {
    filter: invert(1) brightness(1.2);
}

.logo-link:hover .logo-image,
.logo-link:hover .custom-logo {
    transform: scale(1.05);
}

.logo-link:hover .logo-image:not(.logo-bright):not(.logo-invert),
.logo-link:hover .custom-logo:not(.logo-bright):not(.logo-invert) {
    filter: brightness(1.1);
}

.logo-link:hover .logo-image.logo-bright,
.logo-link:hover .custom-logo.logo-bright {
    filter: brightness(1.7) contrast(1.15);
}

.logo-link:hover .logo-image.logo-invert,
.logo-link:hover .custom-logo.logo-invert {
    filter: invert(1) brightness(1.3);
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    filter: blur(15px);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when menu is open */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

/* Underline animation on hover */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Client Portal Button in Header */
.btn-portal {
    padding: 0.6rem 1.5rem;
    background: var(--accent-gradient);
    border-radius: 6px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #ffffff !important;
}

.btn-portal::after {
    display: none;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(2px);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(255, 255, 255, 0.8) 50%, var(--bg-primary) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 112, 243, 0.1);
    border: 1px solid rgba(0, 112, 243, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 112, 243, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 112, 243, 0.2), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(90, 103, 216, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(0, 112, 243, 0.15), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s infinite;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    50% { background-position: 100% 100%, 0% 0%, 30% 70%; }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 112, 243, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--text-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    color: var(--text-secondary);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.btn-pricing {
    width: 100%;
    text-align: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    color: #ffffff;
}

.btn-pricing:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-featured {
    background: var(--accent-gradient);
    border: none;
}

/* ========================================
   SHOWCASE SECTION
   ======================================== */

.showcase {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.showcase-features {
    list-style: none;
}

.showcase-features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.showcase-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.showcase-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1) contrast(1);
}

/* ========================================
   FOOTER
   ======================================== */

-brand .logo-image.footer-logo:hover,
.footer-brand .custom-logo.footer-logo:hover {
    transform: scale(1.05);
}

.footer-brand .logo-image.footer-logo:not(.logo-bright):not(.logo-invert):hover,
.footer-brand .custom-logo.footer-logo:not(.logo-bright):not(.logo-invert):hover {
    filter: brightness(1.1);
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-primary);
}

.footer-portal-link {
    color: var(--accent-primary) !important;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* TABLET VIEW (768px - 1024px) */
@media (max-width: 1024px) {
    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem 0;
        font-size: 1rem;
    }

    .nav-menu a::after {
        display: none;
    }

    /* Client Portal Button in Mobile Menu */
    .nav-menu .btn-portal {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Adjust navbar container */
    .navbar .container {
        flex-wrap: nowrap;
    }

    /* Hero Section Adjustments */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    /* Features Grid - 2 columns on tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Pricing Grid - 2 columns on tablet */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Showcase Grid */
    .showcase-grid {
        gap: 3rem;
    }

    .showcase-title {
        font-size: 2rem;
    }
}

/* MOBILE VIEW (max-width: 768px) */
@media (max-width: 768px) {
    /* Header/Navbar Mobile Styles */
    .navbar {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-image,
    .custom-logo {
        height: 32px;
        max-width: 150px;
    }

    /* Mobile menu full width */
    .nav-menu {
        width: 100%;
        right: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Features & Pricing Mobile - Single Column */
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .pricing-card {
        padding: 1.5rem;
    }

    /* Showcase Section */
    .showcase {
        padding: 4rem 0;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-title {
        font-size: 1.8rem;
    }

    .showcase-description {
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand .logo-image.footer-logo,
    .footer-brand .custom-logo.footer-logo {
        height: 28px;
        max-width: 140px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    /* Reduce background shapes on mobile for performance */
    .abstract-bg-shapes {
        opacity: 0.2;
    }

    .shape {
        width: 150px !important;
        height: 150px !important;
    }
}

/* SMALL MOBILE VIEW (max-width: 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.7rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-image,
    .custom-logo {
        height: 28px;
        max-width: 130px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .feature-card,
    .pricing-card {
        padding: 1.25rem;
    }

    .showcase-title {
        font-size: 1.6rem;
    }

    .footer-brand .logo-image.footer-logo,
    .footer-brand .custom-logo.footer-logo {
        height: 28px;
        max-width: 140px;
    }

    /* Even smaller background shapes */
    .shape {
        width: 100px !important;
        height: 100px !important;
    }
}

/* LANDSCAPE MOBILE FIX */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .nav-menu {
        padding-top: 60px;
    }
}

/* LARGE DESKTOP (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* High resolution display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .shape {
        filter: blur(0.5px);
    }
    
    body::before {
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 112, 243, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(90, 103, 216, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(0, 112, 243, 0.04) 0%, transparent 60%),
            linear-gradient(135deg, rgba(0, 112, 243, 0.03) 0%, rgba(90, 103, 216, 0.02) 100%);
    }
} {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .logo-image.footer-logo,
.footer-brand .custom-logo.footer-logo {
    height: 35px;
    width: auto;
    max-width: 180px;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand .logo-image.footer-logo:not(.logo-bright):not(.logo-invert),
.footer-brand .custom-logo.footer-logo:not(.logo-bright):not(.logo-invert) {
    filter: brightness(0.9);
}

.footer