/* 
    Nikola Tancic | Web Solutions
    Design System: High-Trust SaaS / Apple Minimalism
*/

:root {
    /* Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-primary: #1D1D1F;
    --text-secondary: #4B5563;
    --accent: #007BFF;
    --accent-hover: #0056b3;
    --border: #E5E7EB;
    --white: #FFFFFF;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing & Sizing */
    --container-width: 1100px;
    --container-narrow: 800px;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.narrow {
    max-width: var(--container-narrow);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.rounded-img { border-radius: var(--border-radius-lg); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: #EBF5FF;
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Header */
.main-header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

.logo span {
    font-weight: 400;
    color: var(--text-secondary);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-secondary);
}

.main-nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.process-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.price-card {
    padding: 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.price-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.monthly {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    padding: 80px 0 120px 0; /* Extra bottom padding for sticky CTA */
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.social-links {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-weight: 600;
    color: var(--accent);
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2000;
}

.full-width {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .price-card.popular {
        transform: none;
        order: -1;
    }
    
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .hero-image, .about-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .subhead { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    
    .sticky-mobile-cta {
        display: block;
    }
    
    .hero { padding: 60px 0; }
    
    .process-card { padding: 1.5rem; }
}
