/* ===========================
   Design System — Local 311
   Light Premium Theme
   ========================= */

:root {
    --color-bg: #ffffff;
    --color-bg-elevated: #f8f8fa;
    --color-bg-card: #ffffff;
    --color-surface: #f2f2f5;
    --color-accent: #1a1a2e;
    --color-accent-gold: #b8903e;
    --color-accent-gold-light: #d4a94e;
    --color-accent-glow: rgba(26, 26, 46, 0.08);
    --color-text: #1a1a2e;
    --color-text-muted: #5a5a72;
    --color-text-subtle: #8a8a9e;
    --color-success: #16a34a;
    --color-danger: #dc2626;
    --color-white: #ffffff;
    --color-border: #e5e5ea;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-soft: 0 2px 16px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 20px rgba(184, 144, 62, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===========================
   Floating CTA Button
   ========================= */

.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-accent-gold), #9a7830);
    color: var(--color-white);
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow), 0 8px 32px rgba(184, 144, 62, 0.3);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.floating-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(184, 144, 62, 0.35), 0 12px 40px rgba(184, 144, 62, 0.3);
}

.floating-cta__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: var(--color-accent-gold);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

.floating-cta__icon {
    display: flex;
    align-items: center;
    animation: ring 2.5s ease-in-out infinite;
}

.floating-cta__text {
    white-space: nowrap;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.3); }
}

@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

/* ===========================
   Hero Section
   ========================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(184, 144, 62, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(184, 144, 62, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #fefefe 0%, var(--color-bg-elevated) 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="none" stroke="rgba(0,0,0,0.02)" stroke-width="0.5" width="100" height="100"/></svg>');
    background-size: 100px 100px;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 144, 62, 0.1);
    border: 1px solid rgba(184, 144, 62, 0.25);
    color: var(--color-accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-gold-light), #e8c86e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero__price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-card);
}

.hero__price-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent-gold);
}

.hero__price-unit {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-accent-gold), #9a7830);
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(184, 144, 62, 0.3), 0 10px 30px rgba(184, 144, 62, 0.25);
}

.hero__cta-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-subtle);
    font-size: 0.75rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero__scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-text-subtle);
    border-bottom: 2px solid var(--color-text-subtle);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   Urgency Banner
   ========================= */

.urgency-banner {
    background: linear-gradient(90deg, var(--color-danger), #b91c1c);
    padding: 14px 1rem;
    overflow: hidden;
}

.urgency-banner__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: slideIn 0.5s ease-out;
}

.urgency-banner__text {
    color: var(--color-white);
    font-size: 0.95rem;
    text-align: center;
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ===========================
   Property Section
   ========================= */

.property {
    padding: 6rem 2rem;
    background: var(--color-bg);
}

.property__container {
    max-width: 1100px;
    margin: 0 auto;
}

.property__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.property__label {
    display: inline-block;
    background: rgba(184, 144, 62, 0.1);
    color: var(--color-accent-gold);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.property__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.property__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.property__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.property__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.property__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.property__image-wrapper:hover .property__image {
    transform: scale(1.05);
}

.property__image-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.property__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.property__stat {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.property__stat:hover {
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.property__stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.property__stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent-gold);
}

.property__stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.property__highlights-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.property__highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property__highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.property__highlights-list li strong {
    color: var(--color-accent);
}

.property__highlight-icon {
    flex-shrink: 0;
    font-size: 1rem;
}

/* ===========================
   Investment Section
   ========================= */

.investment {
    padding: 6rem 2rem;
    background: var(--color-bg-elevated);
}

.investment__container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.investment__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.investment__subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.investment__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.investment__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.investment__card:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.investment__card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.investment__card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.investment__card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   CTA Section
   ========================= */

.cta-section {
    padding: 6rem 2rem;
    background: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(184, 144, 62, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section__container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.cta-section__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-section__text strong {
    color: var(--color-accent-gold-light);
}

.cta-section__price-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.cta-section__price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.cta-section__price-original {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.cta-section__price-badge {
    background: linear-gradient(135deg, var(--color-success), #22c55e);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.cta-section__price-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-section__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-accent-gold), #9a7830);
    color: var(--color-white);
    padding: 20px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(184, 144, 62, 0.3);
    margin-bottom: 1rem;
}

.cta-section__button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(184, 144, 62, 0.4), 0 12px 40px rgba(184, 144, 62, 0.3);
}

.cta-section__disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   Footer
   ========================= */

.footer {
    padding: 3rem 2rem;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer__brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.footer__text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer__copy {
    color: var(--color-text-subtle);
    font-size: 0.8rem;
}

/* ===========================
   Responsive
   ========================= */

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        padding: 1.5rem;
    }

    .hero__badge {
        font-size: 0.65rem;
        padding: 6px 14px;
        margin-bottom: 1.5rem;
    }

    .hero__title {
        font-size: 2.4rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero__price-tag {
        padding: 0.75rem 1.5rem;
        margin-bottom: 2rem;
    }

    .hero__price-value {
        font-size: 2.2rem;
    }

    .hero__cta {
        padding: 16px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .urgency-banner {
        padding: 10px 1rem;
    }

    .urgency-banner__text {
        font-size: 0.82rem;
    }

    .property {
        padding: 3.5rem 1.25rem;
    }

    .property__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property__title {
        font-size: 1.7rem;
    }

    .property__stats {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .property__stat {
        padding: 1rem;
    }

    .property__stat-value {
        font-size: 1.1rem;
    }

    .investment {
        padding: 3.5rem 1.25rem;
    }

    .investment__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .investment__card {
        padding: 2rem 1.5rem;
    }

    .cta-section {
        padding: 4rem 1.25rem;
    }

    .cta-section__title {
        font-size: 1.8rem;
    }

    .cta-section__text {
        font-size: 0.95rem;
    }

    .cta-section__price-original {
        font-size: 2rem;
    }

    .cta-section__button {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .floating-cta {
        padding: 12px 20px;
        font-size: 0.85rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 380px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__price-value {
        font-size: 1.8rem;
    }

    .property__stats {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Scroll Animations
   ========================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
