/* Custom Styles for Mortgage Pal */

:root {
    --primary-color: #F9A825;
    --primary-hover: #F57F17;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --accent-color: #FFA000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-color) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero h1 {
    color: var(--dark-color);
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #000;
}

/* Modern iPhone Mockup */
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 12px;
    background: linear-gradient(145deg, #2c2c2e, #1c1c1e);
    border-radius: 50px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Dynamic Island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* Screen bezel effect */
.phone-mockup::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 38px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 1;
}

.phone-mockup img {
    display: block;
    width: 100%;
    border-radius: 38px;
    position: relative;
    z-index: 0;
}

/* Responsive sizing */
@media (min-width: 992px) {
    .phone-mockup {
        max-width: 340px;
    }
}

/* Smaller phone mockup for screenshots */
.phone-mockup-small {
    max-width: 260px;
    padding: 10px;
}

.phone-mockup-small::before {
    top: 16px;
    width: 80px;
    height: 22px;
    border-radius: 16px;
}

.phone-mockup-small::after {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 32px;
}

.phone-mockup-small img {
    border-radius: 32px;
}

@media (min-width: 768px) {
    .phone-mockup-small {
        max-width: 240px;
    }
}

@media (min-width: 992px) {
    .phone-mockup-small {
        max-width: 260px;
    }
}

/* Screenshots section styling */
.screenshots {
    background-color: #fff;
}

.screenshot-card {
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-10px);
}

.screenshot-card:hover .phone-mockup-small {
    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.45),
        0 15px 40px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.star-rating svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

.star-rating.large svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.feature-card h3 {
    color: var(--dark-color);
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.download h2 {
    font-weight: 700;
    color: var(--dark-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color) !important;
}

.footer a:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }
}

/* FAQ Page Styles */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #000;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* Privacy and Contact Pages */
.content-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-page p {
    line-height: 1.8;
    color: #555;
}

/* Contact Form */
.contact-info {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Feature Icons */
.feature-icon {
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Links */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-hover);
}
