/* 
* HOKOVPS - Main Stylesheet
* Brand Primary Color: #1E3A8A
* Secondary Color: #10B981
*/

:root {
    --primary: #1E3A8A;
    --primary-dark: #152c69;
    --primary-light: #2a4dbb;
    --secondary: #10B981;
    --secondary-dark: #0d9668;
    --secondary-light: #34d399;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --container-width: 1200px;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.button:hover {
    background-color: var(--gray-300);
    color: var(--gray-900);
}

.button.primary {
    background-color: var(--primary);
    color: var(--white);
}

.button.primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.button.secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.button.secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    z-index: 1000;
    height: 60px; /* Fixed height to prevent layout shifts */
    display: flex;
    align-items: center;
}

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

/* Header Left Section (Logo) */
.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Header Center Section (Navigation) */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Header Right Section (Client Area + Hamburger) */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.2;
}

/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    gap: 1.5rem;
}

.desktop-nav ul li a {
    color: var(--gray-700);
    font-weight: 500;
    transition: transform 0.2s ease-in-out;
    will-change: transform;
}

.desktop-nav ul li a:hover, 
.desktop-nav ul li a.active {
    transform: translateY(-1px);
    color: var(--primary);
}

/* Client Area Button - Desktop */
.client-area-desktop {
    white-space: nowrap;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    margin: 0;
    height: 40px;
}

.hamburger-menu span {
    background-color: var(--primary);
    display: block;
    height: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    width: 30px;
    will-change: transform, opacity;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    z-index: 999;
    will-change: transform;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-menu nav ul li {
    border-bottom: 1px solid var(--gray-200);
}

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

.mobile-menu nav ul li a {
    color: var(--gray-700);
    display: block;
    font-weight: 500;
    padding: 1rem;
    transition: color 0.2s ease-in-out;
}

.mobile-menu nav ul li a:hover,
.mobile-menu nav ul li a.active {
    color: var(--primary);
}

.client-area-link {
    background-color: var(--primary);
    border-radius: var(--radius-md);
    color: var(--white) !important;
    margin-top: 0.5rem;
    text-align: center;
}

.client-area-link:hover {
    background-color: var(--primary-dark);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 6rem 0;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    color: var(--gray-100);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

/* Features Section */
.features {
    background-color: var(--gray-50);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    will-change: transform;
    height: 100%; /* Fixed height to prevent layout shifts */
    min-height: 250px; /* Minimum height */
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

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

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pricing-card .badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    margin-right: 0.25rem;
}

.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

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

.pricing-features ul li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
}

.pricing-features ul li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 0.5rem;
}

.pricing-footer {
    text-align: center;
}

.pricing-footer .button {
    width: 100%;
}

/* Storage Add-ons */
.storage-addons {
    margin-top: 4rem;
}

.storage-addons h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.storage-addons > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.addon-card {
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.addon-card h4 {
    margin-bottom: 1rem;
}

.addon-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.addon-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Call-to-Action Section */
.cta {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-100);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 5rem 0 2rem;
}

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

.footer-branding .logo h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-branding .tagline {
    font-size: 0.75rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--gray-400);
    transition: transform 0.2s ease-in-out;
    will-change: transform;
    display: inline-block;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--gray-400);
    transition: transform 0.2s ease-in-out;
    will-change: transform;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
}

.copyright p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-center {
        display: none;
    }
    
    .client-area-desktop {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo, .cta-button {
        flex-basis: 100%;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .logo {
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
} 