/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FDFEF6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 254, 246, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 112, 49, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    margin-left: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    margin-right: 2rem;
}

.nav-brand .logo-img {
    height: 28px;
    width: auto;
    max-width: 140px;
}

/* Typography Hierarchy */

/* PRIMARY HEADINGS - Similar to Neue Montreal Medium */
.hero-title,
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Highlight color for special elements */
.highlight {
    color: #AAD3DF;
}

/* Interactive elements with blue accent */
.btn-secondary:hover {
    background: #AAD3DF;
    color: white;
}

/* SECONDARY HEADINGS - Similar to Editorial New Ultralight Italic */
.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* TERTIARY HEADINGS - Similar to Editorial New Ultralight */
.feature-card h3,
.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* BASE TEXT - Similar to Neue Montreal Regular */
body,
.nav-link,
.feature-card p,
.about-text p,
.contact-text,
.footer p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Button text */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Stats numbers */
.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Stats labels */
.stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}



.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF7031;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, #FFB482 0%, #FF7031 100%);
    color: white;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #FF7031;
    color: white;
}

.btn-primary:hover {
    background: #E55A1F;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #007AFF;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Mockup Phone */
.mockup-phone {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 22px;
    overflow: hidden;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: #007AFF;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.app-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.review-rating {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 0.5rem;
}

.rating-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.rating-circle.green {
    background-color: #4CAF50;
}

.rating-circle.yellow {
    background-color: #FFC107;
}

.rating-circle.red {
    background-color: #F44336;
}

/* App Screenshots Section */
.app-screenshots {
    padding: 80px 0;
    background: #FFB482;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-card {
    background: #FDFEF6;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 112, 49, 0.1);
    transition: transform 0.3s ease;
}

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

.app-screenshot {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.screenshot-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FF7031;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #FFB482;
    text-align: center;
}

.contact-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
    color: #FF7031;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF7031;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

/* Responsive Design */

/* iPhone (320px - 480px) */
@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .nav-brand .logo-img {
        height: 24px;
        max-width: 120px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .mockup-phone {
        width: 240px;
        height: 480px;
        margin-top: 2rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-screenshot {
        max-width: 240px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* iPad Mini (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 2rem 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .mockup-phone {
        width: 260px;
        height: 520px;
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* iPad (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 120px 3rem 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .mockup-phone {
        width: 270px;
        height: 540px;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-screenshot {
        max-width: 270px;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .hero {
        padding: 120px 4rem 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .mockup-phone {
        width: 280px;
        height: 560px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for feature cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screenshot-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile menu functionality */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #AAD3DF;
    outline-offset: 2px;
}

/* Active nav link styling */
.nav-link.active {
    color: #FF7031 !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF7031;
    border-radius: 1px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}
