/* specs.css - Styling for the Specifications Section */

/* Global Specs Styling */
.specs-section {
    padding: 100px 10%;
    background-color: var(--bg-color); /* Deep black/blue inherited */
    color: var(--text-primary);
    position: relative;
    z-index: 20;
    font-family: 'Outfit', sans-serif;
}

/* Subtle Grid Background for Specs Sections */
.specs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Colors */
.specs-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.specs-title.center {
    text-align: center;
}

.spec-label {
    color: var(--accent); /* Soft cyan highlight */
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spec-label.block {
    display: block;
    margin-bottom: 5px;
}

.spec-value {
    color: var(--text-secondary);
    font-size: 1.3rem;
    font-weight: 300;
}

/* --- SECTION 1: HERO --- */
.specs-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: #000000;
}

.specs-hero-text h2 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.specs-hero-text p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 2px;
}

.specs-hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.specs-hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 500 / 600;
    box-shadow: 0 0 80px rgba(0, 240, 255, 0.15);
}

/* --- SECTION 2: GENERAL SPECS (2-COL GRID) --- */
.specs-2col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

/* --- SECTION 3: BATTERY (LIST) --- */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.spec-list-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* --- SECTION 4: SENSORS (CARDS) --- */
.specs-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-card {
    background: rgba(10, 10, 10, 0.8);
    padding: 40px 30px;
    border-radius: 25px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    text-align: center;
    box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15), inset 0 0 30px rgba(0, 240, 255, 0.1);
}

.spec-card h4 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
}

/* --- SECTION 5: WATER RESISTANCE --- */
.specs-durability-section {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 10%;
}

.water-ripple-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle, rgba(0, 200, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle, rgba(0, 200, 255, 0.02) 0%, transparent 60%);
    z-index: 1;
}

.durability-content {
    position: relative;
    z-index: 2;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(15px);
    padding: 60px 100px;
    border-radius: 40px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.specs-simple-list {
    list-style: none;
    padding: 0;
}

.specs-simple-list.center {
    text-align: center;
}

.specs-simple-list li {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.specs-simple-list.center li {
    margin-bottom: 20px;
}

/* --- SECTION 6: DISPLAY & UI --- */
.specs-display-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.specs-display-content {
    flex: 1;
}

.specs-display-content .specs-simple-list li {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
}

.specs-display-preview {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ui-vertical-preview {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 250 / 550;
    border-radius: 60px;
    border: 3px solid #111;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.2);
}

/* --- SECTION 7: CONNECTIVITY --- */
.specs-simple-list.large-list li {
    font-size: 1.8rem;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- SECTION 8: MATERIAL & BUILD --- */
.specs-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.material-block {
    text-align: center;
}

.material-block h4 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.material-block p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* --- SECTION 9: OPERATING CONDITIONS --- */
.specs-environment-section {
    background: #000;
}

.environment-block {
    text-align: center;
    background: rgba(20, 20, 20, 0.5);
    padding: 50px;
    border-radius: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.environment-block p {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* --- SECTION 10: FINAL LINE --- */
.specs-final-section {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.specs-final-text {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.2;
    background: radial-gradient(circle, #ffffff 0%, #444444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .specs-hero, .specs-display-section {
        flex-direction: column;
        text-align: center;
    }
    
    .specs-2col-grid, .specs-3col-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .specs-hero-text h2, .specs-final-text {
        font-size: 3rem;
    }
}
