/* Professional cybersecurity theme adapted for shop */
:root {
    --primary-navy: #1a365d;
    --secondary-slate: #475569;
    --accent-steel: #64748b;
    --success-green: #059669;
    --warning-amber: #d97706;
    --error-red: #dc2626;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --text-dark: #1e293b;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --border-light: #e2e8f0;
    --shadow-light: rgba(15, 23, 42, 0.08);
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #059669 0%, #0d9488 100%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--pure-white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.close {
    color: var(--text-medium);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-dark);
}

/* Cart Styles */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--error-red);
    color: var(--pure-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--pure-white);
    box-shadow: -5px 0 15px var(--shadow-light);
    transition: right 0.3s ease;
    z-index: 1500;
    padding: 20px;
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--off-white);
    border-radius: 8px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--success-green);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    background: var(--border-light);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--accent-steel);
    color: var(--pure-white);
}

.cart-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.checkout-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.2s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

/* Account Styles */
.account-section {
    background: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    margin: 20px 0;
}

.account-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.account-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.account-tab.active {
    border-bottom-color: var(--primary-navy);
    color: var(--primary-navy);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.order-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: var(--warning-amber);
    color: var(--pure-white);
}

.status-processing {
    background: var(--secondary-slate);
    color: var(--pure-white);
}

.status-shipped {
    background: var(--success-green);
    color: var(--pure-white);
}

.status-delivered {
    background: var(--primary-navy);
    color: var(--pure-white);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--pure-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: relative;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-navy);
}

.logo span {
    color: var(--accent-steel);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-navy);
}

/* Buttons */
.cta-button {
    background: var(--gradient-primary);
    color: var(--pure-white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-light);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-light);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--gradient-accent);
    color: var(--pure-white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: var(--pure-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--pure-white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--accent-steel);
}

/* Hero Section Enhancements */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10h10v1H0zM10 0v10h1V0z" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    padding: 0 40px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #cbd5e1;
    color: #cbd5e1;
}

.cta-button.secondary:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

.security-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.dashboard-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.dashboard-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Blog Highlights Section */
.blog-highlights {
    padding: 80px 0;
    background-color: var(--off-white);
}

.blog-highlights h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-highlights > p {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.blog-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-highlight {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-highlight-image {
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.blog-highlight-content {
    padding: 20px;
}

.blog-highlight-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #64748b;
}

.blog-highlight-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-highlight-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-highlight-title a:hover {
    color: #3b82f6;
}

.blog-highlight-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-highlight-read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-highlight-read-more:hover {
    color: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .cart-icon {
        font-size: 1.2rem;
    }

    .cta-button {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-ctas {
        justify-content: center;
        flex-direction: column;
    }

    .security-dashboard {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
    }

    .logo {
        font-size: 18px;
    }

    .cart-icon {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}
