/* ============================================================
   iRent Marketing2 – Custom Styles
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');

/* ---------- Root Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #16a34a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --radius: 0.75rem;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
    --transition: all .3s ease;
}

/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; }

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: none; }

img { max-width: 100%; height: auto; }

section { padding: 5rem 0; }

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ---------- Navbar ---------- */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}
.navbar-brand img {
    height: 40px;
}
.navbar .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}
.navbar.scrolled .nav-link {
    color: var(--text-dark);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent) !important;
}
.navbar .btn-outline-light {
    border-color: #fff;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
}
.navbar.scrolled .btn-outline-light {
    border-color: var(--primary);
    color: var(--primary);
}
.navbar .btn-primary.nav-btn {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
    font-weight: 600;
}
.navbar .btn-primary.nav-btn:hover {
    background: var(--primary-dark);
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 50%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59,130,246,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.hero .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}
.btn-accent {
    background: var(--accent);
    border: none;
    color: var(--secondary);
}
.btn-accent:hover {
    background: #d97706;
    color: var(--secondary);
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.hero-stats .stat h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0;
}
.hero-stats .stat p {
    color: rgba(255,255,255,.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- Lead Capture Form ---------- */
.lead-form-section {
    background: var(--light-bg);
    padding: 5rem 0;
}
.lead-form-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}
.lead-form-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.lead-form-card .form-control,
.lead-form-card .form-control-lg {
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}
.lead-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.lead-form-card .btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    width: 100%;
}
.lead-form-card .btn-primary:hover {
    background: var(--primary-dark);
}
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}
.form-success .checkmark {
    font-size: 3rem;
    color: var(--success);
}

/* ---------- Features ---------- */
.features-section {
    padding: 5rem 0;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.feature-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #fff;
}
.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Dual Audience ---------- */
.audience-section {
    background: var(--light-bg);
    padding: 5rem 0;
}
.audience-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    height: 100%;
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.audience-card.association {
    border-top-color: var(--accent);
}
.audience-card h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.audience-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.audience-card ul li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.audience-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
    padding: 5rem 0;
}
.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}
.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 1rem;
}
.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    border: none;
    padding: 0;
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.testimonial-card .role {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ---------- Partners ---------- */
.partners-section {
    background: var(--light-bg);
    padding: 4rem 0;
}
.partner-logo {
    max-height: 50px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ---------- Pricing ---------- */
.pricing-section {
    padding: 5rem 0;
}
.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    letter-spacing: 1px;
}
.pricing-card .price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.pricing-card .price-unit {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}
.pricing-card .price-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
    margin-right: 0.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,.7);
    padding: 3rem 0 1.5rem;
}
.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.site-footer a {
    color: rgba(255,255,255,.6);
    font-size: 0.9rem;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
}

/* ---------- Demo Page ---------- */
.demo-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    padding: 7rem 0 3rem;
    text-align: center;
    color: #fff;
}
.demo-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
}
.demo-hero p {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
}

/* Voice Assistant Bubble */
.voice-bubble {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.voice-bubble .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.voice-bubble .message {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}
.voice-bubble .speaking-indicator {
    display: none;
}
.voice-bubble.speaking .speaking-indicator {
    display: inline-flex;
    gap: 3px;
    margin-left: 0.5rem;
}
.voice-bubble .speaking-indicator span {
    width: 4px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
    animation: soundbar 0.6s ease-in-out infinite alternate;
}
.voice-bubble .speaking-indicator span:nth-child(2) { animation-delay: 0.15s; }
.voice-bubble .speaking-indicator span:nth-child(3) { animation-delay: 0.3s; }
.voice-bubble .speaking-indicator span:nth-child(4) { animation-delay: 0.45s; }

@keyframes soundbar {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* Mic Button */
.btn-mic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 2px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
    cursor: pointer;
}
.btn-mic:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-mic.active-mic {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    animation: pulse-mic 1.2s ease-in-out infinite;
}
@keyframes pulse-mic {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
    50% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
}
.mic-status {
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 600;
    white-space: nowrap;
}

/* Category Buttons */
.demo-categories {
    margin-bottom: 2rem;
}
.demo-btn-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
.demo-main-btn {
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    background: var(--primary);
    border: none;
    color: #fff;
}
.demo-main-btn:hover {
    background: var(--primary-dark);
}
.demo-main-btn.active {
    background: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(37,99,235,.3);
}
.demo-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.6rem;
}
.demo-topic-btn {
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 2px solid var(--border);
    color: var(--text-dark);
    background: var(--card-bg);
    transition: var(--transition);
}
.demo-topic-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37,99,235,.05);
}
.demo-topic-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.demo-topic-btn i {
    color: var(--primary);
    font-size: 0.8rem;
}
.demo-topic-btn.active i {
    color: #fff;
}

/* Video Player */
.video-player-wrapper {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding-top: 56.25%; /* 16:9 aspect ratio */
    max-width: 960px;
    margin: 0 auto 2rem;
    position: relative;
}
.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    font-size: 1rem;
}
.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ---------- Signup Page ---------- */
.signup-benefits {
    position: sticky;
    top: 100px;
}
.signup-benefits h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.benefit-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}
.benefit-list li i {
    color: var(--success);
    margin-right: 0.75rem;
}
.signup-pricing-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}
.signup-pricing-badge .price-big {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.signup-pricing-badge .price-label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}
.signup-pricing-badge .price-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.signup-guarantee {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #f0fdf4;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}
.signup-guarantee > i {
    color: var(--success);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.signup-guarantee p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.signup-form-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}
.signup-form-card h4 {
    font-weight: 800;
    color: var(--secondary);
}
.signup-form-card label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.signup-form-card .form-control {
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}
.signup-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.signup-section-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.signup-countdown {
    background: #fef2f2;
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-align: center;
}
.signup-submit {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.85rem;
    margin-top: 0.5rem;
}
.signup-submit:hover {
    background: var(--primary-dark);
}
.signup-success {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 4rem 2.5rem;
}
.signup-success .success-icon {
    font-size: 4rem;
    color: var(--success);
}
.signup-alert {
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .section-title { font-size: 1.75rem; }
    .navbar .nav-link { color: var(--text-dark); }
    .navbar .btn-outline-light { border-color: var(--primary); color: var(--primary); }
}
@media (max-width: 767px) {
    .hero { min-height: auto; padding: 6rem 0 3rem; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    section { padding: 3rem 0; }
    .lead-form-card { padding: 1.5rem; }
    .pricing-card { padding: 2rem; }
}
