/* --- time-tracker.css --- */

/* --- How It Works Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
}
.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 60px;
    height: 60px;
    background-color: #1798C1;
    color: #F7F9FB;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(23, 152, 193, 0.3);
}
.step-item h3 {
    color: #051B2B;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.step-item p {
    color: #051B2B;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- Technical Specifications Grid --- */
.specs-section {
    background-color: #051B2B;
    color: #F7F9FB;
}
.specs-section .section-title {
    color: #F7F9FB;
}
.specs-section .section-subtitle {
    color: #F7F9FB;
    opacity: 0.8;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}
.spec-card {
    background-color: rgba(247, 249, 251, 0.05);
    border: 1px solid rgba(247, 249, 251, 0.1);
    padding: 2rem;
    border-radius: 12px;
}
.spec-card i {
    color: #1798C1;
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.spec-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}
.spec-card p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Animation Keyframes --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes subtleGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(23, 152, 193, 0.4); }
    50% { box-shadow: 0 0 25px rgba(23, 152, 193, 0.7); }
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Basic Reset and Body Styling --- */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #F7F9FB;
    color: #051B2B;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
body.page-loaded { opacity: 1; }

/* --- Buttons --- */
.btn { 
    text-decoration: none; 
    padding: 1rem 2rem; 
    border-radius: 6px; 
    font-weight: 700; 
    transition: all 0.3s ease; 
    display: inline-block; 
}
.btn-primary { 
    background-color: #1798C1; 
    color: #F7F9FB; 
    animation: subtleGlow 3s infinite ease-in-out; 
}
.btn-primary:hover { 
    background-color: #1380A2; 
    transform: translateY(-3px); 
    box-shadow: 0 4px 15px rgba(23, 152, 193, 0.3); 
    animation-play-state: paused; 
}
.btn-secondary { 
    background-color: transparent; 
    color: #F7F9FB; 
    border: 2px solid #F7F9FB; 
}
.btn-secondary:hover { 
    background-color: #F7F9FB; 
    color: #051B2B; 
}

/* --- Product Hero Section --- */
.product-hero {
    background-color: #051B2B;
    background-image: linear-gradient(rgba(5, 27, 43, 0.85), rgba(5, 27, 43, 0.95)), url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem;
    text-align: center;
    color: #F7F9FB;
}
.product-hero h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 3.5rem; 
    font-weight: 700; 
    margin: 0 0 1rem 0; 
    animation: fadeUp 0.6s ease-out; 
}
.product-hero p { 
    font-size: 1.2rem; 
    max-width: 700px; 
    margin: 0 auto 2.5rem auto; 
    line-height: 1.7; 
    opacity: 0.9; 
    animation: fadeUp 0.6s ease-out 0.2s both; 
}
.hero-cta { 
    display: flex;
    justify-content: center;
    gap: 15px; /* Replaces the inline margin */
    flex-wrap: wrap; /* Allows wrapping if screen gets smaller */
    animation: fadeUp 0.6s ease-out 0.4s both; 
}

/* --- Section Styling --- */
.section-container { 
    padding: 5rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    text-align: center; 
}
.section-title { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #051B2B; 
    margin-bottom: 0.5rem; 
}
.title-accent { 
    width: 60px; 
    height: 4px; 
    background-color: #1798C1; 
    border-radius: 2px; 
    margin: 0 auto 1.5rem auto; 
}
.section-subtitle { 
    font-size: 1.1rem; 
    color: #051B2B; 
    opacity: 0.7; 
    margin-bottom: 4rem; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    line-height: 1.6; 
}

/* --- Features Grid --- */
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2.5rem; 
    text-align: left; 
}
.feature-card { 
    background-color: #ffffff; 
    padding: 2.5rem; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(5, 27, 43, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.feature-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 24px rgba(5, 27, 43, 0.1); 
}
.feature-card:hover .icon { 
    animation: iconBounce 0.5s ease; 
}
.feature-card .icon { 
    font-size: 3rem; 
    color: #1798C1; 
    margin-bottom: 1.5rem; 
}
.feature-card h3 { 
    font-size: 1.3rem; 
    margin: 0 0 1rem 0; 
    color: #051B2B; 
}
.feature-card p { 
    line-height: 1.6; 
    opacity: 0.7; 
    color: #051B2B; 
    margin: 0; 
}

/* --- Details / Split Layout Section --- */
.product-details { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    text-align: left; 
    margin-top: 2rem; 
}
.product-image { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(5, 27, 43, 0.1); 
}
.detail-list { 
    list-style: none; 
    padding: 0; 
    margin-top: 2rem; 
}
.detail-list li { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 1.5rem; 
    opacity: 0.8; 
    line-height: 1.6; 
}
.detail-list li i { 
    color: #1798C1; 
    font-size: 1.2rem; 
    margin-right: 1rem; 
    margin-top: 0.2rem; 
}

/* --- CTA Banner --- */
.cta-banner { 
    background-color: #051B2B; 
    color: #F7F9FB; 
    padding: 4rem 2rem; 
    border-radius: 12px; 
    text-align: center; 
    margin-top: 4rem; 
}
.cta-banner h2 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2.5rem; 
    margin: 0 0 1rem 0; 
}

/* Scroll Animation */
.animate-on-scroll { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; 
}
.animate-on-scroll.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Staggered animation delays for grid */
.feature-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .product-hero h1 { font-size: 2.8rem; }
    .product-details { grid-template-columns: 1fr; gap: 2rem; }
}
/* Responsive Styles */
@media (max-width: 992px) {
    .product-hero h1 { font-size: 2.8rem; }
    .product-details { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- NEW: Mobile Phone Specific Styles --- */
@media (max-width: 600px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .hero-cta .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .product-hero h1 { 
        font-size: 2.2rem; 
    }
    
    .product-hero p {
        font-size: 1rem;
    }
}