:root {
    --primary-dark: #0a1128;
    --primary-light: #1a2c5b;
    --accent-color: #7b68ee;
    --text-color: #e6e6e6;
    --gradient-start: #0a1128;
    --gradient-end: #1a2c5b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--primary-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(123, 104, 238, 0.1) 0%, 
        rgba(26, 44, 91, 0.2) 50%, 
        rgba(10, 17, 40, 0.3) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
header {
    padding: 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0) 100%);
}

.logo {
    max-width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Product Cards */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, rgba(26, 44, 91, 0.3), rgba(10, 17, 40, 0.5));
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 104, 238, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.1);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
}

.icon-animation {
    position: relative;
    width: fit-content;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(123, 104, 238, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

.product-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-card p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Product Illustrations */
.product-illustration {
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(10, 17, 40, 0.3);
}

.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: flow 4s linear infinite;
    opacity: 0.1;
}

@keyframes flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 200%; }
}

.dashboard-elements {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.element {
    width: 60px;
    height: 60px;
    background: rgba(123, 104, 238, 0.1);
    border-radius: 10px;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(123, 104, 238, 0.1); }
    to { box-shadow: 0 0 20px rgba(123, 104, 238, 0.3); }
}

.shield-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 120px;
    border: 2px solid rgba(123, 104, 238, 0.2);
    border-radius: 50% 50% 0 0;
    animation: shield-pulse 2s infinite alternate;
}

@keyframes shield-pulse {
    from { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Newsletter Section */
.newsletter {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, 
        rgba(10, 17, 40, 0) 0%,
        rgba(26, 44, 91, 0.2) 100%);
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #fff, #7b68ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.signup-form {
    max-width: 500px;
    margin: 2rem auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: inherit;
}

button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: var(--accent-color);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 104, 238, 0.3);
}

/* Footer */
footer {
    padding: 2rem;
    background: rgba(10, 17, 40, 0.9);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Animations */
.reveal-text {
    animation: reveal 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.reveal-text-delay {
    animation: reveal 1s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .products {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Success Message */
.success-message {
    color: var(--accent-color);
    font-weight: 500;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
