/* --- MODERN LIGHT THEME RESET --- */
:root {
    /* Colors */
    --bg-body: #ffffff;      /* White */
    --bg-card: #ffffff;      /* White */
    --bg-card-hover: #f8fafc; /* Very Light Gray */
    --bg-alt: #f3f4f6;       /* Light Gray Section */
    
    --primary: #6c3baa;      /* Purple */
    --primary-glow: rgba(108, 59, 170, 0.15);
    --accent: #fbbf24;       /* Yellow */
    
    --text-main: #18181b;    /* Black */
    --text-muted: #52525b;   /* Gray */
    
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    
    /* Dimensions */
    --radius: 16px;
    --nav-height: 70px;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Logo lijevo, eventualni linkovi desno */
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 10rem 0 8rem;
    text-align: center;
    background: radial-gradient(circle at top center, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

/* Background Glow Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #000000, #333333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 59, 170, 0.3);
    background-color: #5b3290;
}

/* --- SECTIONS --- */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* --- STEPS --- */
.steps-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step p {
    color: var(--text-muted);
}

/* --- FEATURES --- */
.features {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
}

.feature-card .icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.feature-card .icon svg {
    stroke: url(#icon-gradient);
    filter: drop-shadow(0 2px 4px rgba(108, 59, 170, 0.2));
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
    background-color: #ffffff;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    text-align: center;
    font-size: 0.95rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .container { padding: 0 1.5rem; }
    .nav-container { justify-content: center; }
}