/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    font-size: 16px;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset, 110px);
}

/* Fix anchor offset under fixed header */
section {
    scroll-margin-top: var(--header-offset, 110px);
}

/* Floating particles background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; animation-delay: 2s; animation-duration: 30s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; animation-delay: 1s; animation-duration: 28s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; animation-delay: 3s; animation-duration: 22s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 60%; animation-delay: 5s; animation-duration: 35s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-delay: 4s; animation-duration: 26s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; animation-delay: 1s; animation-duration: 24s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 15%; animation-delay: 3s; animation-duration: 32s; }

/* Geometric floating shapes */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.02;
    animation: orbit 40s infinite linear;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid #000;
}

.shape.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
}

.shape.square {
    width: 18px;
    height: 18px;
    background: #000;
}

.shape.line {
    width: 40px;
    height: 2px;
    background: #000;
}

.shape:nth-child(1) { top: 20%; left: 80%; animation-delay: 0s; }
.shape:nth-child(2) { top: 60%; left: 10%; animation-delay: 5s; }
.shape:nth-child(3) { top: 40%; left: 70%; animation-delay: 10s; }
.shape:nth-child(4) { top: 80%; left: 30%; animation-delay: 15s; }
.shape:nth-child(5) { top: 10%; left: 50%; animation-delay: 20s; }

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Premium animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeIn 0.8s ease-out;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    color: #777777;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 20px;
    animation: slideInLeft 0.8s ease-out;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 0.9rem;
    color: #999999;
    margin-top: 0.25rem;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
}

nav a:hover {
    color: #000000;
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
    width: 100%;
}

.cta {
    background: #000000;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: #ffffff;
    border-bottom: 1px solid #f5f5f5;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease-out;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.highlight {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555555;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.focus-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
    text-align: left;
    animation: fadeInUp 1.4s ease-out;
}

.focus-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    animation: slideInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.focus-item:nth-child(1) { animation-delay: 0.2s; }
.focus-item:nth-child(2) { animation-delay: 0.4s; }
.focus-item:nth-child(3) { animation-delay: 0.6s; }
.focus-item:nth-child(4) { animation-delay: 0.8s; }
.focus-item:nth-child(5) { animation-delay: 1.0s; }

.bullet {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    line-height: 1;
}

.cta-button {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.6s ease-out;
}

.cta-button:hover {
    background: #333333;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Audit Section */
.audit {
    padding: 6rem 0;
    background: #fff;
    animation: fadeIn 1s ease-out;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out;
}

.audit-item {
    padding: 2rem;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.audit-item:hover {
    border-color: #e0e0e0;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.audit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

/* Packages Section */
.packages {
    padding: 6rem 0;
    background: #ffffff;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    animation: fadeIn 1s ease-out;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out;
}

.package-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.package-card:hover {
    border-color: #e0e0e0;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    background: #F2FAF2; /* very light pastel green */
}

.package-card.featured {
    border-color: #e0e0e0;
}

.package-card.featured::before {
    content: 'SOOVITATUD';
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5f5f5;
    color: #666666;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 16px;
    letter-spacing: 0.05em;
    border: 1px solid #e0e0e0;
}

.package-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
}

.package-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.package-header h4 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 0.25rem;
}

.package-subtitle {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.package-content {
    padding: 2rem;
}

.package-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.package-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.package-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #cccccc;
    font-weight: bold;
}

.includes {
    font-weight: 500;
    color: #999999;
    margin-bottom: 1rem;
    font-style: italic;
}

.package-goal {
    font-size: 0.95rem;
    color: #777777;
    border-top: 1px solid #f5f5f5;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: #fff;
    animation: fadeIn 1s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease-out;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.step:hover {
    transform: translateY(-4px);
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ccc;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Trust Section */
.trust {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 0, 0, 0.01) 50%, transparent 70%);
    animation: shimmer 8s infinite;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out;
}

.trust-item {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.trust-item:hover::before {
    opacity: 1;
}

.trust-text-wrapper {
    background: rgba(0, 0, 0, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-text-wrapper {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.trust-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.trust-item p {
    color: #555555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
    border-top: 1px solid #f5f5f5;
    animation: fadeIn 1s ease-out;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1.2s ease-out;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.about-point .bullet {
    margin-top: 0.25rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #101010;
    color: #ffffff;
    animation: fadeIn 1s ease-out;
}

.contact h2 {
    color: #ffffff;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    background: #141414;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.footer-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-muted {
    color: rgba(255, 255, 255, 0.68);
    max-width: 420px;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 15px;
    }

    nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .focus-points {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .audit-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step:not(:last-child)::after {
        content: '↓';
        right: auto;
        bottom: -1rem;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .package-content {
        padding: 1.5rem;
    }

    .audit-item {
        padding: 1.5rem;
    }

    /* Scroll progress bar */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 0%;
        height: 3px;
        background: linear-gradient(90deg, #000000, #333333);
        z-index: 1001;
        transition: width 0.3s ease;
    }

    /* Custom cursor */
    .cursor {
        position: fixed;
        width: 20px;
        height: 20px;
        border: 2px solid rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transition: all 0.1s ease;
        transform: translate(-50%, -50%);
    }

    .cursor.active {
        transform: translate(-50%, -50%) scale(1.5);
        border-color: rgba(0, 0, 0, 0.8);
    }

    /* Magnetic effect for buttons */
    .magnetic {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Loading animation */
    .loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: fadeOut 2s ease-in-out 3s forwards;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 3px solid #f0f0f0;
        border-top: 3px solid #000000;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    @keyframes fadeOut {
        to { opacity: 0; visibility: hidden; }
    }
}
