/* NudefyLV Styles - Latvian Theme */
:root {
    --primary: #8D54FD;
    --secondary: #D542CF;
    --accent: #FF6D92;
    --dark: #2B2D42;
    --light: #F9F9F9;
    --gray: #6c757d;
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Lato', sans-serif;
    --radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.125rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
    padding: 0.25rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-main);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

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

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 5rem;
    background-color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 120%;
    background: linear-gradient(135deg, rgba(141, 84, 253, 0.05) 0%, rgba(213, 66, 207, 0.05) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(141, 84, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(141, 84, 253, 0.4);
    color: white;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    color: var(--primary);
}

/* How it works */
.how-it-works {
    background: white;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.step-content {
    margin-bottom: 1.5rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
    margin-top: auto;
}

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

.footer-logo p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.links-group h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-group a {
    color: rgba(255, 255, 255, 0.7);
}

.links-group a:hover {
    color: white;
}

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

.copyright {
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .features-list {
        justify-content: center;
    }
    
    .feature-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 5rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: space-between;
    }
    
    .steps {
        gap: 2rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .steps {
        gap: 3rem;
    }
    
    .hero-section {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}
