/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary: #1f2937;
    --accent: #6b7280;
    --accent-hover: #4b5563;
    --accent-gradient: linear-gradient(135deg, #9ca3af 0%, #4b5563 100%);
    --accent-soft: rgba(75, 85, 99, 0.12);
    --accent-soft-strong: rgba(75, 85, 99, 0.18);
    --card-bg: #ffffff;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --border: #e5e7eb;
    --bg: #ffffff;
    --shadow: 0 4px 20px rgba(31, 41, 55, 0.08);
    --shadow-sm: 0 6px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.16);
    --shadow-card-hover: 0 25px 60px rgba(0,0,0,0.18);
    --shadow-hover: 0 12px 32px rgba(31, 41, 55, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   GLOBAL STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.1),
        0 10px 20px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background-color:var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.15),
        0 20px 40px rgba(0,0,0,0.12);
}



/* ================= HERO SECTION (HEXAGON STYLE) ================= */
.product-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
    margin: 70px 0 20px;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}


/* LEFT TEXT */
.hero-text {
    flex: 1;
    color: #fff;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #cbd5e1;
    text-align: justify;
}



.hero-wrapper .btn-primary {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: var(--bg);
    font-weight: 600;
    font-size: 15.5px;
    padding: 15px 25px;
    margin-top: 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.hero-wrapper  .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    gap: 16px;
}

.hero-wrapper .btn-primary::before{
    content: "";
    position: absolute;
    inset: 0;
     border-radius: inherit;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: var(--transition);
}

.hero-wrapper  .btn-primary:hover::before
 {
    opacity: 1;
}

/* RIGHT IMAGE AREA */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
/* HEXAGON FRAME (Correct - Transparent inside) */
.hexagon-frame {
    position: relative;
    width: 450px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* OUTER BORDER FRAME */
.hexagon-frame::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(
    50% 0%,   /* top-left corner slope */
    50% 0%,   /* top-right corner slope */
    100% 25%, /* right upper angle */
    100% 75%, /* right lower angle */
    50% 100%, /* bottom-right slope */
    50% 100%, /* bottom-left slope */
    0% 75%,   /* left lower angle */
    0% 25%    /* left upper angle */    
    );
    background: transparent; /* THIS removes the purple fill */
    box-shadow: 0 0 40px rgba(99,102,241,0.4);
}

/* IMAGE HOLDER INSIDE */
.hexagon-img {
    width: 100%;
    height: 100%;
    clip-path: polygon(
50% 0%,   /* top-left corner slope */
    50% 0%,   /* top-right corner slope */
    100% 25%, /* right upper angle */
    100% 75%, /* right lower angle */
    50% 100%, /* bottom-right slope */
    50% 100%, /* bottom-left slope */
    0% 75%,   /* left lower angle */
    0% 25%  
    );
    overflow: hidden;
}

/* IMAGE */
.hexagon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-intro {
    padding: 90px 0 30px;
    background: #ffffff;
}

.intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.intro-text {
    flex: 1.4;
}

.intro-text h2 {
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 700;
}

.intro-text p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 5px;
    max-width: 700px;
    text-align: justify;
}

/* Feature Points */
.intro-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
}

.feature-item span {
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
}

/* Right Card */
.intro-card {
    flex: 1;
    background: #f9fafb;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.intro-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--primary);
}

.intro-card ul {
    list-style: none;
}

.intro-card li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-muted);
    font-size: 15px;
}

.intro-card li:last-child {
    border-bottom: none;
}

/* =========================
   PRODUCT CATEGORIES
========================= */
.product-categories {
    padding: 80px 0;
    background: var(--bg);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto 70px;
    font-size: 17px;
    line-height: 1.8;
}


/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Product Card */
.product-card {
    background: var(--bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    height: 100%;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    display: flex;
}

.product-card:hover {
    transform: translateY(-12px);
     box-shadow: var(--shadow-card-hover);
    border-color: #e2e8f0;
}

.product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Product Image */
.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image-wrapper img {
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin: 0 40px;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

/* Product Content */
.product-content {
    padding: 25px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
    flex-grow: 1;
}



/* =========================
CTA SECTION
========================= */
.product-cta {
    padding: 40px 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    text-align: center;
    color: #fff;
}

.product-cta h2 {
    font-size: 34px;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 15px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 14px 34px;
    background: #ffffff; 
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
    background: #e5e7eb;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

@media (min-width:1025px) and (max-width:1366px){

.hero-wrapper{
    gap:70px;
}

.hero-text h1{
    font-size:38px;
}

.hexagon-frame{
    width:380px;
    height:420px;
}

.intro-flex{
    gap:60px;
}

.intro-text h2{
    font-size:30px;
}

.products-grid{
    grid-template-columns:repeat(3,1fr);
}

}

@media (min-width:769px) and (max-width:1024px){

.hero-wrapper{
    flex-direction:column;
    gap:50px;
}

.hero-visual{
    display: none;
}

.product-intro{
    padding: 60px 0 20px;
}

.intro-flex{
    flex-direction:column;
    align-items: flex-start;
    gap:50px;
}

.intro-card{
    width:100%;
}

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

.product-image{
    height:200px;
}

.section-title{
    font-size:34px;
}

}

@media (min-width:601px) and (max-width:768px){

.hero-wrapper{
    flex-direction:column;
    gap:40px;
}

.hero-visual{
    display: none;
}

.hero-text h1{
    font-size:30px;
}

.hero-text p{
    font-size:16px;
}

.hexagon-frame{
    width:280px;
    height:320px;
}

.intro-flex{
    flex-direction:column;
    gap:40px;
}

.intro-text h2{
    font-size:26px;
}

.intro-card {
        width: 100%;
}

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

.product-image{
    height:180px;
}

.product-content{
    padding:22px;
}

.product-cta h2{
    font-size:28px;
}
.product-cta p{
    font-size:15px;
}
}

@media (min-width:481px) and (max-width:600px){

.hero-wrapper{
    flex-direction:column;
    gap:20px;
}

.hero-visual{
    display: none;
}

.hero-text h1{
    font-size:26px;
}

.hero-text p{
    font-size:15px;
    text-align:left;
}

.hexagon-frame{
    width:240px;
    height:280px;
}

.intro-flex{
    flex-direction:column;
    gap:35px;
}

.intro-card {
    width: 100%;
}

.intro-text h2{
    font-size:24px;
}

.intro-text p{
    font-size:15px;
}

.products-grid{
    grid-template-columns:1fr;
}
.product-intro {
    padding: 40px 0 20px;
}


.product-content {
    padding: 10px 20px 10px;
}

.product-image-wrapper img {
    width: 45%;
}

.product-image{
    height: 200px;
}

.section-title{
    font-size:28px;
}

.section-subtitle{
    font-size:15px;
}

.product-cta h2{
    font-size:26px;
}
.product-cta p{
    font-size:15px;
}
}

@media (max-width:480px){

.container{
    width:94%;
}

.hero-wrapper{
    flex-direction:column;
    text-align:center;
    gap:30px;
}

.hero-text h1{
    font-size:22px;
}

.hero-text p{
    font-size:14px;
    text-align:justify;
}

.hero-visual{
    display: none;
}

.hero-wrapper .btn-primary{
    justify-content:center;
}

.intro-flex{
    flex-direction:column;
    gap:30px;
}

.intro-text h2{
    font-size:22px;
}

.intro-text p{
    font-size:14px;
}

.feature-item{
    font-size:14px;
}

.intro-card{
    width:100%;
}

.products-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.product-intro {
    padding: 40px 0 20px;
}

.product-image{
    height:160px;
}

.product-image-wrapper img {
    width: 49%;
}

.product-content{
    padding:20px;
}

.product-title{
    font-size:18px;
}

.product-description{
    font-size:14px;
}

.section-title{
    font-size:24px;
}

.section-subtitle{
    font-size:14px;
}

.product-cta h2{
    font-size:20px;
}

.product-cta p{
    font-size:14px;
}

.cta-btn{
    text-align:center;
}

}
