/* 
   VoltCv Static Landing Page Styles 
   Premium Design - Fast Loading - No Frameworks
*/

:root {
    /* Color Palette - HSL for easy seeking */
    --hue: 220;
    /* Royal Blue base */
    --bg-dark: hsl(var(--hue), 40%, 4%);
    --bg-card: hsl(var(--hue), 35%, 8%);

    --primary: hsl(var(--hue), 90%, 55%);
    /* Electric Blue */
    --primary-glow: hsla(var(--hue), 90%, 55%, 0.4);
    --primary-dark: hsl(var(--hue), 90%, 45%);

    --accent: hsl(280, 80%, 60%);
    /* Purple/Violet accent */
    --accent-glow: hsla(280, 80%, 60%, 0.4);

    --text-main: hsl(var(--hue), 10%, 98%);
    --text-muted: hsl(var(--hue), 10%, 70%);
    --border: hsl(var(--hue), 20%, 15%);

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 7, 15, 0.85);
    /* Slightly darker/more opaque */
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: none;
    /* Hidden on very small screens, shown on md+ */
}

@media (min-width: 768px) {
    .nav-item {
        display: block;
    }
}

.nav-item:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(100px);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Features Grid */
.section-padding {
    padding: 100px 0;
}

.features {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Decorative background for pricing */
.pricing::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, rgba(30, 40, 60, 0.4), var(--bg-card));
}

.pricing-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.price-header {
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-name {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.feature-list li.check {
    color: var(--text-main);
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    background: var(--bg-card);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Templates Preview */
.templates {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-dark);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .template-grid {
        grid-template-columns: 1fr;
    }
}

.template-item {
    position: relative;
    aspect-ratio: 16/22;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.template-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--primary-glow);
    border-color: var(--primary);
    z-index: 10;
}

.template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: filter 0.3s ease;
}

.template-item:hover .template-img {
    filter: brightness(1.1);
}

.template-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.template-item:hover .template-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* How It Works */
.steps {
    background: var(--bg-card);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-dark);
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}