/* 
   PureKVM - Main Stylesheet
   A minimal and elegant design for a VPS provider
*/

/* Base Styles & Variables */
:root {
    --primary-color: #2171b5;
    --secondary-color: #1a2530;
    --accent-color: #148f77;
    --text-color: #333;
    --light-text: #ffffff;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a2530;
    --border-color: #e9ecef;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

a {
    color: #0967d2;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #044289;
    text-decoration: underline;
}

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

section {
    padding: 60px 0;
}

/* Header Styles */
header {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-text);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Make email link more visible */
.footer-section a[href^="mailto:"] {
    color: #3dd5f3;
    font-weight: 500;
}

.footer-section a[href^="mailto:"]:hover {
    text-decoration: underline;
    color: #7ee2ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* Pricing Page Styles */
.pricing-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.pricing-hero h1 {
    color: var(--light-text);
}

.configurator {
    padding: 60px 0;
}

.config-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.config-form,
.config-summary {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.config-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-size: 16px;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.price-container {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.price-box {
    text-align: center;
    margin-bottom: 15px;
}

.price-label {
    font-size: 18px;
    font-weight: 500;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 5px;
}

.price-period {
    font-size: 16px;
    opacity: 0.7;
}

.price-notice {
    text-align: center;
    font-size: 14px;
    color: #e74c3c;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    margin-top: 15px;
}

#checkout-container {
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.note-box {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.contact-hero h1 {
    color: var(--light-text);
}

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

.contact-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.form-container p {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.submit-btn {
    margin-top: 10px;
    width: 100%;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .config-container {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--bg-color);
        width: 100%;
        padding: 20px;
        box-shadow: var(--box-shadow);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Thank You Page Styles */
.thank-you-hero {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.thank-you-hero h1 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-hero i {
    font-size: 1.2em;
    margin-right: 10px;
}

.thank-you-info {
    padding: 60px 0;
}

.info-card {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.next-steps {
    margin: 30px 0;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 20px;
    padding-left: 10px;
}

.next-steps li strong {
    display: block;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
} 