/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Extended Color Palette */
:root {
    /* Primary Purple Colors */
    --primary-purple: #bb86fc;
    --primary-purple-light: #d0b0ff;
    --primary-purple-dark: #9a67ea;
    --primary-purple-darker: #7e57c2;
    
    /* Secondary Colors */
    --accent-blue: #64b5f6;
    --accent-teal: #4db6ac;
    --accent-green: #81c784;
    --accent-yellow: #ffd54f;
    --accent-orange: #ffb74d;
    --accent-red: #e57373;
    
    /* Neutral Colors */
    --dark-bg: #121212;
    --dark-surface: #1e1e2e;
    --dark-surface-light: #2a2a4a;
    --light-text: #f0f0f0;
    --light-text-secondary: #e0e0ff;
    --light-text-tertiary: #c0c0ff;
}

/* Header & Navigation */
header {
    background: linear-gradient(90deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.6);
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.8);
}

.logo-icon {
    height: 32px;
    width: 32px;
    margin-right: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(187, 134, 252, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    background: rgba(30, 30, 46, 0.9);
    padding: 0.6rem 1.2rem;
    border-radius: 35px;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(187, 134, 252, 0.15);
}

nav ul li {
    margin: 0 1.2rem;
    position: relative;
}

nav ul li a {
    color: var(--light-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1.3rem;
    border-radius: 28px;
    display: block;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(187, 134, 252, 0.2) 0%, rgba(100, 181, 246, 0.2) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

nav ul li a:hover::before,
nav ul li a.active::before {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.4);
    transform: translateY(-2px);
}

nav ul li a.active {
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    padding: 0.9rem 1.3rem;
    border-radius: 28px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(42, 42, 74, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(187, 134, 252, 0.2);
    color: var(--light-text);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.dropdown > a::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--light-text-secondary);
}

.dropdown.show > a::after {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

.dropdown-content {
    position: absolute;
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    min-width: 230px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    z-index: 1000;
    padding: 1rem 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scale(0.9);
    margin-top: 1rem;
    border: 1px solid rgba(187, 134, 252, 0.3);
    
    /* Enhanced animation properties with bounce effect */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: top center;
    
    /* Add subtle inner shadow for depth */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                0 0 25px rgba(187, 134, 252, 0.3);
    
    /* Add a subtle glow effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-left: 1px solid rgba(187, 134, 252, 0.3);
    border-top: 1px solid rgba(187, 134, 252, 0.3);
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

.dropdown-content a {
    color: var(--light-text-secondary);
    padding: 1.1rem 1.6rem;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 1.05rem;
    
    /* Animation for dropdown items */
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Add subtle border on hover */
    position: relative;
    overflow: hidden;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(187, 134, 252, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-content a:nth-child(1) {
    transition-delay: 0.05s;
}

.dropdown-content a:nth-child(2) {
    transition-delay: 0.1s;
}

.dropdown-content a:nth-child(3) {
    transition-delay: 0.15s;
}

.dropdown-content a:nth-child(4) {
    transition-delay: 0.2s;
}

.dropdown-content a:hover::before {
    width: 100%;
}

.dropdown-content a:hover {
    background: transparent;
    color: var(--primary-purple);
    padding-left: 1.8rem;
    
    /* Add subtle glow effect on hover */
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
    
    /* Add left border accent */
    border-left: 3px solid var(--primary-purple);
    
    /* Add subtle scale effect */
    transform: translateX(5px) scale(1.02);
}

.dropdown-content a.active {
    background: linear-gradient(90deg, rgba(187, 134, 252, 0.25) 0%, rgba(100, 181, 246, 0.25) 100%);
    color: var(--primary-purple);
    font-weight: 600;
    border-left: 3px solid var(--primary-purple);
}

/* Show dropdown with enhanced animation */
.dropdown.show .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    
    /* Add subtle pulse effect when opening */
    animation: dropdownPulse 0.3s ease-out;
}

@keyframes dropdownPulse {
    0% {
        transform: translateX(-50%) translateY(-20px) scale(0.9);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: translateX(-50%) translateY(5px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6),
                    0 0 25px rgba(187, 134, 252, 0.4);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
                    0 0 25px rgba(187, 134, 252, 0.3);
    }
}

.dropdown.show .dropdown-content a {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.dropdown.show > a {
    background: linear-gradient(90deg, rgba(187, 134, 252, 0.3) 0%, rgba(100, 181, 246, 0.3) 100%);
    color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.5);
    border-radius: 28px;
    border: 1px solid rgba(187, 134, 252, 0.4);
    transform: translateY(-2px);
}

/* Main Content */
main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 250px; /* Add space for fixed footer */
}

.hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 0;
    padding: 10rem 0;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.15) 0%, transparent 70%);
    /* Simplified animation for better performance */
    animation: rotate 30s linear infinite;
    z-index: 0;
    opacity: 0.8;
}

/* Add keyframes for rotate animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    min-height: 400px;
}

.rotating-text {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.rotating-text h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.6);
    line-height: 1.3;
    font-weight: 800;
    min-height: 120px;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
}

.rotating-text h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-purple-light);
    text-shadow: 0 0 15px rgba(208, 176, 255, 0.6);
    line-height: 1.4;
    font-weight: 500;
    min-height: 80px;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.hero-text {
    margin-bottom: 3rem;
    width: 100%;
}

.hero-text p {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--light-text-secondary);
    text-shadow: 0 0 10px rgba(224, 224, 255, 0.4);
    line-height: 1.7;
    font-weight: 400;
}

.hero-text p:last-child {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--light-text-tertiary);
    border-top: 1px solid rgba(187, 134, 252, 0.4);
    padding-top: 1.2rem;
    margin-top: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    padding: 1.2rem 2.5rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    min-width: 220px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(187, 134, 252, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 3px solid var(--primary-purple);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(187, 134, 252, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(187, 134, 252, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(187, 134, 252, 0.6);
}

.btn-accent-blue {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #3a86ff 100%);
    color: var(--dark-bg);
}

.btn-accent-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3a86ff 0%, var(--accent-blue) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-accent-blue:hover::before {
    width: 100%;
}

.btn-accent-blue:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(58, 134, 255, 0.6);
}

.btn-accent-teal {
    background: linear-gradient(90deg, var(--accent-teal) 0%, #3fffa8 100%);
    color: var(--dark-bg);
}

.btn-accent-teal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #3fffa8 0%, var(--accent-teal) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-accent-teal:hover::before {
    width: 100%;
}

.btn-accent-teal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(63, 255, 168, 0.6);
}

.btn-accent-green {
    background: linear-gradient(90deg, var(--accent-green) 0%, #2ecc71 100%);
    color: var(--dark-bg);
}

.btn-accent-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71 0%, var(--accent-green) 100%);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-accent-green:hover::before {
    width: 100%;
}

.btn-accent-green:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(46, 204, 113, 0.6);
}

/* Typing Animation Effect */
.typing-cursor {
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: .15em;
    position: relative;
}

.typing-cursor::after {
    content: '|';
    color: var(--primary-purple);
    animation: blink 0.9s infinite;
    margin-left: 5px;
    opacity: 1;
    transition: opacity 0.1s ease;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.rotating-text h1, .rotating-text h2 {
    margin-bottom: 1.2rem;
    transition: all 0.2s ease;
}

/* Templates Page */
.page-content .notice {
    background: rgba(187, 134, 252, 0.15);
    border: 1px solid var(--primary-purple);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.page-content .notice p {
    font-size: 1.2rem;
    color: var(--primary-purple-light);
    margin: 0;
    line-height: 1.6;
}

.notice-secondary {
    margin-top: 1rem !important;
    font-size: 1.1rem !important;
    color: var(--light-text-secondary) !important;
}

.notice-secondary a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dotted var(--accent-blue);
}

.notice-secondary a:hover {
    color: var(--primary-purple);
    border-bottom: 1px solid var(--primary-purple);
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.5);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.category-btn:hover {
    background: rgba(187, 134, 252, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(187, 134, 252, 0.3);
}

.category-btn.active {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.4);
}

.category-btn.active:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 550px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* Portfolio Page Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(187, 134, 252, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(187, 134, 252, 0.3);
}

.portfolio-image-placeholder {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.portfolio-info p {
    color: var(--light-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(187, 134, 252, 0.15);
    color: var(--primary-purple);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-info {
        padding: 1rem;
    }
    
    .portfolio-info h2 {
        font-size: 1.2rem;
    }
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(187, 134, 252, 0.4);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-placeholder {
    height: 260px;
    margin-bottom: 1.8rem;
    border-radius: 15px;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1.2rem;
    }
    
    .logo {
        margin-bottom: 1.2rem;
        font-size: 2rem;
    }
    
    nav ul {
        margin-top: 1.2rem;
    }
    
    nav ul li {
        margin: 0 0.4rem;
    }
    
    nav ul li a {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    
    nav ul li {
        margin: 0 0.4rem;
    }
    
    nav ul li a {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
}
    
    nav ul li {
        margin: 0 0.4rem;
    }
    
    nav ul li a {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    
    nav ul li {
        margin: 0 0.4rem;
    }
    
    nav ul li a {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    
    .hero {
        padding: 9rem 0;
    }
    
    .hero-content {
        padding: 0 1.2rem;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.4;
    }
    
    .hero h2 {
        font-size: 1.7rem;
        margin-bottom: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.3rem;
    }
    
    .hero-text p:first-child {
        font-size: 1.5rem;
    }
    
    .hero-text p:last-child {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        width: auto;
        max-width: 320px;
        margin: 0 0.5rem 1.2rem 0.5rem;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-width: 140px;
    }
    
    .portfolio-preview {
        padding: 2.5rem 0;
        margin-bottom: 2.5rem;
    }
    
    .portfolio-preview .container {
        padding: 0 1.2rem;
    }
    
    .portfolio-preview h2 {
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    
    .carousel-container {
        margin: 1.8rem 0;
        flex-direction: column;
    }
    
    .notebook-container {
        width: 95%;
        margin: 0 1.2rem;
    }
    
    .notebook-container::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 12px;
    }
    
    .notebook-3d {
        width: 100%;
        transform: rotateX(3deg) rotateY(-3deg);
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        transition: background 0.2s ease;
    }
    
    .prev-arrow {
        margin-right: 0.6rem;
        position: absolute;
        left: 0.6rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .next-arrow {
        margin-left: 0.6rem;
        position: absolute;
        right: 0.6rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .portfolio-preview p {
        font-size: 1.2rem;
        margin-top: 1.2rem;
    }
    
    .carousel-wrapper p {
        font-size: 1.3rem;
        margin-top: 1rem;
    }
    
    .carousel-description {
        max-width: 100%;
        padding: 1.2rem;
        margin: 1.2rem auto 0;
    }
    
    .carousel-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .carousel-indicators {
        margin-top: 1rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
    
    .featured-products {
        padding: 0 1.2rem;
    }
    
    .page {
        padding: 1.8rem 0;
    }
    
    .page h1 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.2rem;
    }
    
    .page h1::after {
        width: 100px;
        height: 4px;
    }
    
    .page-content {
        padding: 1.8rem;
        min-height: 400px;
    }
    
    .page-content .notice {
        padding: 1.5rem;
    }
    
    .page-content .notice p {
        font-size: 1.1rem;
    }
    
    .category-filter {
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .category-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        margin-top: 1.5rem;
    }
    
    .product-card {
        padding: 1.8rem;
        min-height: 520px;
    }
    
    .product-image-placeholder {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 1.3rem;
        padding-bottom: 0.8rem;
    }
    
    .product-header h2 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }
    
    .product-details p {
        font-size: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.2rem;
        justify-content: center;
        padding: 0 1rem;
        position: relative;
        margin-left: 0;
        align-self: center;
    }
    
    .product-actions::before {
        content: '';
        position: absolute;
        top: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
        opacity: 0.3;
    }
    
    .details-btn, .buy-btn, .btn-secondary, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        width: 100%;
        font-size: 1.2rem;
        padding: 1.5rem 2rem;
        max-width: none;
        min-width: auto;
    }

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
    border: 2px dashed var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(187, 134, 252, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

/* Updated Product Card Styles */
.product-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: var(--primary-purple);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #2a2a4a, #3a3a5a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
}

.product-header h2 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* New Price Design */
.price.new-price {
    background: transparent;
    color: var(--primary-purple);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(187, 134, 252, 0.4);
    border: 2px solid var(--primary-purple);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
    align-self: center;
    margin: 0 auto;
}

.price.new-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-blue) 100%);
    opacity: 0.2;
    z-index: -1;
}

.price.new-price:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(187, 134, 252, 0.6);
}

.product-details {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.product-details p {
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}



.details-btn, .buy-btn, .btn-secondary, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    min-width: 180px;
    max-width: 250px;
}

.details-btn, .btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.details-btn:hover, .btn-secondary:hover {
    background: rgba(187, 134, 252, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.buy-btn, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.buy-btn:hover, .btn-primary:hover, .btn-accent-blue:hover, .btn-accent-teal:hover, .btn-accent-green:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

/* Page Layout */
.page {
    padding: 2rem 0;
}

.page h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    text-align: center;
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.6);
    font-weight: 800;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 1.5rem;
}

.page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
}

.page-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 3rem;
    min-height: 500px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-surface-light);
    position: relative;
    overflow: hidden;
}

.page-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.05) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
    z-index: 0;
    opacity: 0.3;
}

.page-content > * {
    position: relative;
    z-index: 1;
}

.page-content .notice {
    background: rgba(187, 134, 252, 0.15);
    border: 1px solid var(--primary-purple);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.page-content .notice p {
    font-size: 1.2rem;
    color: var(--primary-purple-light);
    margin: 0;
    line-height: 1.6;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2.5rem 0;
    justify-content: center;
}

.category-btn {
    padding: 1rem 1.8rem;
    border-radius: 35px;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.4);
    color: var(--dark-bg);
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 5px 20px rgba(187, 134, 252, 0.5);
}

.category-btn.active:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(187, 134, 252, 0.6);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(187, 134, 252, 0.5);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-placeholder {
    height: 260px;
    margin-bottom: 1.8rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
    border: 2px dashed var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Enhanced Responsive Design for All Screen Sizes */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-card {
        min-height: 600px;
    }
    
    .product-image-placeholder {
        height: 260px;
    }
    
    .hero {
        padding: 15rem 0;
    }
    
    .hero-content {
        max-width: 1200px;
    }
    
    .rotating-text h1 {
        font-size: 3.2rem;
    }
    
    .rotating-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        gap: 2rem;
    }
    
    .btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
        min-width: 220px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 1199px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .product-card {
        min-height: 580px;
        padding: 2rem;
    }
    
    .product-image-placeholder {
        height: 240px;
    }
    
    .product-header h2 {
        font-size: 1.6rem;
    }
    
    .product-details p {
        font-size: 1rem;
    }
    
    .details-btn, .buy-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        min-width: 160px;
    }
    
    .hero {
        padding: 12rem 0;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .rotating-text h1 {
        font-size: 2.8rem;
    }
    
    .rotating-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        gap: 1.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
        min-width: 180px;
    }
    
    nav ul li {
        margin: 0 0.8rem;
    }
    
    nav ul li a {
        padding: 0.7rem 1.1rem;
        font-size: 1.1rem;
    }
}

/* Small screens (mobile phones) */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }
    
    nav ul {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 25px;
    }
    
    nav ul li {
        margin: 0 0.4rem;
    }
    
    nav ul li a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
    
    .dropdown > a {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .dropdown-content {
        min-width: 200px;
    }
    
    .dropdown-content a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero-content {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .rotating-text {
        min-height: 220px;
    }
    
    .rotating-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        min-height: 100px;
    }
    
    .rotating-text h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        min-height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        margin-bottom: 2rem;
        min-height: 110px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin: 0.7rem 0;
    }
    
    .hero-text p:first-child {
        font-size: 1.2rem;
    }
    
    .hero-text p:last-child {
        font-size: 1rem;
        padding-top: 0.8rem;
        margin-top: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        width: 100%;
        max-width: 280px;
        margin: 0;
        padding: 1rem 1.8rem;
        font-size: 1rem;
        min-width: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .product-card {
        min-height: 550px;
        padding: 1.5rem;
    }
    
    .product-image-placeholder {
        height: 220px;
        margin-bottom: 1.5rem;
    }
    
    .product-header {
        margin-bottom: 1.2rem;
        padding-bottom: 0.8rem;
    }
    
    .product-header h2 {
        font-size: 1.5rem;
    }
    
    .price {
        padding: 0.4rem 1rem;
        font-size: 1.1rem;
    }
    
    .product-details p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .product-actions {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .details-btn, .buy-btn {
        padding: 1.2rem 1.8rem;
        font-size: 1rem;
        min-width: 140px;
        max-width: 200px;
    }
    
    .page h1 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
        padding-bottom: 1rem;
    }
    
    .page-content {
        padding: 2rem 1.5rem;
        min-height: 400px;
    }
    
    .category-filter {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .category-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    footer .footer-content {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    footer .footer-section {
        min-width: 100%;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    footer .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    footer .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    footer .footer-section ul li {
        margin: 0 0.5rem 0.5rem;
    }
    
    footer .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    footer .footer-bottom {
        padding-top: 1rem;
        margin-top: 0.8rem;
    }
    
    footer .footer-bottom p {
        font-size: 0.85rem;
        margin: 0.3rem 0;
    }
    
    .social-icons-container {
        align-items: center;
    }
    
    .social-icon-tooltip {
        width: 35px;
        height: 35px;
    }
    
    .social-icon {
        width: 25px;
        height: 25px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .tooltip-text {
        font-size: 0.85rem;
    }
    
    .trust-seal-container {
        margin: 0.8rem 0;
    }
    
    .trust-seal {
        padding: 5px 12px;
    }
    
    .seal-badge {
        width: 30px;
        height: 30px;
    }
    
    .seal-badge svg {
        width: 16px;
        height: 16px;
    }
    
    .seal-title {
        font-size: 0.8rem;
    }
    
    .seal-subtitle {
        font-size: 0.65rem;
    }
    
    main {
        padding-bottom: 200px;
    }
}

/* Extra small screens (small phones) */
@media (max-width: 480px) {
    nav {
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    nav ul {
        padding: 0.4rem 0.8rem;
    }
    
    nav ul li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .dropdown > a {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }
    
    .dropdown-content a {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .rotating-text {
        min-height: 200px;
    }
    
    .rotating-text h1 {
        font-size: 1.8rem;
        min-height: 80px;
    }
    
    .rotating-text h2 {
        font-size: 1.3rem;
        min-height: 60px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin: 0.6rem 0;
    }
    
    .hero-text p:first-child {
        font-size: 1.1rem;
    }
    
    .btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .product-card {
        min-height: 520px;
        padding: 1.2rem;
    }
    
    .product-image-placeholder {
        height: 180px;
        margin-bottom: 1.2rem;
    }
    
    .product-header h2 {
        font-size: 1.3rem;
    }
    
    .price {
        padding: 0.3rem 0.8rem;
        font-size: 1rem;
    }
    
    .product-details p {
        font-size: 0.9rem;
    }
    
    .details-btn, .buy-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        min-width: 120px;
    }
    
    .page h1 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 1.5rem 1rem;
    }
    
    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    main {
        padding-bottom: 180px;
    }
}

/* Large screens (ultra-wide monitors) */
@media (min-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .hero-content {
        max-width: 1400px;
    }
    
    .rotating-text h1 {
        font-size: 3.5rem;
    }
    
    .rotating-text h2 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1.6rem;
    }
}

/* Ensure proper viewport handling */
@viewport {
    width: device-width;
    zoom: 1.0;
}


.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(187, 134, 252, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(187, 134, 252, 0.25);
}

.product-header h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.3);
}

.price {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(187, 134, 252, 0.4);
    text-align: center;
    margin: 0 auto;
}

.product-details {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.product-details p {
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-left: 0;
    position: relative;
    align-self: center;
}

.product-actions::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0.3;
}



.details-btn, .buy-btn, .btn-secondary, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    min-width: 180px;
    max-width: 250px;
}

.details-btn, .btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.details-btn:hover, .btn-secondary:hover {
    background: rgba(187, 134, 252, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.buy-btn, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.buy-btn:hover, .btn-primary:hover, .btn-accent-blue:hover, .btn-accent-teal:hover, .btn-accent-green:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

/* Social Icons with Circular Expand Effect */
.social-icons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.social-icon-tooltip {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 5px 5px; /* Reduced padding to make it circular */
    background: rgba(187, 134, 252, 0.05);
    border: 1px solid rgba(187, 134, 252, 0.1);
    width: 40px; /* Fixed width for circular shape */
    height: 40px; /* Fixed height for circular shape */
    transition: all 0.4s ease;
}

.social-icon-tooltip:hover {
    width: 280px; /* Expanded width on hover */
    background: rgba(187, 134, 252, 0.15);
    box-shadow: 0 5px 15px rgba(187, 134, 252, 0.2);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: rgba(187, 134, 252, 0.1);
    color: var(--primary-purple);
    transition: all 0.3s ease;
    border: 1px solid rgba(187, 134, 252, 0.3);
    z-index: 2;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.social-icon-tooltip:hover .social-icon {
    background: var(--primary-purple);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.social-icon-tooltip.whatsapp:hover .social-icon {
    background: #25D366;
    color: white;
}

.social-icon-tooltip.email:hover .social-icon {
    background: #EA4335;
    color: white;
}

.social-icon-tooltip.instagram:hover .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.tooltip-text {
    margin-left: 15px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-text);
    z-index: 1;
    overflow: hidden;
}

.social-icon-tooltip:hover .tooltip-text {
    opacity: 1;
    transform: translateX(0);
}

.social-icon-tooltip.whatsapp:hover {
    border-color: #25D366;
}

.social-icon-tooltip.email:hover {
    border-color: #EA4335;
}

.social-icon-tooltip.instagram:hover {
    border-color: #bc1888;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #0a0a1a 100%);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(187, 134, 252, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue), var(--accent-teal));
    animation: borderAnimation 3s ease-in-out infinite alternate;
}

footer .footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

footer .footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
    text-align: left;
}

footer .footer-section h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

footer .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-purple);
}

footer .footer-section ul {
    list-style: none;
    padding: 0;
}

footer .footer-section ul li {
    margin-bottom: 0.8rem;
}

footer .footer-section ul li a {
    color: var(--light-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer .footer-section ul li a:hover {
    color: var(--primary-purple);
    transform: translateX(5px);
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

footer .footer-bottom p {
    margin: 0.5rem 0;
    color: var(--light-text-tertiary);
    font-size: 0.9rem;
}

/* Main Content */
main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 250px; /* Add space for fixed footer */
}

.hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 0;
    padding: 15rem 0;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.1) 0%, transparent 70%);
    /* Simplified animation for better performance */
    animation: rotate 30s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

.hero-content {
    display: inline-block;
    text-align: left;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    min-height: 300px;
    transition: all 0.3s ease;
}

.rotating-text {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.rotating-text h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
    line-height: 1.4;
    font-weight: 700;
    min-height: 100px;
    transition: all 0.2s ease;
    word-wrap: break-word;
    hyphens: auto;
}

.rotating-text h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary-purple-light);
    text-shadow: 0 0 10px rgba(208, 176, 255, 0.5);
    line-height: 1.5;
    font-weight: 500;
    min-height: 70px;
    transition: all 0.2s ease;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-text {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    min-height: 130px;
    word-wrap: break-word;
}

.hero-text p {
    font-size: 1.4rem;
    margin: 0.8rem 0;
    color: var(--light-text-secondary);
    text-shadow: 0 0 10px rgba(224, 224, 255, 0.3);
    line-height: 1.7;
    word-wrap: break-word;
    hyphens: auto;
    transition: all 0.3s ease;
}

.hero-text p:first-child {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-purple-light);
}

.hero-text p:last-child {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--light-text-tertiary);
    border-top: 1px solid rgba(187, 134, 252, 0.3);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Add smooth transitions for content changes */
.hero-content {
    display: inline-block;
    text-align: left;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    min-height: 300px;
    transition: all 0.3s ease;
    will-change: contents;
}

.rotating-text {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    will-change: contents;
}

.rotating-text h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
    line-height: 1.4;
    font-weight: 700;
    min-height: 100px;
    transition: all 0.2s ease;
    word-wrap: break-word;
    hyphens: auto;
    will-change: contents;
}

.rotating-text h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary-purple-light);
    text-shadow: 0 0 10px rgba(208, 176, 255, 0.5);
    line-height: 1.5;
    font-weight: 500;
    min-height: 70px;
    transition: all 0.2s ease;
    word-wrap: break-word;
    hyphens: auto;
    will-change: contents;
}

.hero-text {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    min-height: 130px;
    word-wrap: break-word;
    will-change: contents;
}

.hero-text p {
    font-size: 1.4rem;
    margin: 0.8rem 0;
    color: var(--light-text-secondary);
    text-shadow: 0 0 10px rgba(224, 224, 255, 0.3);
    line-height: 1.7;
    word-wrap: break-word;
    hyphens: auto;
    transition: all 0.3s ease;
    will-change: contents;
}

.hero-text p:first-child {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-purple-light);
    will-change: contents;
}

.hero-text p:last-child {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--light-text-tertiary);
    border-top: 1px solid rgba(187, 134, 252, 0.3);
    padding-top: 1rem;
    margin-top: 1.5rem;
    will-change: contents;
}

.hero-text {
    min-height: 130px;
    word-wrap: break-word;
}

.hero-text p {
    font-size: 1.4rem;
    margin: 0.8rem 0;
    color: var(--light-text-secondary);
    text-shadow: 0 0 10px rgba(224, 224, 255, 0.3);
    line-height: 1.7;
    word-wrap: break-word;
    hyphens: auto;
    transition: all 0.3s ease;
}

.hero-text p:first-child {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-purple-light);
}

.hero-text p:last-child {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--light-text-tertiary);
    border-top: 1px solid rgba(187, 134, 252, 0.3);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Add subtle text shadow for depth during typing */
.rotating-text h1.typing-cursor,
.rotating-text h2.typing-cursor {
    text-shadow: 0 0 5px rgba(187, 134, 252, 0.7);
}

/* Add smooth transitions for content changes */

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-primary, .btn-secondary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    min-width: 200px;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: rgba(187, 134, 252, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.5);
}

.btn-accent-blue {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #3a86ff 100%);
    color: var(--dark-bg);
}

.btn-accent-blue:hover {
    background: linear-gradient(90deg, #3a86ff 0%, var(--accent-blue) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(58, 134, 255, 0.5);
}

.btn-accent-teal {
    background: linear-gradient(90deg, var(--accent-teal) 0%, #3fffa8 100%);
    color: var(--dark-bg);
}

.btn-accent-teal:hover {
    background: linear-gradient(90deg, #3fffa8 0%, var(--accent-teal) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(63, 255, 168, 0.5);
}

.btn-accent-green {
    background: linear-gradient(90deg, var(--accent-green) 0%, #2ecc71 100%);
    color: var(--dark-bg);
}

.btn-accent-green:hover {
    background: linear-gradient(90deg, #2ecc71 0%, var(--accent-green) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5);
}

/* Gradient divider styles */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #bb86fc, #6a11cb, #2575fc, transparent);
    margin: 2rem 0;
    border-radius: 1px;
    opacity: 0.7;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(18, 18, 30, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(187, 134, 252, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue), var(--primary-purple));
    border-radius: 20px;
    z-index: -1;
    animation: borderAnimation 4s ease-in-out infinite alternate;
    opacity: 0.5;
    background-size: 300% 300%;
}

.carousel-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.8);
    border-color: rgba(187, 134, 252, 0.4);
}

.carousel-container:hover::before {
    opacity: 0.7;
}

@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
        transform: scale(1.02);
        opacity: 0.7;
    }
}

.simple-carousel {
    width: 85%;
    max-width: 800px;
    margin: 0 2rem;
    position: relative;
    z-index: 2;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.9) 0%, rgba(26, 26, 46, 0.95) 100%);
    border: 1px solid rgba(187, 134, 252, 0.3);
    transition: all 0.4s ease;
}

.carousel-wrapper:hover {
    border-color: rgba(187, 134, 252, 0.6);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.carousel-slide {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.portfolio-video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.video-title {
    color: var(--accent-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1.5rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(100, 181, 246, 0.6);
    position: relative;
    display: block;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-arrow {
    background: rgba(187, 134, 252, 0.25);
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-arrow:hover {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 25px rgba(187, 134, 252, 0.6);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow:hover svg {
    color: var(--dark-bg);
    transform: scale(1.1);
}

.carousel-arrow svg {
    color: var(--primary-purple);
    stroke-width: 3;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
}

.prev-arrow {
    left: 1.5rem;
}

.next-arrow {
    right: 1.5rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 10px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(187, 134, 252, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.indicator.active,
.indicator:hover {
    background: var(--primary-purple);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.8);
}

/* Templates Page */
.page-content .notice {
    background: rgba(187, 134, 252, 0.15);
    border: 1px solid var(--primary-purple);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}


.notice-secondary {
    margin-top: 1rem !important;
    font-size: 1.1rem !important;
    color: var(--light-text-secondary) !important;
}

.notice-secondary a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dotted var(--accent-blue);
}

.notice-secondary a:hover {
    color: var(--primary-purple);
    border-bottom: 1px solid var(--primary-purple);
    text-shadow: 0 0 8px rgba(187, 134, 252, 0.5);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.category-btn:hover {
    background: rgba(187, 134, 252, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(187, 134, 252, 0.3);
}

.category-btn.active {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.4);
}

.category-btn.active:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 550px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(187, 134, 252, 0.4);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-placeholder {
    height: 260px;
    margin-bottom: 1.8rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
    border: 2px dashed var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(187, 134, 252, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(187, 134, 252, 0.2);
}

.product-header h2 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(187, 134, 252, 0.3);
}

.product-details {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.product-details p {
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Centered Buttons */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    justify-content: center; /* Center buttons */
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-left: 0;
    position: relative;
    align-self: center;
}

.details-btn, .buy-btn, .btn-secondary, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    padding: 1.5rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    min-width: 180px;
    max-width: 250px;
    width: auto;
}

.details-btn, .btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.details-btn:hover, .btn-secondary:hover {
    background: rgba(187, 134, 252, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.buy-btn, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.buy-btn:hover, .btn-primary:hover, .btn-accent-blue:hover, .btn-accent-teal:hover, .btn-accent-green:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

/* Page Layout */
.page {
    padding: 2rem 0;
}

.page h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    text-align: center;
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.6);
    font-weight: 800;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 1.5rem;
}

.page h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
}

.page-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 3rem;
    min-height: 500px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--dark-surface-light);
    position: relative;
    overflow: hidden;
}

.page-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.05) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
    z-index: 0;
    opacity: 0.3;
}

.page-content > * {
    position: relative;
    z-index: 1;
}

.page-content .notice {
    background: rgba(187, 134, 252, 0.15);
    border: 1px solid var(--primary-purple);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.page-content .notice p {
    font-size: 1.2rem;
    color: var(--primary-purple-light);
    margin: 0;
    line-height: 1.6;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2.5rem 0;
    justify-content: center;
}

.category-btn {
    padding: 1rem 1.8rem;
    border-radius: 35px;
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.4);
    color: var(--dark-bg);
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn.active {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    border: none;
    box-shadow: 0 5px 20px rgba(187, 134, 252, 0.5);
}

.category-btn.active:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(187, 134, 252, 0.6);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 18px;
    padding: 2.2rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 600px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(187, 134, 252, 0.5);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image-placeholder {
    height: 260px;
    margin-bottom: 1.8rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 134, 252, 0.15) 0%, rgba(100, 181, 246, 0.15) 100%);
    border: 2px dashed var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(187, 134, 252, 0.3), transparent);
    transform: rotate(45deg);
}

/* Plan Cards Styles */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.plan-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1a1a2e 100%);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--dark-surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(187, 134, 252, 0.5);
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card.premium {
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 30px rgba(187, 134, 252, 0.3);
}

.plan-card.premium::after {
    content: 'MAIS POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-purple);
    color: var(--dark-bg);
    padding: 5px 30px;
    font-weight: 700;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(187, 134, 252, 0.25);
}

.plan-header h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.1rem;
    color: var(--light-text-secondary);
}

.price-unique {
    font-size: 1rem;
    color: var(--primary-purple);
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-description p {
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(187, 134, 252, 0.1);
    color: var(--light-text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: var(--primary-purple);
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.plan-actions {
    text-align: center;
}

.plan-actions .btn-primary,
.plan-actions .btn-accent-blue,
.plan-actions .btn-accent-purple {
    width: 100%;
    padding: 1.2rem;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.plan-actions .btn-primary {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.plan-actions .btn-accent-blue {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #1a73e8 100%);
    color: var(--dark-bg);
}

.plan-actions .btn-accent-purple {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    color: var(--dark-bg);
}

.plan-actions .btn-primary:hover,
.plan-actions .btn-accent-blue:hover,
.plan-actions .btn-accent-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

/* Responsive Design for Plan Cards */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card {
        padding: 2rem;
    }
    
    .plan-header h2 {
        font-size: 1.6rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(187, 134, 252, 0.25);
}

.product-header h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.3);
}

.price {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(187, 134, 252, 0.4);
    text-align: center;
    margin: 0 auto;
}

.product-details {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.product-details p {
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    margin-left: 0;
    position: relative;
    align-self: center;
}

.product-actions::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0.3;
}

.details-btn, .buy-btn, .btn-secondary, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
    min-width: 180px;
    max-width: 250px;
}

.details-btn, .btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.details-btn:hover, .btn-secondary:hover {
    background: rgba(187, 134, 252, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.buy-btn, .btn-primary, .btn-accent-blue, .btn-accent-teal, .btn-accent-green {
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    color: var(--dark-bg);
}

.buy-btn:hover, .btn-primary:hover, .btn-accent-blue:hover, .btn-accent-teal:hover, .btn-accent-green:hover {
    background: linear-gradient(90deg, var(--primary-purple-dark) 0%, var(--primary-purple) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) and (min-width: 769px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        min-height: 580px;
        padding: 2rem;
    }
    
    .product-image-placeholder {
        height: 240px;
    }
    
    .product-header h2 {
        font-size: 1.6rem;
    }
    
    .product-details p {
        font-size: 1rem;
    }
    
    .details-btn, .buy-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1.2rem;
    }
    
    .logo {
        margin-bottom: 1.2rem;
        font-size: 2rem;
    }
    
    nav ul {
        margin-top: 1.2rem;
    }
}
