/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure custom header displays properly */
header.header {
    display: block !important;
    position: relative;
    z-index: 100;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    background-image: url('https://prayerboard.io/wp-content/uploads/hero-shapes.png');
    background-size: 700px auto;
    background-repeat: no-repeat;
    background-position: calc(100% - 10%) center;
    background-attachment: fixed;
    animation: backgroundFloat 6s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        background-position: calc(100% - 10%) 50%;
    }
    50% {
        background-position: calc(100% - 10%) 30%;
    }
}

/* Remove hero-shapes background on mobile devices */
@media (max-width: 768px) {
    body {
        background-image: none;
        animation: none;
    }
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    width: 100%;
}

.header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 5%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1800px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.5px;
}

.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #503ced;
}

.header-actions {
    display: flex;
    align-items: center;
}

/* Main content */
.main-content {
    padding: 80px 0;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
    padding: 20px 0;
}

.hero-left {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

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

.title {
    font-size: 3.0rem;
    font-weight: 700;
    color: #503ced;
    margin-bottom: 30px;
    line-height: 1.1;
}

.description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

/* Button styles */
.button-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Remove translateY effect on mobile devices */
@media (max-width: 768px) {
    .btn:hover {
        transform: none;
        opacity: 0.8;
    }
}

/* Header Get Started button */
.btn-header-start {
    background-color: #f27405;
    color: #ffffff;
    border-color: #f27405;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-header-start:hover {
    background-color: #e06604;
    border-color: #e06604;
}

/* Standard button */
.btn-standard {
    background-color: #503ced;
    color: #ffffff;
    border-color: #503ced;
}

.btn-standard:hover {
    background-color: #4a2fc4;
    border-color: #4a2fc4;
}

/* View Demo button */
.btn-demo {
    background-color: #ffffff;
    color: #503ced;
    border-color: #503ced;
}

.btn-demo:hover {
    background-color: #f8f9fa;
    border-color: #4a2fc4;
}

/* Right column */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: heroImageFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

@keyframes heroImageFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive design */

/* Large laptops and tablets in landscape */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    .container-content {
        max-width: 1000px;
    }
    
    .title {
        font-size: 2.8rem;
    }
}

/* Laptops and tablets */
@media (max-width: 1024px) {
    .hero-section {
        gap: 30px;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .description {
        font-size: 1.15rem;
    }
    
    .hero-image {
        max-width: 90%;
    }
}

/* Tablets in portrait and small laptops */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .container-content {
        padding: 0 15px;
    }
    
    .header .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .nav-menu li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }
    
    .title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .description {
        font-size: 1.1rem;
        max-width: none;
        margin-bottom: 50px;
    }
    
    .button-group {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin: 20px 0;
    }
    
    .hero-right {
        min-height: 300px;
    }
    
    .hero-image {
        max-width: 80%;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .container-content {
        padding: 0 10px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu li a {
        font-size: 0.85rem;
    }
    
    .btn-header-start {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 60px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 25px 0;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .hero-right {
        min-height: 250px;
    }
    
    .hero-image {
        max-width: 70%;
    }
}

/* Very small mobile devices */
@media (max-width: 360px) {
    .title {
        font-size: 1.6rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-menu li a {
        font-size: 0.8rem;
    }
}

/* Prayer Board Launch Page Styles */
.launch-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2% 10%;
}

.launch-header {
    text-align: center;
    margin-bottom: 2%;
}

.launch-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 2%;
    display: block;
    object-fit: contain;
}

.launch-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.launch-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2%;
}

.launch-cards {
    display: flex;
    gap: 2%;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.launch-card {
    flex: 1;
    min-width: 250px;
    background-color: #ededed;
    border: 1px solid #503ced;
    border-radius: 10px;
    padding: 10% 5%;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.launch-card .btn-standard {
    margin-bottom: 3%;
    width: 100%;
    max-width: 200px;
}

.launch-card-description {
    color: #503ced;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 8%;
}

/* Responsive styles for launch page */
@media (max-width: 1090px) and (min-width: 769px) {
    .launch-container {
        padding: 2% 5%;
    }
    
    .launch-cards {
        flex-wrap: nowrap;
        gap: 2%;
    }
    
    .launch-card {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    .launch-container {
        padding: 2% 7%;
    }
}

@media (max-width: 768px) {
    .launch-container {
        padding: 2% 5%;
    }
    
    .launch-logo {
        width: 100px;
        height: 100px;
    }
    
    .launch-title {
        font-size: 2rem;
    }
    
    .launch-subtitle {
        font-size: 1rem;
    }
    
    .launch-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .launch-card {
        padding: 10% 5%;
        min-width: 100%;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .launch-container {
        padding: 2% 3%;
    }
    
    .launch-logo {
        width: 80px;
        height: 80px;
    }
    
    .launch-subtitle {
        font-size: 0.95rem;
    }
    
    .launch-card {
        padding: 10% 5%;
        max-height: none;
    }
}