/* 
 * Di Giorgi Point - Premium Design System 
 * Identity: Elegance, Modernity, Recognition
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --color-brand-red: #B91C1C;
    --color-brand-red-dark: #991B1B;
    --color-brand-red-light: #EF4444; /* Per hover/accenti */
    
    --color-charcoal: #1F2937;
    --color-charcoal-light: #374151;
    
    --color-white: #FFFFFF;
    --color-light-grey: #F3F4F6;
    --color-border: #E5E7EB;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-brand-red) 0%, var(--color-brand-red-dark) 100%);
    --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: 12px;

    /* Transition */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-charcoal);
    background-color: var(--color-light-grey);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px; /* Pill shape */
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    gap: 0.5rem;
}

.btn-full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-brand-red);
    color: var(--color-brand-red);
}

.btn-outline:hover {
    background: var(--color-brand-red);
    color: white;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background-color: var(--color-light-grey);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    border: 1px solid var(--color-border);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--color-brand-red);
    box-shadow: var(--shadow-premium);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-brand-red);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-charcoal);
    margin: 1.5rem 0;
    font-family: 'Montserrat', sans-serif;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-charcoal-light);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-light-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--color-brand-red);
    font-weight: bold;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-brand-red);
    border: 2px solid var(--color-brand-red);
}

.btn-secondary:hover {
    background-color: var(--color-brand-red-light); /* Slight tint or similar logic */
    color: white;
    transform: translateY(-2px);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-brand-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text span {
    color: var(--color-charcoal);
}

.nav-links {
    display: none; /* Mobile first hidden */
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--color-charcoal-light);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-brand-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-brand-red);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 120px; /* Space for fixed header */
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.hero-text h1 span {
    color: var(--color-brand-red);
    display: block; /* Break line on mobile mostly */
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--color-charcoal-light);
    margin-bottom: 2rem;
    max-width: 50ch;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    max-height: 500px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Services Grid (Preliminary) */
.services-section {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl, 0 20px 25px -5px rgb(0 0 0 / 0.1));
    border-color: var(--color-brand-red);
}

/* Footer structure */
.footer {
    background-color: var(--color-charcoal);
    color: white;
    padding: 4rem 0 2rem;
}
