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

:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --secondary-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background: #FFFFFF;
    --background-light: #F9FAFB;
    --border-color: #E5E7EB;
    --max-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 1.5rem 0 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    max-width: 620px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Features List */
.features-list {
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.checkmark {
    flex-shrink: 0;
}

/* Phone Mockups */
.hero-right {
    position: relative;
    height: 650px;
}

.phones-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone {
    position: absolute;
    width: 300px;
    height: 630px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.phone img {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
    object-position: center 22%;
    border-radius: 0;
    background: #000;
    margin-top: 30px;
}

.phone::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 30px;
    background: #000;
    border-radius: 0;
}

.phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    height: 30px;
    background: #000;
    border-radius: 0;
    z-index: 1;
}

.phone-1 {
    top: -10px;
    left: 0;
    z-index: 2;
}

.phone-2 {
    top: 20px;
    left: 240px;
    z-index: 1;
    transform: rotate(5deg);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.btn {
    padding: 1rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0;
    text-decoration: underline;
    font-size: 1rem;
}

.btn-secondary:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.availability {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Features Section */
.features {
    padding: 5rem 0 0 0;
    background: var(--background-light);
}

.features h3,
.how-it-works h3,
.pricing h3,
.download h3,
.contact h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 6rem 0 0.5rem 0;
    margin-top: -5rem;
    background: var(--background-light);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.pricing-trial-info {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1);
}

.badge {
    display: none;
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.usage-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    min-height: 1.2rem;
}

.pricing-card ul {
    display: none;
}

/* Download Section */
.download {
    padding: 5rem 0 0 0;
    text-align: center;
}

.download p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

/* Center download buttons in the download section */
.download .download-buttons {
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn img {
    max-width: 150px;
    max-height: 50px;
    transition: transform 0.3s;
    object-fit: contain;
}

.download-btn img[src="google-play-badge.png"] {
    max-width: 170px;
    max-height: 58px;
}

.download-btn:hover img {
    transform: translateY(-2px);
}

/* QR Code Section */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 1rem;
    gap: 0.25rem;
    padding-left: 65px;
}

.qr-label {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: lowercase;
    margin: 0;
    margin-left: -20px;
}

.qr-code {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 3rem 0 0.5rem 0;
    background: var(--background-light);
    text-align: center;
}

.contact p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h3,
.footer-section h5 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin: 0;
    padding: 0;
}

.footer-section a {
    display: block;
    color: #9CA3AF;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

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

/* Core Features Section */
.feature-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-category {
    margin-bottom: 2rem;
}

.feature-category h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .phone {
        width: 320px;
        height: 680px;
    }
    
    .hero-right {
        height: 720px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .phone {
        width: 280px;
        height: 580px;
    }
    
    .hero-right {
        height: 620px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-left {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .features-list {
        max-width: 400px;
        margin: 0 auto 2.5rem;
        text-align: left;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-right {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .phone {
        width: 200px;
        height: 400px;
    }
    
    .phone-1 {
        left: 0;
    }
    
    .phone-2 {
        right: 0;
        top: 30px;
        transform: rotate(3deg);
    }
    
    .features h3,
    .how-it-works h3,
    .pricing h3,
    .download h3,
    .contact h3 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-right {
        height: 300px;
    }
    
    .phone {
        width: 160px;
        height: 320px;
        border-radius: 30px;
    }
    
    .phone::before {
        width: 100px;
        height: 20px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Debug outlines - REMOVE BEFORE PRODUCTION */
.debug-mode section {
    outline: 3px solid red !important;
    outline-offset: -3px;
}

.debug-mode .container {
    outline: 3px solid blue !important;
    outline-offset: -6px;
}

.debug-mode .feature,
.debug-mode .step,
.debug-mode .pricing-card {
    outline: 2px solid green !important;
    outline-offset: -2px;
}

.debug-mode header,
.debug-mode footer {
    outline: 3px solid purple !important;
    outline-offset: -3px;
}

.debug-mode .phone {
    outline: 3px solid orange !important;
    outline-offset: -3px;
}

.debug-mode .hero-left,
.debug-mode .hero-right {
    outline: 2px dashed yellow !important;
    outline-offset: -2px;
}

.debug-mode .hero {
    outline: 4px solid #FF1493 !important;
    outline-offset: -4px;
}

.debug-mode .features-list,
.debug-mode .features-grid,
.debug-mode .steps,
.debug-mode .pricing-cards {
    outline: 2px dotted #00CED1 !important;
    outline-offset: -2px;
}