/* Base styles */
:root {
    --primary: #EDA769;
    --primary-dark: #5C3B1E;
    --secondary: #FFF6E8;
    --text: #2D2D2D;
    --text-light: #6E6E6E;
    --background: #FFFAF0;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.highlight {
    color: var(--primary);
}

/* Header */
header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-height: 600px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature.reverse .feature-content,
.feature.reverse .feature-image {
    direction: ltr;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-height: 600px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

/* Brands Section */
.brands {
    padding: 60px 0;
    text-align: center;
}

.brands h2 {
    margin-bottom: 40px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brand-logos img {
    height: 40px;
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stars {
    color: gold;
    margin-bottom: 10px;
}

.testimonial-card h3 {
    font-size: 1.4rem;
}

.user {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: "+";
    font-size: 1.4rem;
}

.faq-item p {
    margin-top: 10px;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: #1e1e2d;
    color: var(--white);
    padding: 60px 0 30px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.link-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.link-column ul li a:hover {
    color: var(--white);
}

.app-download {
    display: flex;
    gap: 15px;
}

.app-download img {
    height: 40px;
}

.copyright {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

/* Animation styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-content.animate-on-scroll {
    transition-delay: 0.2s;
}

.feature-image.animate-on-scroll {
    transition-delay: 0.4s;
}

/* Staggered animations for testimonials */
.testimonial-card:nth-child(1).animate-on-scroll {
    transition-delay: 0.2s;
}

.testimonial-card:nth-child(2).animate-on-scroll {
    transition-delay: 0.4s;
}

.testimonial-card:nth-child(3).animate-on-scroll {
    transition-delay: 0.6s;
}

/* Staggered animations for FAQ items */
.faq-item:nth-child(1).animate-on-scroll {
    transition-delay: 0.1s;
}

.faq-item:nth-child(2).animate-on-scroll {
    transition-delay: 0.2s;
}

.faq-item:nth-child(3).animate-on-scroll {
    transition-delay: 0.3s;
}

.faq-item:nth-child(4).animate-on-scroll {
    transition-delay: 0.4s;
}

.faq-item:nth-child(5).animate-on-scroll {
    transition-delay: 0.5s;
}

/* Phone mockup styles */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    background: #111;
    border-radius: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 8px solid #333;
    overflow: hidden;
    padding: 12px;
    /* Static tilt for 3D effect without animation */
    transform: rotateY(-5deg) rotateX(2deg);
}

.hero-mockup {
    width: 350px;
    height: 700px;
    transform: rotateY(5deg) rotateX(2deg);
}

/* Add different static tilts for alternating features */
.feature:nth-child(odd) .phone-mockup {
    transform: rotateY(-5deg) rotateX(2deg);
}

.feature:nth-child(even) .phone-mockup {
    transform: rotateY(5deg) rotateX(2deg);
}

/* Modern iPhone dynamic island */
.phone-mockup:before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: #111;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.05);
}

/* iPhone home indicator */
.phone-mockup:after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #666;
    border-radius: 100px;
    z-index: 2;
}

/* iPhone side buttons */
.phone-mockup .side-button {
    position: absolute;
    right: -12px;
    top: 120px;
    width: 4px;
    height: 45px;
    background: #444;
    border-radius: 4px;
    z-index: 3;
    box-shadow: -1px 0 2px rgba(0,0,0,0.5) inset;
}

.phone-mockup .volume-up {
    left: -12px;
    top: 100px;
    height: 35px;
}

.phone-mockup .volume-down {
    left: -12px;
    top: 150px;
    height: 35px;
}

.phone-mockup .screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) inset;
}

/* Simple reflection effect - static */
.phone-mockup:before {
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
}

.phone-mockup:after {
    background-image: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
}

/* Phone glow effect */
.feature-image {
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(237, 167, 105, 0.4), transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .feature-content h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .hero-mockup {
        width: 300px;
        height: 600px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .hero .container,
    .feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .stats {
        justify-content: center;
    }
    
    .feature.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-image {
        order: -1;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 230px;
        height: 460px;
    }
    
    .hero-mockup {
        width: 260px;
        height: 520px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
    }
    
    .copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
} 