/* Custom Properties */
@property --cyan1-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 10%;
}

@property --cyan1-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 20%;
}

@property --magenta1-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 120%;
}

@property --magenta1-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 30%;
}

@property --yellow1-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 80%;
}

@property --yellow1-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 90%;
}

@property --cyan2-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 180%;
}

@property --cyan2-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 20%;
}

@property --magenta2-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 20%;
}

@property --magenta2-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 30%;
}

@property --yellow2-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: -20%;
}

@property --yellow2-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 90%;
}

@property --cyan3-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 30%;
}

@property --cyan3-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 20%;
}

@property --magenta3-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 120%;
}

@property --magenta3-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 20%;
}

@property --yellow3-x {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 70%;
}

@property --yellow3-y {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 130%;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sen', sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #121212;
    color: white;
    padding: 20px;
}

/* Logo Styles */
.logo-container {
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-container img {
    max-width: 300px;
    height: auto;
}

.logo-icons {
    display: flex;
    gap: 0.5rem;
}

.icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.icon-square {
    background: #98E2E0;
}

.icon-circle {
    background: #FFB1B8;
    border-radius: 50%;
}

.icon-triangle {
    background: #FF69B4;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.logo-text {
    font-size: 3rem;
    font-weight: 400;
    margin-left: 1rem;
}

/* Card Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Styles */
.contact-container {
    margin-top: 2rem;
    text-align: center;
}

.email-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Card Styles */
.card {
    position: relative;
    border-radius: 2rem;
    padding: 3rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card h2, .card p, .card .highlight {
    position: relative;
    z-index: 2;
}

.card h2 {
    font-size: 2rem;
    font-weight: 600;
}

.card p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 400;
}

.card .highlight {
    font-size: 1.1rem;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 0.2rem;
    font-weight: 500;
}

/* Card Gradients */
.card:nth-child(1) {
    background: 
        radial-gradient(circle at var(--cyan1-x) var(--cyan1-y), rgba(0, 255, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--magenta1-x) var(--magenta1-y), rgba(255, 0, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--yellow1-x) var(--yellow1-y), rgba(255, 255, 0, 0.7), transparent 60%);
    transition: 
        --cyan1-x 0.5s ease-in-out,
        --cyan1-y 0.5s ease-in-out,
        --magenta1-x 0.5s ease-in-out,
        --magenta1-y 0.5s ease-in-out,
        --yellow1-x 0.5s ease-in-out,
        --yellow1-y 0.5s ease-in-out;
}

.card:nth-child(1):hover {
    --cyan1-x: 0%;
    --cyan1-y: 10%;
    --magenta1-x: 60%;
    --magenta1-y: 40%;
    --yellow1-x: 60%;
    --yellow1-y: 60%;
}

.card:nth-child(2) {
    background: 
        radial-gradient(circle at var(--cyan2-x) var(--cyan2-y), rgba(0, 255, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--magenta2-x) var(--magenta2-y), rgba(255, 0, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--yellow2-x) var(--yellow2-y), rgba(255, 255, 0, 0.7), transparent 60%);
    transition: 
        --cyan2-x 0.5s ease-in-out,
        --cyan2-y 0.5s ease-in-out,
        --magenta2-x 0.5s ease-in-out,
        --magenta2-y 0.5s ease-in-out,
        --yellow2-x 0.5s ease-in-out,
        --yellow2-y 0.5s ease-in-out;
}

.card:nth-child(2):hover {
    --cyan2-x: 30%;
    --cyan2-y: 30%;
    --magenta2-x: 70%;
    --magenta2-y: 30%;
    --yellow2-x: 50%;
    --yellow2-y: 70%;
}

.card:nth-child(3) {
    background: 
        radial-gradient(circle at var(--cyan3-x) var(--cyan3-y), rgba(0, 255, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--magenta3-x) var(--magenta3-y), rgba(255, 0, 255, 0.7), transparent 60%),
        radial-gradient(circle at var(--yellow3-x) var(--yellow3-y), rgba(255, 255, 0, 0.7), transparent 60%);
    transition: 
        --cyan3-x 0.5s ease-in-out,
        --cyan3-y 0.5s ease-in-out,
        --magenta3-x 0.5s ease-in-out,
        --magenta3-y 0.5s ease-in-out,
        --yellow3-x 0.5s ease-in-out,
        --yellow3-y 0.5s ease-in-out;
}

.card:nth-child(3):hover {
    --cyan3-x: 30%;
    --cyan3-y: 50%;
    --magenta3-x: 70%;
    --magenta3-y: 40%;
    --yellow3-x: 50%;
    --yellow3-y: 50%;
}

/* Responsive Design */
@media (min-width: 901px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .card {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .card {
        height: 35vh;
        min-height: 150px;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .card p {
        font-size: 1rem;
    }
    
    .card .highlight {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    .card {
        height: auto;
        min-height: 200px;
        padding: 2rem;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    .card p {
        font-size: 1rem;
    }
    
    .card .highlight {
        font-size: 0.9rem;
    }
    
    .logo-text {
        font-size: 2rem;
    }
} 