/* ============================================
   ROD Portal – Landing Page Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --green-primary: #198754;
    --green-dark: #146c43;
    --green-darker: #0f5132;
    --green-light: #d1e7dd;
    --green-lighter: #e8f5e9;
    --green-50: #f0fdf4;
    --accent-blue: #0d6efd;
    --earth: #8B7355;
    --earth-light: #f5f0eb;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f8fafb;
    --bg-section: #f1f5f9;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-green: 0 8px 30px rgba(25,135,84,0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--green-primary);
    color: white;
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(25,135,84,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--green-dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--green-primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: var(--green-dark);
}

.btn-demo {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(13, 110, 253, .3);
    animation: demo-pulse 2s ease-in-out infinite;
}
.btn-demo:hover {
    background: linear-gradient(135deg, #0a58ca, #084298);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, .4);
}
@keyframes demo-pulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(13, 110, 253, .3); }
    50% { box-shadow: 0 4px 22px rgba(13, 110, 253, .5); }
}

/* ---------- Animations ---------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- Navbar ---------- */
.navbar {
    --logo-border: rgba(255,255,255,0.25);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
}

.navbar.scrolled {
    --logo-bg: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
    color: var(--text-primary);
}

.brand-icon {
    width: 70px;
    height: 70px;
    background: var(--logo-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    overflow: hidden;
}

.brand-icon img {
    width: 95%;
    max-height: 95%;
    height: auto;
    display: block;
}

.navbar.scrolled .brand-icon {
    background: var(--logo-bg);
    border-color: var(--logo-border);
    color: white;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.navbar-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-links a:not(.btn):hover::after {
    width: 100%;
}

.navbar.scrolled .navbar-links a:not(.btn) {
    color: var(--text-secondary);
}

.navbar.scrolled .navbar-links a:not(.btn):hover {
    color: var(--green-primary);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 42px;
    height: 42px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transform-origin: center;
    transition: var(--transition);
}

.navbar.scrolled .navbar-toggle span {
    background: var(--text-primary);
}

.navbar-toggle.open span {
    background: var(--text-primary);
}

.navbar-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.open span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 110px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, #0f5132 0%, #198754 40%, #20a06e 70%, #28b87a 100%);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: white;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 100px;
    left: -100px;
    animation: float 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 30%;
    animation: float 12s ease-in-out infinite 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: float 9s ease-in-out infinite 1s;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff, #b8e6c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: white;
    color: var(--green-dark);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.hero-actions .btn-primary:hover {
    background: #f0fdf4;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.hero-actions .btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    color: white;
}

.hero-stats {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: nowrap;
    width: 100%;
}

.stat {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "value value"
        "label label";
    align-items: end;
    column-gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}

.stat-value {
    grid-area: value;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 0.95;
    white-space: nowrap;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    line-height: 1;
}

.stat-label {
    grid-area: label;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    font-weight: 500;
    white-space: normal;
    line-height: 1.25;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* ---------- Hero Visual / Browser Mockup ---------- */
.hero-visual {
    position: relative;
}

.mockup-browser {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-browser:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.mockup-browser.small {
    transform: none;
}

.mockup-browser.small:hover {
    transform: translateY(-4px);
}

.mockup-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25,135,84,0.3), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #f1f3f5;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots .dot.red { background: #ff5f57; }
.mockup-dots .dot.yellow { background: #febc2e; }
.mockup-dots .dot.green { background: #28c840; }

.mockup-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-url i {
    color: var(--green-primary);
    font-size: 0.7rem;
}

.mockup-content {
    padding: 0;
}

/* ---------- Dashboard Mockup ---------- */
.dashboard-mockup {
    display: flex;
    min-height: 320px;
}

.mock-sidebar {
    width: 68px;
    background: linear-gradient(180deg, #0b4228 0%, #0f5132 100%);
    padding: 18px 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.mock-logo {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 20px;
}

.mock-nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.mock-nav-spacer {
    flex: 1;
}

.mock-nav-item {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem;
    transition: var(--transition);
}

.mock-nav-item:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
}

.mock-nav-item.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.mock-main {
    flex: 1;
    padding: 16px;
    background: var(--bg-light);
    overflow: hidden;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mock-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.mock-user {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.mock-stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mock-stat-card {
    flex: 1;
    background: white;
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.mock-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.mock-stat-icon.green {
    background: var(--green-light);
    color: var(--green-primary);
}

.mock-stat-icon.blue {
    background: #dbeafe;
    color: var(--accent-blue);
}

.mock-stat-icon.amber {
    background: #fef3c7;
    color: #d97706;
}

.mock-stat-info {
    display: flex;
    flex-direction: column;
}

.mock-stat-val {
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.mock-stat-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.mock-map {
    background: white;
    border-radius: var(--radius-sm);
    padding: 10px;
    box-shadow: var(--shadow-sm);
}

.mock-map-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.mock-map-title i {
    color: var(--green-primary);
    margin-right: 4px;
}

.mock-map-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}

.mock-plot {
    aspect-ratio: 1;
    border-radius: 5px;
    transition: var(--transition);
    animation: plot-pulse 3s ease-in-out infinite;
}

.mock-plot.paid { background: var(--green-primary); opacity: 0.85; }
.mock-plot.paid:nth-child(odd) { opacity: 0.75; }
.mock-plot.paid:nth-child(3n) { opacity: 0.9; }
.mock-plot.warning { background: #ffc107; }
.mock-plot.danger { background: #e84660; }
.mock-plot.vacant { background: #c5cbd3; }

@keyframes plot-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* ---------- Hero Wave ---------- */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---------- Features Section ---------- */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.featured {
    border-color: var(--green-primary);
    background: linear-gradient(180deg, var(--green-50) 0%, white 40%);
}

.feature-card.featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--green-primary), #28b87a);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--green-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--green-light);
    color: var(--green-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--green-primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card > p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--green-primary);
    font-size: 0.7rem;
}

/* ---------- Showcase Section ---------- */
.showcase {
    padding: 100px 0;
    background: var(--bg-section);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.showcase-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.showcase-tab:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.showcase-tab.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: white;
}

.showcase-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.showcase-panel.active {
    display: block;
}

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

.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.showcase-info > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.showcase-feat:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.showcase-feat i {
    color: var(--green-primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.showcase-feat span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ---------- Phone Mockup ---------- */
.mockup-phone {
    width: 280px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.phone-screen {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    min-height: 420px;
}

.phone-header {
    padding: 40px 20px 16px;
    background: var(--green-primary);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-header.green-bg {
    background: linear-gradient(135deg, var(--green-primary), #28b87a);
}

.phone-stat-row {
    display: flex;
    gap: 10px;
    padding: 16px;
}

.phone-stat {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.phone-stat.green {
    background: var(--green-light);
}

.phone-stat.blue {
    background: #dbeafe;
}

.phone-stat .val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.phone-stat .lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.phone-map-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.mini-plot {
    height: 22px;
    border-radius: 4px;
}

.mini-plot.g { background: var(--green-primary); opacity: 0.8; }
.mini-plot.y { background: #ffc107; }
.mini-plot.r { background: #dc3545; }

.phone-list {
    padding: 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--green-primary); flex-shrink: 0; }
.dot-y { width: 8px; height: 8px; border-radius: 50%; background: #ffc107; flex-shrink: 0; }
.dot-b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-blue); flex-shrink: 0; }

/* ---------- Bills Mockup ---------- */
.bills-mockup {
    padding: 16px;
    background: var(--bg-light);
    min-height: 300px;
}

.mock-bill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mock-bill-header span {
    font-weight: 700;
    font-size: 0.9rem;
}

.mock-bill-filters {
    display: flex;
    gap: 6px;
}

.mock-filter {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    background: white;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

.mock-filter.active {
    background: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

.mock-bill-summary {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mock-bill-sum-card {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: white;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mock-bill-sum-card .sum-val {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.mock-bill-sum-card .sum-lbl {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.mock-bill-sum-card.green .sum-val { color: var(--green-primary); }
.mock-bill-sum-card.blue .sum-val { color: var(--accent-blue); }
.mock-bill-sum-card.red .sum-val { color: #dc3545; }

.mock-table {
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mock-table-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    padding: 8px 12px;
    font-size: 0.7rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.mock-table-row.header {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-table-row:last-child {
    border-bottom: none;
}

.badge-paid, .badge-partial, .badge-overdue {
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
}

.badge-paid {
    background: var(--green-light);
    color: var(--green-dark);
}

.badge-partial {
    background: #fff3cd;
    color: #856404;
}

.badge-overdue {
    background: #f8d7da;
    color: #842029;
}

.badge-paid.small, .badge-partial.small {
    font-size: 0.55rem;
    padding: 2px 6px;
}

/* ---------- Gardeners Mockup ---------- */
.gardeners-mockup {
    padding: 16px;
    background: var(--bg-light);
    min-height: 280px;
}

.mock-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mock-search-bar i {
    color: var(--text-muted);
}

.mock-search-bar span {
    flex: 1;
}

.mock-btn-add {
    background: var(--green-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.mock-gardener-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-gardener-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mock-gardener-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.mock-avatar {
    width: 36px;
    height: 36px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mock-gardener-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mock-gname {
    font-weight: 600;
    font-size: 0.8rem;
}

.mock-gplot {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mock-gstatus {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
}

.mock-gstatus.active {
    background: var(--green-light);
    color: var(--green-dark);
}

.mock-gstatus.warning {
    background: #fff3cd;
    color: #856404;
}

/* ---------- Portal Mockup (Phone) ---------- */
.portal-screen .portal-card {
    padding: 16px;
}

.portal-plot-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.portal-plot-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-primary);
}

.portal-plot-details {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.portal-status {
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.7rem;
    margin-top: 2px;
}

.portal-actions {
    display: flex;
    gap: 10px;
    padding: 0 16px 16px;
}

.portal-action-btn {
    flex: 1;
    padding: 12px;
    background: var(--green-primary);
    color: white;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.portal-action-btn i {
    font-size: 1.1rem;
}

.portal-bill-preview {
    padding: 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal-bill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ---------- Themes Section ---------- */
.themes-section {
    padding: 100px 0;
    background: white;
}

.themes-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.theme-card {
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-4px);
}

.theme-preview {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.theme-card:hover .theme-preview {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.theme-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.theme-card.active span {
    color: var(--green-primary);
}

/* Dark Mode Preview */
.dark-mode-card {
    background: #1a1a2e;
    border-radius: var(--radius-xl);
    padding: 32px;
    overflow: hidden;
}

.dark-mockup {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: #16213e;
    border-radius: var(--radius-md);
}

.dark-mock-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 40px;
}

.dm-nav {
    width: 36px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.dm-nav.active {
    background: var(--green-primary);
}

.dark-mock-content {
    flex: 1;
}

.dm-header {
    height: 12px;
    width: 40%;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    margin-bottom: 12px;
}

.dm-cards {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.dm-card {
    flex: 1;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
}

.dm-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dm-row {
    height: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.dm-row:nth-child(2) { width: 85%; }
.dm-row:nth-child(3) { width: 70%; }

.dark-mode-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.dark-mode-label i {
    color: #ffc107;
    font-size: 1.1rem;
}

/* ---------- Security Section ---------- */
.security {
    padding: 100px 0;
    background: var(--bg-section);
}

.security-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.security-content .section-title {
    text-align: left;
}

.security-content .section-subtitle {
    text-align: left;
    margin: 0 0 36px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.security-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.security-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.security-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    color: var(--green-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.security-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Shield Animation */
.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(25,135,84,0.15);
    animation: pulse-ring 4s ease-in-out infinite;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(25,135,84,0.25);
    animation: pulse-ring 4s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 160px;
    height: 160px;
    border-color: rgba(25,135,84,0.35);
    animation: pulse-ring 4s ease-in-out infinite 1s;
}

.shield-center {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-primary), #28b87a);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-green);
    z-index: 2;
}

.shield-center i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.shield-center span {
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* ---------- Portal Promo Section ---------- */
.portal-promo {
    padding: 100px 0;
    background: white;
}

.portal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portal-devices {
    display: flex;
    justify-content: center;
}

.portal-laptop {
    width: 100%;
    max-width: 480px;
    background: #2d2d3a;
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.laptop-screen {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.laptop-browser-bar {
    display: flex;
    gap: 5px;
    padding: 8px 12px;
    background: #f1f3f5;
    border-bottom: 1px solid var(--border-light);
}

.lb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
}

.lb-dot:nth-child(1) { background: #ff5f57; }
.lb-dot:nth-child(2) { background: #febc2e; }
.lb-dot:nth-child(3) { background: #28c840; }

.laptop-content {
    padding: 24px;
    min-height: 200px;
}

.lp-hero-section {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.lp-logo {
    width: 48px;
    height: 48px;
    background: var(--green-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 12px;
}

.lp-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.lp-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.lp-cards-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.lp-card {
    width: 60px;
    height: 50px;
    background: var(--green-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-size: 1rem;
}

.portal-content .section-title {
    text-align: left;
}

.portal-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.portal-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.portal-feat-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    color: var(--green-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.portal-feat strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.portal-feat p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------- Tech Stack Section ---------- */
.tech-stack {
    padding: 80px 0;
    background: var(--bg-section);
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 32px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-width: 140px;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-logo {
    font-size: 2rem;
    color: var(--green-primary);
}

.tech-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 80px 0 100px;
    background: white;
}

.cta-card {
    background: linear-gradient(135deg, #0f5132 0%, var(--green-primary) 50%, #28b87a 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}

.cta-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: #0a1628;
    padding: 60px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo i {
    color: var(--green-primary);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero {
        padding-top: 104px;
        padding-bottom: 108px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .mockup-browser {
        transform: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-info {
        text-align: center;
    }

    .showcase-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .security-layout {
        grid-template-columns: 1fr;
    }

    .security-content .section-title,
    .security-content .section-subtitle {
        text-align: center;
    }

    .security-visual {
        order: -1;
    }

    .portal-layout {
        grid-template-columns: 1fr;
    }

    .portal-content .section-title {
        text-align: center;
    }

    .portal-content > p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .navbar-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 1100;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        color: var(--text-primary) !important;
        font-size: 1.2rem;
    }

    .navbar-toggle {
        display: flex;
        z-index: 1101;
    }

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

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .stat {
        min-width: 112px;
    }

    .stat-divider {
        display: none;
    }

    .showcase-tabs {
        gap: 6px;
    }

    .showcase-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .showcase-tab i {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        gap: 40px;
    }

    .mockup-phone {
        width: 240px;
    }

    .phone-screen {
        min-height: 360px;
    }

    .shield-container {
        width: 240px;
        height: 240px;
    }

    .ring-1 { width: 220px; height: 220px; }
    .ring-2 { width: 170px; height: 170px; }
    .ring-3 { width: 130px; height: 130px; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features, .showcase, .security, .portal-promo, .themes-section {
        padding: 60px 0;
    }

    .dashboard-mockup {
        min-height: 240px;
    }

    .mock-stats-row {
        flex-direction: column;
    }

    .mock-map-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .themes-grid {
        gap: 12px;
    }

    .theme-preview {
        width: 60px;
        height: 60px;
        border-radius: var(--radius-sm);
    }

    .portal-laptop {
        max-width: 100%;
    }
}

/* ---------- Selection & Scrollbar ---------- */
::selection {
    background: var(--green-primary);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green-primary);
}
