* {
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #f5f5f7;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 155%;
    z-index: 100;
}

.logo {
    font-size: 20px;
    margin-right: 40px;
}



nav .nav-links {
    list-style: none !important;
    display: flex !important;
    gap: 35px !important;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.8;
    align-items: center;
    margin-left: 557px;

}


nav .nav-links li a {
    color: rgb(20, 46, 148);
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li {
    font-size: 60px;
    margin-left: 0px;

}

nav .nav-links li a:hover {
    opacity: 1;
}


.nav-links li:hover {
    opacity: 1;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 120px;
}

.new-tag {
    color: #f48120;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-right: 889px;

}

.main-title {
    font-size: 80px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-right: 790px;
}

.sub-title {
    font-size: 24px;
    margin-top: 12px;
    opacity: 0.9;
    margin-right: 798px
}


.cta-buttons {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-blue {
    background-color: #0071e3;
    color: white;
    padding: 12px 24px;
    border-radius: 980px;
    border: none;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 890px;
    margin-top: 35px;
}

.btn-blue:hover {
    background-color: #0077ed;
}

.btn-link {
    color: #2997ff;
    text-decoration: none;
    font-size: 19px;
}

.btn-link:hover {
    text-decoration: underline;
}


.product-img img {
    margin-top: -277px;
    width: 90%;
    max-width: 900px;
    transition: transform 0.8s ease;
    max-height: 530px;
    margin-left: 450px;
}

.product-img img:hover {
    transform: scale(1.03);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.hero-content {
    animation: fadeInUp 1.2s ease-out forwards;
}

.product-img {
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.navbar {
    animation: fadeIn 1s ease-in;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000;
    color: #f5f5f7;
    overflow-x: hidden;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 44px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links li {
    font-size: 12px;
    color: #cecece;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-links li:hover {
    color: #fff;
}


.specs-container {
    padding: 100px 10% 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.specs-fade {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 50px;
    background: linear-gradient(to right, #fff, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
}


.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns layout */
    grid-auto-rows: 250px;
    gap: 20px;
}


.spec-card {
    background: #161617;
    border-radius: 28px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.spec-card:hover {
    transform: scale(1.02);
}

.spec-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.spec-card p {
    font-size: 17px;
    color: #86868b;
    line-height: 1.4;
}


.tall {
    grid-row: span 2;
    background: linear-gradient(180deg, #161617 0%, #000 100%);
}

.wide {
    grid-column: span 2;
    
}


.spec-card img {
    width: 125%;
    height: 253px;
    margin-top: 175px;
    object-fit: cover;
    border-radius: 67px;
    margin-left: -26px;
}


@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .tall,
    .wide {
        grid-row: auto;
        grid-column: auto;
    }

    .specs-fade {
        font-size: 36px;
    }
}

nav .nav-links li a {
    font-size: 25px !important;
    display: inline-block !important;
    text-decoration: none !important;
    color: white !important;
}
/* Battery Card Specific Styling */
.battery-card {
    background: linear-gradient(145deg, #161617, #000);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.battery-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.battery-body {
    width: 120px;
    height: 60px;
    border: 3px solid #333;
    border-radius: 12px;
    position: relative;
    padding: 4px;
}

.battery-head {
    width: 6px;
    height: 20px;
    background: #333;
    border-radius: 0 4px 4px 0;
}

.battery-level {
    height: 100%;
    width: 85%; /* Isse kam-zyada kar sakte ho */
    background: linear-gradient(90deg, #34c759, #32d74b);
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(52, 199, 89, 0.4);
    animation: charge-glow 2s infinite alternate;
}

.bolt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.battery-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #86868b;
    border-top: 1px solid #222;
    padding-top: 15px;
}

.health-text {
    color: #34c759;
}

/* Charging Glow Animation */
@keyframes charge-glow {
    from { opacity: 0.8; filter: brightness(1); }
    to { opacity: 1; filter: brightness(1.3); }
}


/* Battery Card Specific Styling */
.battery-card {
    background: linear-gradient(145deg, #161617, #000);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.battery-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
}

.battery-body {
    width: 120px;
    height: 60px;
    border: 3px solid #333;
    border-radius: 12px;
    position: relative;
    padding: 4px;
}

.battery-head {
    width: 6px;
    height: 20px;
    background: #333;
    border-radius: 0 4px 4px 0;
}

.battery-level {
    height: 100%;
    width: 85%; /* Isse kam-zyada kar sakte ho */
    background: linear-gradient(90deg, #34c759, #32d74b);
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(52, 199, 89, 0.4);
    animation: charge-glow 2s infinite alternate;
}

.bolt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.battery-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #86868b;
    border-top: 1px solid #222;
    padding-top: 15px;
}

.health-text {
    color: #34c759;
}

/* Charging Glow Animation */
@keyframes charge-glow {
    from { opacity: 0.8; filter: brightness(1); }
    to { opacity: 1; filter: brightness(1.3); }
}

.chip-card {
    background: radial-gradient(circle at center, #1c1c1e 0%, #000 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chip-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-base {
    width: 70px;
    height: 70px;
    background: #2c2c2e;
    border: 1px solid #444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.chip-name {
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #fff, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Neon Glow Effect */
.chip-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #0071e3; /* Apple Blue */
    animation: chip-pulse 2s infinite ease-out;
}

@keyframes chip-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0px #0071e3; }
    100% { transform: scale(1.4); opacity: 0; box-shadow: 0 0 20px #0071e3; }
}

/* Circuit Lines Animation */
.circuit-line {
    position: absolute;
    background: #0071e3;
    opacity: 0.3;
}

.circuit-line.top { width: 2px; height: 30px; top: 0; left: 50%; }
.circuit-line.bottom { width: 2px; height: 30px; bottom: 0; left: 50%; }
.circuit-line.left { width: 30px; height: 2px; left: 0; top: 50%; }
.circuit-line.right { width: 30px; height: 2px; right: 0; top: 50%; }

.titanium-card {
    /* Metallic dark grey gradient */
    background: linear-gradient(135deg, #2c2c2e 0%, #161617 100%);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.titanium-card h3 {
    /* Silver text effect */
    background: linear-gradient(to bottom, #ffffff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Metallic Frame Visual */
.titanium-visual {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 250px;
    height: 150px;
    opacity: 0.6;
}

.frame-border {
    width: 100%;
    height: 100%;
    border: 8px solid #48484a;
    border-radius: 40px 0 0 0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

/* Chamak (Moving Shine) Effect */
.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: metal-shine 4s infinite;
}

@keyframes metal-shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.buy-container {
    display: flex;
    max-width: 1200px;
    margin: 100px auto;
    gap: 50px;
    padding: 20px;
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 80%;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
}

.selection-panel {
    flex: 1;
}

.buy-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 18px;
    color: #86868b;
    margin-bottom: 40px;
}

.storage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.storage-option {
    border: 2px solid #424245;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.storage-option:hover {
    border-color: #86868b;
}

.storage-option.selected {
    border-color: #0071e3;
    background: rgba(0, 113, 227, 0.05);
}

.capacity {
    font-size: 24px;
    font-weight: 600;
}

.storage-option .price {
    font-size: 12px;
    color: #86868b;
    margin-top: 5px;
}

.add-to-bag {
    width: 100%;
    margin-top: 40px;
    padding: 15px;
    background: #0071e3;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}
/* Container for both buttons */
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Buttons ke beech ka gap */
    margin-top: -45px;
    margin-left: -628px;
}

/* Learn More styling */
.learn-more {
    font-size: 21px;
    color: #ffdf29; /* Apple Blue for text */
    text-decoration: none;
    font-weight: 400;
}

.learn-more:hover {
    text-decoration: underline;
}

/* Naya Buy Button styling */
.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0071e3; /* Blue filled button */
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 980px; /* Full rounded corners */
    font-size: 17px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: -100px;
}

.buy-button:hover {
    background-color: #0077ed; /* Lighter blue on hover */
    transform: scale(1.05); /* Slight grow effect */
}

/* Button ke andar icon spacing */
.buy-icon {
    margin-left: 8px;
    font-size: 18px;
    font-weight: bold;
}


/* Navigation Styling */
nav {
    width: 100%;
    height: 44px; /* Apple's standard nav height */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px); /* Glass effect */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center; /* Links ko beech mein laane ke liye */
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex; /* Ye sabse important hai links ko side-by-side karne ke liye */
    gap: 35px; /* Links ke beech ka distance */
    margin: -348px;
    padding: 0;
}

.nav-links li a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links li a:hover {
    opacity: 1;
}

.nav-links li a.active {
    opacity: 1;
    color: #86868b; /* Current page ka color thoda alag */
}
/* Animation Definition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* 30px niche se start hoga */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Apni asli jagah par aa jayega */
    }
}

/* Dono buttons ke container par animation lagana */
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    
    /* Ye line magic karegi */
    animation: fadeInUp 1s ease-out forwards;
}


.gallery-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #424245;
}

.gallery-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.color-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    margin-bottom: 8px;
    transition: 0.3s;
}

.color-item:hover .color-circle {
    transform: scale(1.1);
}

.color-item.active-color .color-circle {
    border-color: #0071e3; /* Blue border for selected color */
    box-shadow: 0 0 10px rgba(0, 113, 227, 0.3);
}

.color-item span {
    font-size: 12px;
    color: #86868b;
}

#selected-color-text {
    font-size: 14px;
    margin-top: 10px;
    color: #f5f5f7;
}
.ecosystem-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 50px;
    background: linear-gradient(to right, #fff, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gadget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gadget-card {
    background: #161617;
    border-radius: 25px;
    padding: 40px 20px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gadget-card:hover {
    transform: translateY(-10px);
    background: #1c1c1e;
}

.gadget-img-box {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.gadget-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gadget-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.gadget-card p {
    color: #86868b;
    font-size: 14px;
    margin-bottom: 20px;
}

.gadget-link {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

.gadget-link:hover {
    text-decoration: underline;
}

.apple-footer {
    background: #161617;
    padding: 50px 20px;
    color: #a5a8c3;
    font-size: 12px;
    line-height: 1.5;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.social-icon:hover {
    color: #00da4c; /* Blue hover effect */
    transform: translateY(-2px);
}

/* YouTube specific hover */
.social-icon[href*="youtube"]:hover {
    color: #f6ff00;
}
.footer-content hr {
    background-color: #16fad4; /* Sirf footer wali line change hogi */
    height: 1px;
    border: none;
}
