/* Prosin Theme - Custom Styles */

/* ===== CSS RESET & VARIABLES ===== */
:root {
    --prosin-primary-900: #0f172a;
    --prosin-primary-800: #1e293b;
    --prosin-accent-500: #6366f1;
    --prosin-accent-600: #4f46e5;
    --prosin-accent-700: #4338ca;
    --prosin-gradient-start: #6366f1;
    --prosin-gradient-mid: #8b5cf6;
    --prosin-gradient-end: #d946ef;
    --prosin-gray-50: #f8fafc;
    --prosin-gray-100: #f1f5f9;
    --prosin-gray-200: #e2e8f0;
    --prosin-gray-300: #cbd5e1;
    --prosin-gray-400: #94a3b8;
    --prosin-gray-500: #64748b;
    --prosin-gray-600: #475569;
    --prosin-gray-700: #334155;
    --prosin-gray-800: #1e293b;
    --prosin-gray-900: #0f172a;
    --prosin-success: #10b981;
    --prosin-warning: #f59e0b;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--prosin-gray-700);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--prosin-gray-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--prosin-gray-100);
    padding: 1rem 0;
}

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

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--prosin-gray-900);
}

.logo-text {
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--prosin-gray-600);
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--prosin-accent-600);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 40px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--prosin-gray-100);
    color: var(--prosin-gray-700);
    border: 1px solid var(--prosin-gray-200);
}

.btn-secondary:hover {
    background: var(--prosin-gray-200);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--prosin-gray-700);
    border: 2px solid var(--prosin-gray-200);
}

.btn-outline:hover {
    border-color: var(--prosin-accent-500);
    color: var(--prosin-accent-600);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--prosin-gray-50);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.1), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 6rem 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prosin-accent-700);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--prosin-accent-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid), var(--prosin-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--prosin-gray-500);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--prosin-gray-900);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--prosin-gray-500);
    margin-top: 0.25rem;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid var(--prosin-gray-100);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prosin-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logo {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prosin-gray-400);
    opacity: 0.7;
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--prosin-gray-500);
    line-height: 1.7;
}

/* ===== VALUE PROPS ===== */
.value-props {
    padding: 6rem 0;
    background: white;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.prop-card {
    padding: 2rem;
    background: var(--prosin-gray-50);
    border-radius: 1rem;
    border: 1px solid var(--prosin-gray-100);
    transition: all 0.2s ease;
}

.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--prosin-gray-200);
}

.prop-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 0.75rem;
    color: var(--prosin-accent-600);
    margin-bottom: 1.25rem;
}

.prop-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.prop-card p {
    color: var(--prosin-gray-500);
    line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 6rem 0;
    background: var(--prosin-gray-50);
}

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

.product-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--prosin-gray-100);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--prosin-gray-200);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.product-badge.new {
    background: linear-gradient(135deg, var(--prosin-success), #059669);
}

.product-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 0.75rem;
    color: var(--prosin-accent-600);
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-card p {
    color: var(--prosin-gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--prosin-gray-100);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--prosin-gray-900);
}

.product-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prosin-accent-600);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.products-cta {
    text-align: center;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 6rem 0;
    background: white;
}

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

.testimonial-card {
    padding: 2rem;
    background: var(--prosin-gray-50);
    border-radius: 1rem;
    border: 1px solid var(--prosin-gray-100);
}

.testimonial-rating {
    color: var(--prosin-warning);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.testimonial-text {
    color: var(--prosin-gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--prosin-gray-900);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--prosin-gray-500);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 6rem 0;
    background: var(--prosin-gray-50);
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-size: 3.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--prosin-gray-500);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    background: white;
}

.cta-card {
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid), var(--prosin-gradient-end));
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.cta-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-card .btn-primary {
    background: white;
    color: var(--prosin-accent-700);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cta-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--prosin-gray-900);
    color: var(--prosin-gray-400);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--prosin-gradient-start), var(--prosin-gradient-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: var(--prosin-gray-400);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-menu a {
    color: var(--prosin-gray-400);
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--prosin-gray-800);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--prosin-gray-500);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content {
        padding: 4rem 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-bar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-logos {
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--prosin-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--prosin-gray-300);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--prosin-gray-400);
}
