/*
Theme Name: RuleZ Landing Theme
Theme URI: https://example.com/rulez-landing-theme
Author: •Cotrox
Author URI: https://graficarulez.forumfree.it/?act=Profile&MID=7255317
Description: Tema ispirato a Graficarulez per definirne la Landing Page!
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: rulez-landing-theme
*/

:root {
    --rc-primary: #C85B71;
    /* GraficaRuleZ - dominant purple */
    --rc-primary-2: #A04A5E;
    /* GraficaRuleZ - darker purple */
    --rc-accent: #C85B71;
    /* GraficaRuleZ - rose/magenta accent */
    --rc-success: #97e497;
    /* GraficaRuleZ - green accent */
    --rc-white: #ffffff;
    --rc-bg: #fbf6ff;
    /* light purple background */
    --rc-radius: 12px;
    --rc-gap: 24px;
}

/* Reset & base */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    background: linear-gradient(180deg, var(--rc-bg) 0%, #eaf6ff 100%);
    color: var(--rc-primary-2);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--rc-primary);
    text-decoration: none
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: transparent;
}

.rc-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.rc-logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--rc-primary), var(--rc-primary-2));
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-white);
    font-weight: 700;
    font-size: 18px
}

.rc-site-title {
    font-weight: 700;
    font-size: 18px
}

.rc-nav {
    display: flex;
    gap: 12px;
    align-items: center
}

.rc-nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--rc-primary-2);
    transition: .18s
}

.rc-nav a:hover {
    background: rgba(90, 78, 188, 0.08)
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 48px 20px;
    border-radius: var(--rc-radius);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
    box-shadow: 0 6px 20px rgba(63, 49, 120, 0.06);
}

.hero .hero-left {
    flex: 1
}

.hero h1 {
    font-size: 34px;
    margin: 0 0 12px;
    color: var(--rc-primary-2)
}

.hero p {
    margin: 0 0 20px;
    color: var(--rc-primary-2)
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: var(--rc-primary);
    color: var(--rc-white);
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(90, 78, 188, 0.18);
    transition: transform .12s
}

.cta:hover {
    transform: translateY(-3px)
}

.cta.secondary {
    background: transparent;
    color: var(--rc-primary);
    border: 2px solid rgba(29, 111, 208, 0.12)
}

.hero .hero-right {
    width: 360px;
    flex: 0 0 360px
}

.hero-illustration>img {
    width: 350px;
    border: 3px solid #c85b71;
    border-radius: 15px;
    box-shadow: 0 0 15px #c85b7120;
}

/* Sections */
.section {
    padding: 48px 0
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: var(--rc-card);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(63, 49, 120, 0.04)
}

.card h3 {
    margin: 0 0 8px
}

.card p {
    margin: 0;
    color: var(--rc-primary-2);
    font-size: 13px
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.feature {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.feature .dot {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--rc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rc-white);
    font-weight: 700
}

/* Mechanics / Activities */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.timeline-item {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.timeline-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: var(--rc-primary)
}

/* Footer */
.site-footer {
    padding: 30px 20px;
    background: transparent;
    border-top: 1px solid rgba(63, 49, 120, 0.06);
    margin-top: 48px
}

.site-footer .small {
    font-size: 13px;
    color: #44698e
}

/* Responsive */
@media (max-width:900px) {
    .grid {
        grid-template-columns: 1fr
    }

    .hero {
        flex-direction: column
    }

    .hero .hero-right {
        width: 100%;
        flex: 1
    }
}

/* Utility */
.center {
    display: flex;
    align-items: center;
    justify-content: center
}

/* Small components inspired by codebase */
.badge {
    background: #f5eefc;
    color: var(--rc-primary-2);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px
}