/* BlinkBond Landing Page Styles */

/* Variables */
:root {
    --primary-color: #ff3366;
    --secondary-color: #ff9933;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #444444;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.download-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.2);
}

.app-store-btn, .play-store-btn {
    display: inline-flex;
    align-items: center;
    background: var(--dark-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 30px;
    margin: 10px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.app-store-btn:hover, .play-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.app-store-btn i, .play-store-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

/* Add padding for legal pages */
body:has(.policy-container) .container {
    padding-top: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    color: var(--dark-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
#hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.7) 0%, rgba(255, 153, 51, 0.7) 100%), url('../images/cpl.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--light-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-color);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
#features {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* How It Works Section */
#how-it-works {
    background-color: var(--gray-color);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-image {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

.step-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Testimonials Section */
#testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 350px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Download CTA Section */
#download {
    background: var(--gradient);
    color: var(--light-color);
    text-align: center;
}

#download .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.download-content {
    flex: 1;
    max-width: 550px;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-image {
    flex: 1;
    text-align: center;
}

.download-image img {
    max-width: 80%;
}

#download .app-store-btn, #download .play-store-btn {
    background: var(--light-color);
    color: var(--dark-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo p {
    margin-top: 15px;
    color: #aaa;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.link-group {
    margin-bottom: 30px;
}

.link-group h4 {
    margin-bottom: 15px;
    color: var(--light-color);
}

.link-group a {
    display: block;
    margin-bottom: 10px;
    color: #aaa;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-social {
    margin-bottom: 30px;
}

.footer-social h4 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    #hero .container, #download .container {
        flex-direction: column;
    }
    
    .hero-content, .download-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }
    
    .step-content {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        margin: 10px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .download-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
    }
}