/* iPad Product Page - Glassmorphism Design */

body {
    background: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism Hero */
.ipad-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 40px;
    background: #fff;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: gradient-move 20s ease infinite;
}

@keyframes gradient-move {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
}

.hero-glass-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-content {
    flex: 1;
    padding: 80px 60px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 6em;
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8em;
    color: #1d1d1f;
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.glass-button {
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    background: #0071e3;
    border: 1px solid #0071e3;
    color: #fff;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.glass-button.outline {
    background: transparent;
    border: 2px solid #0071e3;
    color: #0071e3;
}

.glass-button.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

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

.product-glass {
    position: relative;
    padding: 40px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    border-radius: 50px;
    pointer-events: none;
    animation: reflection-move 3s ease-in-out infinite;
}

@keyframes reflection-move {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Glass Cards Features */
.ipad-features {
    padding: 150px 0;
    position: relative;
    background: #f5f5f7;
}

.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 4.5em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    color: #000;
}

.glass-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.glass-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.feature-card {
    padding: 60px 40px;
    text-align: center;
}

.card-icon {
    font-size: 4em;
    margin-bottom: 30px;
    display: inline-block;
    animation: icon-rotate 3s ease-in-out infinite;
}

@keyframes icon-rotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

.feature-card h3 {
    font-size: 1.8em;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 1.1em;
    color: #1d1d1f;
    line-height: 1.6;
}

/* Glass Specs */
.ipad-specs {
    padding: 150px 0;
    position: relative;
}

.specs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.specs-glass-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.spec-card {
    padding: 50px 30px;
    text-align: center;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.5s;
    opacity: 0;
    transform: translateY(30px);
}

.spec-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.spec-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.spec-card h4 {
    font-size: 1.3em;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
}

.spec-card p {
    font-size: 1.1em;
    color: #1d1d1f;
    line-height: 1.5;
}

/* CTA Glass */
.ipad-cta {
    padding: 150px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-glass-card {
    max-width: 800px;
    width: 100%;
    padding: 100px 60px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: cta-glow 4s ease-in-out infinite;
}

@keyframes cta-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.cta-glass-card h2 {
    font-size: 4.5em;
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.cta-glass-card p {
    font-size: 1.5em;
    color: #1d1d1f;
    margin-bottom: 50px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-glass-button {
    display: inline-block;
    padding: 20px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    background: #0071e3;
    border: 1px solid #0071e3;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    transition: all 0.4s;
    position: relative;
    z-index: 2;
}

.cta-glass-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Feature Image Wrapper */
.feature-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-image-wrapper img {
    transform: scale(1.1);
}

/* Image Gallery Section - Full Width Alternating */
.ipad-gallery {
    padding: 150px 0 0;
    background: #fff;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gallery-title {
    font-size: 4.5em;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: -0.02em;
}

.gallery-fullwidth {
    width: 100%;
}

.fullwidth-item {
    display: flex;
    align-items: center;
    min-height: 600px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.fullwidth-item.reverse {
    flex-direction: row-reverse;
}

.fullwidth-image {
    flex: 1;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.fullwidth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fullwidth-item:hover .fullwidth-image img {
    transform: scale(1.1);
}

.fullwidth-content {
    flex: 1;
    padding: 80px;
    background: #f5f5f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.fullwidth-item.reverse .fullwidth-content {
    background: #fff;
}

.fullwidth-content h3 {
    font-size: 3.5em;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.fullwidth-content p {
    font-size: 1.5em;
    color: #1d1d1f;
    line-height: 1.8;
}

.fullwidth-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.fullwidth-item:hover::before {
    opacity: 1;
}

/* Detailed Features Section */
.ipad-detailed-features {
    padding: 150px 0;
    background: #f5f5f7;
}

.detailed-features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 150px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

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

.feature-image-large {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.feature-image-large:hover {
    transform: scale(1.02);
}

.feature-image-large img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text-large {
    flex: 1;
}

.feature-text-large h2 {
    font-size: 3.5em;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.feature-text-large h3 {
    font-size: 2em;
    font-weight: 400;
    color: #1d1d1f;
    margin-bottom: 30px;
}

.feature-text-large p {
    font-size: 1.2em;
    color: #1d1d1f;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.feature-list li {
    font-size: 1.1em;
    color: #1d1d1f;
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 700;
    font-size: 1.2em;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .hero-glass-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 4.5em;
    }
    
    .glass-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-glass-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .ipad-hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3.5em;
    }
    
    .hero-subtitle {
        font-size: 1.4em;
    }
    
    .section-title {
        font-size: 3em;
    }
    
    .specs-glass-container {
        grid-template-columns: 1fr;
    }
    
    .cta-glass-card h2 {
        font-size: 3em;
    }
    
    .fullwidth-item {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .fullwidth-image {
        height: 400px;
        width: 100%;
    }
    
    .fullwidth-content {
        padding: 50px 30px;
    }
    
    .fullwidth-content h3 {
        font-size: 2.5em;
    }
    
    .fullwidth-content p {
        font-size: 1.2em;
    }
    
    .gallery-title {
        font-size: 3em;
        margin-bottom: 50px;
    }
    
    .feature-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 100px;
    }
    
    .feature-text-large h2 {
        font-size: 2.5em;
    }
    
    .feature-text-large h3 {
        font-size: 1.5em;
    }
}

