/* IntimID Project Page Styles */

/* Project Hero */
.project-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.hero-text .project-status {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* iPhone 16 Pro Max Frame for Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .phone-frame {
    position: relative;
    width: 300px;
    height: 651px;
    background: linear-gradient(145deg, #5c5c60, #4a4a4e);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.3s ease;
}

.hero-image .phone-frame:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.4),
        0 24px 48px rgba(0, 0, 0, 0.3),
        0 48px 96px rgba(0, 0, 0, 0.2);
}

/* Dynamic Island */
.hero-image .phone-frame::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 32px;
    background: #000;
    border-radius: 16px;
    z-index: 3;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Screen bezel */
.hero-image .phone-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #000;
    border-radius: 42px;
    z-index: 1;
}

.hero-image .phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 42px;
    position: relative;
    z-index: 2;
}

/* Power button */
.hero-image .phone-frame .power-button {
    position: absolute;
    right: -2px;
    top: 180px;
    width: 4px;
    height: 75px;
    background: linear-gradient(90deg, #6a6a6e, #4a4a4e);
    border-radius: 2px;
    z-index: 4;
}

/* Volume buttons */
.hero-image .phone-frame .volume-buttons {
    position: absolute;
    left: -2px;
    top: 163px;
    width: 4px;
    height: 47px;
    background: linear-gradient(90deg, #4a4a4e, #6a6a6e);
    border-radius: 2px;
    z-index: 4;
}

.hero-image .phone-frame .volume-buttons::after {
    content: '';
    position: absolute;
    top: 66px;
    width: 4px;
    height: 47px;
    background: linear-gradient(90deg, #4a4a4e, #6a6a6e);
    border-radius: 2px;
}

/* Action button */
.hero-image .phone-frame .action-button {
    position: absolute;
    left: -2px;
    top: 122px;
    width: 4px;
    height: 28px;
    background: linear-gradient(90deg, #4a4a4e, #6a6a6e);
    border-radius: 2px;
    z-index: 4;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--surface);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
    padding: 6rem 0;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshot-item {
    text-align: center;
}

/* iPhone 16 Pro Max Frame for Screenshots */
.screenshot-item .phone-mockup {
    position: relative;
    width: 260px;
    height: 564px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(145deg, #5c5c60, #4a4a4e);
    border-radius: 43px;
    padding: 7px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 6px 12px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Dynamic Island for screenshots */
.screenshot-item .phone-mockup::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    transform: translateX(-50%);
    width: 91px;
    height: 28px;
    background: #000;
    border-radius: 14px;
    z-index: 3;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Screen bezel for screenshots */
.screenshot-item .phone-mockup::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;
    background: #000;
    border-radius: 36px;
    z-index: 1;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
    position: relative;
    z-index: 2;
}

.screenshot-item .phone-mockup:hover {
    transform: scale(1.03);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 16px 32px rgba(0, 0, 0, 0.3),
        0 32px 64px rgba(0, 0, 0, 0.2);
}

.screenshot-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.screenshot-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Technical Section */
.technical-section {
    padding: 6rem 0;
    background: var(--surface);
}

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

.technical-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.technical-text > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.technical-features {
    display: grid;
    gap: 1.5rem;
}

.tech-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tech-feature p {
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Health Tracking Section */
.health-tracking {
    padding: 6rem 0;
}

.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tracking-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.tracking-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tracking-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.tracking-category ul {
    list-style: none;
    padding: 0;
}

.tracking-category li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.tracking-category li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tracking-category li:last-child {
    border-bottom: none;
}

/* Development Status */
.development-status {
    padding: 6rem 0;
    background: var(--surface);
}

.status-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.status-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.progress-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.progress-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.progress-item.completed {
    border-left: 4px solid var(--success);
}

.progress-item.in-progress {
    border-left: 4px solid var(--warning);
}

.progress-item.planned {
    border-left: 4px solid var(--text-secondary);
}

.progress-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.progress-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.progress-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Support Section */
.support-section {
    padding: 6rem 0;
}

.support-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.support-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

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

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: block;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive Design for IntimID Page */
@media (max-width: 1024px) {
    .hero-image .phone-frame {
        width: 275px;
        height: 597px;
    }
    
    .hero-image .phone-frame::before {
        width: 96px;
        height: 30px;
        top: 20px;
    }
    
    .hero-image .phone-frame .power-button {
        top: 165px;
        height: 69px;
    }
    
    .hero-image .phone-frame .volume-buttons {
        top: 150px;
        height: 43px;
    }
    
    .hero-image .phone-frame .volume-buttons::after {
        top: 60px;
        height: 43px;
    }
    
    .hero-image .phone-frame .action-button {
        top: 112px;
        height: 26px;
    }
    
    .screenshot-item .phone-mockup {
        width: 238px;
        height: 517px;
    }
    
    .screenshot-item .phone-mockup::before {
        width: 83px;
        height: 26px;
        top: 17px;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image .phone-frame {
        width: 250px;
        height: 543px;
        transform: none;
    }
    
    .hero-image .phone-frame::before {
        width: 88px;
        height: 27px;
        top: 18px;
    }
    
    .hero-image .phone-frame .power-button {
        top: 150px;
        height: 62px;
    }
    
    .hero-image .phone-frame .volume-buttons {
        top: 136px;
        height: 39px;
    }
    
    .hero-image .phone-frame .volume-buttons::after {
        top: 54px;
        height: 39px;
    }
    
    .hero-image .phone-frame .action-button {
        top: 101px;
        height: 23px;
    }
    
    .technical-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .technical-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid,
    .tracking-grid,
    .progress-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item .phone-mockup {
        width: 216px;
        height: 469px;
    }
    
    .screenshot-item .phone-mockup::before {
        width: 76px;
        height: 24px;
        top: 16px;
    }
    
    .screenshot-item img {
        border-radius: 32px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .support-content h2,
    .technical-text h2 {
        font-size: 2rem;
    }
    
    .hero-image .phone-frame {
        width: 220px;
        height: 477px;
    }
    
    .hero-image .phone-frame::before {
        width: 77px;
        height: 24px;
        top: 16px;
    }
    
    .hero-image .phone-frame .power-button {
        top: 132px;
        height: 55px;
    }
    
    .hero-image .phone-frame .volume-buttons {
        top: 120px;
        height: 34px;
    }
    
    .hero-image .phone-frame .volume-buttons::after {
        top: 48px;
        height: 34px;
    }
    
    .hero-image .phone-frame .action-button {
        top: 89px;
        height: 20px;
    }
    
    .hero-image .phone-frame img {
        border-radius: 37px;
    }
    
    .screenshot-item .phone-mockup {
        width: 194px;
        height: 421px;
    }
    
    .screenshot-item .phone-mockup::before {
        width: 68px;
        height: 21px;
        top: 14px;
    }
    
    .screenshot-item img {
        border-radius: 30px;
    }
    
    .technical-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1200px) {
    .hero-image .phone-frame {
        width: 320px;
        height: 694px;
    }
    
    .hero-image .phone-frame::before {
        width: 112px;
        height: 34px;
        top: 23px;
    }
    
    .hero-image .phone-frame .power-button {
        top: 192px;
        height: 80px;
    }
    
    .hero-image .phone-frame .volume-buttons {
        top: 174px;
        height: 50px;
    }
    
    .hero-image .phone-frame .volume-buttons::after {
        top: 70px;
        height: 50px;
    }
    
    .hero-image .phone-frame .action-button {
        top: 130px;
        height: 30px;
    }
    
    .screenshot-item .phone-mockup {
        width: 277px;
        height: 601px;
    }
    
    .screenshot-item .phone-mockup::before {
        width: 97px;
        height: 30px;
        top: 20px;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 360px) {
    .hero-image .phone-frame {
        width: 198px;
        height: 430px;
        border-radius: 42px;
        padding: 6px;
    }
    
    .hero-image .phone-frame::before {
        width: 69px;
        height: 21px;
        top: 14px;
    }
    
    .hero-image .phone-frame .power-button {
        top: 119px;
        height: 50px;
    }
    
    .hero-image .phone-frame .volume-buttons {
        top: 108px;
        height: 31px;
    }
    
    .hero-image .phone-frame .volume-buttons::after {
        top: 43px;
        height: 31px;
    }
    
    .hero-image .phone-frame .action-button {
        top: 80px;
        height: 18px;
    }
    
    .screenshot-item .phone-mockup {
        width: 173px;
        height: 376px;
        border-radius: 36px;
        padding: 5px;
    }
    
    .screenshot-item .phone-mockup::before {
        width: 61px;
        height: 19px;
        top: 12px;
    }
    
    .screenshot-item img {
        border-radius: 28px;
    }
} 